public interface GiftCenterContext extends Context
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CONTEXT_NAME
The name that will identify this context in the CTXDATA table.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.Integer | COREGISTRANT_TYPE
The constant that refers to users who are co-registrants.
|
static java.lang.Integer | GIFT_GIVER
The constant that refers to users who are gift givers.
|
static java.lang.Integer | REGISTRANT_TYPE
The constant that refers to users who are registrants.
|
static java.lang.String | SER_ELEMENT_SEP
The delimiter used in Vector and HashMap string representation.
|
static java.lang.String | SER_KEY_SEP
The delimiter used in the key-value of the HashMap string representation.
|
Modifier and Type | Method and Description |
---|---|
void | addToGiftListExtIdAccessed(java.lang.String externalId, java.lang.Integer relationship)
Adds a gift list external identifier value to the list of identifiers for gift lists the user has accessed.
|
void | addToGiftListExtIdAccessedWithCoRegistrantRelationship(java.lang.String externalId)
Adds a gift list external identifier value to the list of identifiers for gift lists the user has accessed with a co-registrant relationship.
|
void | addToGiftListExtIdAccessedWithGiftGiverRelationship(java.lang.String externalId)
Adds a gift list external identifier value to the list of identifiers for gift lists the user has accessed with a gift giver relationship.
|
java.lang.String | getGiftListBeingCompleted()
Returns the unique identifier for the gift list that the user is currently completing.
|
java.util.Vector | getGiftListExtIdsAccessed()
Returns a list of external identifiers for gift lists that the user has accessed with either the gift giver relationship or the co-registrant relationship.
|
java.util.Vector | getGiftListExtIdsByCoRegistrantRelationship()
Returns a list of external identifiers for gift lists that the user has a co-registrant relationship with.
|
java.util.Vector | getGiftListExtIdsByGiftGiverRelationship()
Returns a list of external identifiers for gift lists that the user has a gift giver relationship with.
|
java.lang.Integer | getGiftListRelationship(java.lang.String externalId)
Returns the relationship a user has to a gift list that was accessed.
|
java.util.Vector | getGiftRegistiesOwnedByUser()
Returns a vector of external identifiers for gift registries the user owns, if the user is not a guest or generic user.
|
java.util.Vector | getWishListsOwnedByUser()
Returns a vector of external identifiers for wish lists the user owns, if the user is not a guest or generic user.
|
void | removeAllAccessedGiftListExtIds()
Removes all gift list external identifiers from the list of accessed gift lists for this user.
|
void | removeGiftListExtIdAccessed(java.lang.String externalId)
Removes a gift list external identifier from the list of accessed gift lists for this user.
|
void | setGiftListBeingCompleted(java.lang.String aGiftListBeingCompleted)
Sets the unique identifier for the gift list that the user is currently completing.
|
static final java.lang.String COPYRIGHT
static final java.lang.String CONTEXT_NAME
static final java.lang.String SER_ELEMENT_SEP
static final java.lang.String SER_KEY_SEP
static final java.lang.Integer REGISTRANT_TYPE
static final java.lang.Integer COREGISTRANT_TYPE
static final java.lang.Integer GIFT_GIVER
java.util.Vector getGiftListExtIdsAccessed()
java.lang.Integer getGiftListRelationship(java.lang.String externalId)
java.util.Vector getGiftListExtIdsByCoRegistrantRelationship()
java.util.Vector getGiftListExtIdsByGiftGiverRelationship()
java.lang.String getGiftListBeingCompleted()
java.util.Vector getGiftRegistiesOwnedByUser()
java.util.Vector getWishListsOwnedByUser()
void addToGiftListExtIdAccessedWithGiftGiverRelationship(java.lang.String externalId)
void addToGiftListExtIdAccessedWithCoRegistrantRelationship(java.lang.String externalId)
void addToGiftListExtIdAccessed(java.lang.String externalId, java.lang.Integer relationship)
void setGiftListBeingCompleted(java.lang.String aGiftListBeingCompleted)
void removeGiftListExtIdAccessed(java.lang.String externalId)
void removeAllAccessedGiftListExtIds()