java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.negotiation.commands.UpdateGalleryCmdImpl
Updates a member's gallery and/or records that the member has viewed the rules. This command uses the following AccessBeans:
MemberAuctionRelationAccessBean
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands. UpdateGalleryCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Constructor Summary | |
---|---|
UpdateGalleryCmdImpl() Constructor. |
Method Summary | |
---|---|
protected
java.lang.Long |
getAuctionId() Gets the auction ID. |
protected
java.lang.String |
getUrl() Gets the redirect URL. |
protected
boolean |
isGalleryEntry() Is this a gallery entry? |
boolean |
isReadyToCallExecute() Determines whether the command is ready to execute. |
protected
boolean |
isViewedRuleEntry() Is this a viewed rule entry? |
void |
performExecute() Updates MEMBRAUCT table, sets next display task. |
void |
setAuctionId(java.lang.Long newAuctionId) Sets the auction ID. |
protected
void |
setGalleryEntry(boolean newGalleryEntry) Sets whether a gallery entry should be created. |
void |
setRequestProperties(
TypedProperty param) Copies key-value input data into member fields. |
protected
void |
setUrl(java.lang.String newUrl) Sets the URL. |
protected
void |
setViewedRuleEntry(boolean newViewedRuleEntry) Sets whether a viewed rule entry is to be created. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Constructor Detail |
---|
public UpdateGalleryCmdImpl()
Method Detail |
---|
protected java.lang.Long getAuctionId()
protected java.lang.String getUrl()
protected boolean isGalleryEntry()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class
AbstractECTargetableCommand
protected boolean isViewedRuleEntry()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void setAuctionId(java.lang.Long newAuctionId)
newAuctionId
- The auction ID.protected void setGalleryEntry(boolean newGalleryEntry)
newGalleryEntry
- Boolean flag.public void setRequestProperties(TypedProperty param) throws ECApplicationException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
param
- com.ibm.commerce.datatype.TypedProperty
ECApplicationException
protected void setUrl(java.lang.String newUrl)
newUrl
- The URL.protected void setViewedRuleEntry(boolean newViewedRuleEntry)