public class FetchGiftListByAccessKeysCmdImpl extends AbstractFetchNounUsingBusinessObjectMediatorCmdImpl implements FetchGiftListCmd
When the command successfully retrieves the gift list, the user"s context is updated with the relationship the user shares with the gift list. If the gift list is fetched by external identifier and registry access key, the user is set to have a co-registrant relationship with the gift list. If the gift list is fetched by external identifier and guest access key, the context is set to have the gift giver relationship with the gift list.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copy right field.
|
Constructor and Description |
---|
FetchGiftListByAccessKeysCmdImpl()
The default constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
void | performExecute()
Invokes the super"s implementation to fetch the gift list by external identifier and registry access key or external identifier and guest access key.
|
protected void | updateContext()
Updates the gift center context for the user based on the access key used.
|
protected void | validateParameters()
Validates the query to ensure that both the access keys are not passed.
|
public static final java.lang.String COPYRIGHT
public FetchGiftListByAccessKeysCmdImpl()
public void performExecute() throws java.lang.Exception
protected void validateParameters() throws AbstractApplicationException
protected void updateContext() throws java.lang.Exception