public class TopCategoriesDisplayCmdImpl extends ControllerCommandImpl implements TopCategoriesDisplayCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
TopCategoriesDisplayCmdImpl()
No value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isGeneric()
This method determines whether this is a generic command.
|
boolean |
isReadyToCallExecute()
This method is called by the targetable command framework.
|
void |
performExecute()
This method performs the business logic for this command.
|
boolean |
performSecurityCheck()
Indicates that a user has authority to access this command.
|
void |
reset()
This method is called after a command has been executed.
|
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)
This method sets the
requestProperties for the command. |
void |
validateParameters()
This method performs server side parameter checking.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public TopCategoriesDisplayCmdImpl()
public boolean isGeneric()
ControllerCommandImplisGeneric in interface ControllerCommandisGeneric in class ControllerCommandImpltrue if this command can be called by a generic user and
false otherwise.public boolean isReadyToCallExecute()
AbstractECTargetableCommandtrue.isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandboolean value; true if we can execute the
command and false otherwise. This default implementation will return true.public void performExecute()
throws ECException
AbstractECTargetableCommandperformExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic boolean performSecurityCheck()
public void reset()
AbstractECTargetableCommandreset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setCatalogId(java.lang.Long anCatalogId)
setCatalogId in interface TopCategoriesDisplayCmdanCatalogId - java.lang.Long The catalog ID.public void setIdentifier(java.lang.String astrIdentifier)
setIdentifier in interface TopCategoriesDisplayCmdastrIdentifier - java.lang.Stringpublic void setMemberId(java.lang.Long anMemberId)
setMemberId in interface TopCategoriesDisplayCmdanMemberId - java.jang.Long The member ID of the owner.public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
ControllerCommandImplrequestProperties for the command. The WebController calls the setRequestProperties
method before invoking the execute method for this command.
It is the responsibility of the command writer to extract the
required input parameters from the requestProperties object.setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqParms - This is an object that represents the request properties.ECApplicationExceptionpublic void validateParameters()
throws ECException
AbstractECTargetableCommandcheckParameters() method from version 5.1.
The default implementation of validateParameters() is a no op.
It is the responsibility of the command writers to implement this method if they want to perform
server side parameter checking.validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException