com.ibm.commerce.negotiation.commands
Class UpdateGalleryCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.negotiation.commands.UpdateGalleryCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, UpdateGalleryCmd
- public class UpdateGalleryCmdImpl
- extends ControllerCommandImpl
- implements UpdateGalleryCmd
Updates a member's gallery and/or records that the member has viewed the rules. This command uses the following AccessBeans:
- See Also:
- Serialized Form
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.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
UpdateGalleryCmdImpl
public UpdateGalleryCmdImpl()
- Constructor.
getAuctionId
protected java.lang.Long getAuctionId()
- Gets the auction ID.
-
- Returns:
- The auction ID.
getUrl
protected java.lang.String getUrl()
- Gets the redirect URL.
-
- Returns:
- The redirect URL.
isGalleryEntry
protected boolean isGalleryEntry()
- Is this a gallery entry?
-
- Returns:
- true if this is a gallery entry; false otherwise.
isReadyToCallExecute
public boolean isReadyToCallExecute()
- Determines whether the command is ready to execute.
-
- Overrides:
- isReadyToCallExecute in class AbstractECTargetableCommand
-
- Returns:
- true if the command is ready; false otherwise.
isViewedRuleEntry
protected boolean isViewedRuleEntry()
- Is this a viewed rule entry?
-
- Returns:
- true if a viewed rule entry is to be created; false otherwise.
performExecute
public void performExecute()
throws ECException
- Updates MEMBRAUCT table, sets next display task.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException
setAuctionId
public void setAuctionId(java.lang.Long newAuctionId)
- Sets the auction ID.
-
- Parameters:
- newAuctionId - The auction ID.
setGalleryEntry
protected void setGalleryEntry(boolean newGalleryEntry)
- Sets whether a gallery entry should be created.
-
- Parameters:
- newGalleryEntry - Boolean flag.
setRequestProperties
public void setRequestProperties(TypedProperty param)
throws ECApplicationException
- Copies key-value input data into member fields.
-
- Specified by:
- setRequestProperties in interface ControllerCommand
- Overrides:
- setRequestProperties in class ControllerCommandImpl
-
- Parameters:
- param - com.ibm.commerce.datatype.TypedProperty
- Throws:
- ECApplicationException
setUrl
protected void setUrl(java.lang.String newUrl)
- Sets the URL.
-
- Parameters:
- newUrl - The URL.
setViewedRuleEntry
protected void setViewedRuleEntry(boolean newViewedRuleEntry)
- Sets whether a viewed rule entry is to be created.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.