public class GiftListContextUpdateCmdImpl extends TaskCommandImpl implements GiftListContextUpdateCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copy right field.
|
Constructor and Description |
---|
GiftListContextUpdateCmdImpl()
Default constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
void | performExecute()
Updates the gift center context to establish the user's relationship with the external identifiers passed.
|
void | setListExternalIds(java.util.Vector<java.lang.String> externalIds)
Sets the list of external identifiers which needs to be updated in the context.
|
void | setNouns(java.util.List nouns)
Sets the list of nouns which are returned by the get service based on the search expression.
|
void | setSearchExpression(SearchExpression expression)
Sets the search expression based on which the context is updated.
|
void | setUserRelationship(java.lang.Integer relationshipEstablished)
Sets the relationship to be established with the external identifiers in the context.
|
protected void | updateContextBySearchExpression()
Updates the context based on search expression.
|
protected void | updateContextUsingAccessKeysSearchExpression()
This method is called when the XPath key is GiftCenterFacadeConstants.XPATH_GET_GIFTLIST_BY_ACCESSKEYS.
|
protected void | updateContextUsingGiftListIdsSearchExpression()
This method is called when the XPath key is GiftCenterFacadeConstants.XPATH_GIFTLIST_EXTERNAL_IDENTIFIER or GiftCenterFacadeConstants.XPATH_GIFTLIST_UNIQUE_ID.
|
protected void | updateContextUsingUserIdSearchExpression()
This method is called when the XPath key is GiftCenterFacadeConstants.XPATH_GET_GIFTLIST_BY_PERSON_ID.
|
void | validateParameters()
Validates if the parameters required are set for the command to execute successfully.
|
public static final java.lang.String COPYRIGHT
public GiftListContextUpdateCmdImpl()
public void setListExternalIds(java.util.Vector<java.lang.String> externalIds)
public void setUserRelationship(java.lang.Integer relationshipEstablished)
public void performExecute() throws ECException
protected void updateContextBySearchExpression() throws ECException
protected void updateContextUsingGiftListIdsSearchExpression() throws ECException
protected void updateContextUsingUserIdSearchExpression() throws ECException
protected void updateContextUsingAccessKeysSearchExpression()
public void validateParameters() throws ECException
public void setSearchExpression(SearchExpression expression)
public void setNouns(java.util.List nouns)