java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalog.commands.CategoryDisplayCmdImpl
The purpose of this command is to retreive the configured Display Page for the specified Category in the specified catalog which will in turn be launched to display the Category information. Categories can be identified in three ways:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
protected
java.lang.Long |
inCategoryMemberNumber |
protected
java.lang.Long |
inCategoryNumber |
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. CategoryDisplayCmd |
defaultCommandClassName,
NAME |
Constructor Summary | |
---|---|
CategoryDisplayCmdImpl() No value constructor. |
Method Summary | |
---|---|
protected
java.lang.Long |
getCatalogId() Returns the CatalogId that represents the primary key of the Catalog |
protected
java.lang.String |
getCatalogIdentifier() Returns the external Identifier of the Catalog. |
protected
java.lang.Long |
getCatalogMemberId() Returns the MemberId that represents the primary key ofthe owner of the Catalog. |
protected
java.lang.Long |
getCategoryId() Returns the CategoryId that represents the primary key of the Category |
protected
java.lang.String |
getIdentifier() Returns the external Identifier of the Category. |
protected
java.lang.Long |
getMemberId() Returns the MemberId that represents the primary key ofthe owner of the Category. |
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 from within which the CategoryView is to be retrieved |
void |
setCatalogIdentifier(java.lang.String astrCatalogIdentifier) Sets the external Catalog Identifier that along with the CatalogMemberId uniquely identifies the the Catalog from within which the CategoryView is to be retrieved |
void |
setCatalogMemberId(java.lang.Long anCatalogMemberId) Sets the CatalogMemberId (or owner) that along with the Catalog Identifier uniquely identifies the Catalog from within which the CategoryView is to be retrieved |
void |
setCategoryId(java.lang.Long anCategoryId) Sets the CategoryId that represents the primary key of the Category whose view is to be retrieved. |
void |
setIdentifier(java.lang.String astrIdentifier) Sets the external Identifier that along with the MemberId uniquely identifies the Category whose view is to be retrieved. |
void |
setMemberId(java.lang.Long anMemberId) Sets the MemberId (or owner) that along with the Identifier uniquely identifies the Category whose view is to be retrieved. |
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
protected java.lang.Long inCategoryNumber
protected java.lang.Long inCategoryMemberNumber
Constructor Detail |
---|
public CategoryDisplayCmdImpl()
Method Detail |
---|
protected java.lang.Long getCatalogId()
protected java.lang.String getCatalogIdentifier()
protected java.lang.Long getCatalogMemberId()
protected java.lang.Long getCategoryId()
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
CategoryDisplayCmd
anCatalogId
- java.lang.Longpublic void setCatalogIdentifier(java.lang.String astrCatalogIdentifier)
setCatalogIdentifier
in interface
CategoryDisplayCmd
astrCatalogIdentifier
- java.lang.Stringpublic void setCatalogMemberId(java.lang.Long anCatalogMemberId)
setCatalogMemberId
in interface
CategoryDisplayCmd
anCatalogMemberId
- java.jang.Longpublic void setCategoryId(java.lang.Long anCategoryId)
setCategoryId
in interface
CategoryDisplayCmd
anCategoryId
- java.lang.Longpublic void setIdentifier(java.lang.String astrIdentifier)
setIdentifier
in interface
CategoryDisplayCmd
astrIdentifier
- the external identifier of the
categorypublic void setMemberId(java.lang.Long anMemberId)
setMemberId
in interface
CategoryDisplayCmd
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