|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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()
Check to see if this is a generic command. |
boolean |
isReadyToCallExecute()
isReadyToCallExecute 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)
The WebController calls this method before invoking the execute method in this command to set the request properties for this command. |
void |
validateParameters()
Performs server side parameter checking. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
protected java.lang.Long inCategoryMemberNumber
protected java.lang.Long inCategoryNumber
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
com.ibm.commerce.command.ControllerCommand
public boolean isReadyToCallExecute()
AbstractECTargetableCommand
isReadyToCallExecute
in class AbstractECTargetableCommand
com.ibm.commerce.command.AbstractECTargetableCommand
public void performExecute() throws ECException
ECCommand
performExecute
in interface ECCommand
performExecute
in class AbstractECTargetableCommand
com.ibm.commerce.command.ECCommand
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.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
astrId
- java.lang.Stringpublic 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
com.ibm.commerce.command.ControllerCommand
requestProperties
- com.ibm.commerce.datatype.TypedPropertycom.ibm.commerce.exception.ECException.
- public void validateParameters() throws ECException
ECCommand
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
com.ibm.commerce.command.ECCommand
ECException.
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |