java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalog.commands.TopCategoriesDisplayCmdImpl
This command first ensures that the specified Catalog can be displayed in the current store and then sets the TopCategoriesDisplayView task.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
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.catalog.commands. TopCategoriesDisplayCmd |
defaultCommandClassName,
NAME |
Constructor Summary | |
---|---|
TopCategoriesDisplayCmdImpl() No value constructor. |
Method Summary | |
---|---|
protected
java.lang.Long |
getCatalogId() Returns the CatalogId that represents the primary key of the Catalog whose root Categories are to be viewed. |
protected
java.lang.String |
getIdentifier() Returns the external Identifier that along with the MemberId uniquely identifies the Catalog whose root Categories are to be viewed. |
protected
java.lang.Long |
getMemberId() Returns the MemberId (or owner) that along with the Identifier uniquely identifies the Catalog whose root Categories are to be viewed. |
boolean |
isGeneric() Checks if this is a generic command. |
boolean |
isReadyToCallExecute() This method is called by the Targettable Command frame work before the execution of the command. |
void |
performExecute() Contains the actual business logic of the command It should be implemented by all the command writer. |
boolean |
performSecurityCheck() Indicates that a user has authority to access this command. |
void |
reset() This method should be called after a command has been executed to reset its states variables. |
void |
setCatalogId(java.lang.Long anCatalogId) Sets the CatalogId that represents the primary key of the Catalog whose root Categories are to be viewed. |
void |
setIdentifier(java.lang.String astrIdentifier) Sets the external Identifier that along with the MemberId uniquely identifies the Catalog whose root Categories are to be viewed. |
void |
setMemberId(java.lang.Long anMemberId) Sets the MemberId (or owner) that along with the Identifier uniquely identifies the Catalog whose root Categories are to be viewed. |
void |
setRequestProperties(
TypedProperty reqParms) Sets the request properties. |
void |
validateParameters() Performs server side parameter checking. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
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,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
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,
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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public TopCategoriesDisplayCmdImpl()
Method Detail |
---|
protected java.lang.Long getCatalogId()
protected java.lang.String getIdentifier()
protected java.lang.Long getMemberId()
public boolean isGeneric()
ControllerCommand
isGeneric
in interface
ControllerCommand
isGeneric
in class
ControllerCommandImpl
public boolean isReadyToCallExecute()
AbstractECTargetableCommand
isReadyToCallExecute
in class
AbstractECTargetableCommand
public void performExecute() throws ECException
ECCommand
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public boolean performSecurityCheck()
public void reset()
AbstractECTargetableCommand
reset
in class
AbstractECTargetableCommand
public void setCatalogId(java.lang.Long anCatalogId)
setCatalogId
in interface
TopCategoriesDisplayCmd
anCatalogId
- java.lang.Longpublic void setIdentifier(java.lang.String astrIdentifier)
setIdentifier
in interface
TopCategoriesDisplayCmd
astrIdentifier
- java.lang.Stringpublic void setMemberId(java.lang.Long anMemberId)
setMemberId
in interface
TopCategoriesDisplayCmd
anMemberId
- java.jang.Longpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
ControllerCommand
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
reqParms
- request properties
ECApplicationException
public void validateParameters() throws ECException
ECCommand
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException