AccCommand defines the interface that is required by a command that implements command level access control.
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Method Summary | |
boolean | accessControlCheck() Performs command level access control check for this command. |
boolean | getAccCheck() Gets the access control check flag. |
java.lang.Long | getForUserId() Returns the forUserId for a shopper command. |
java.lang.Long[] | getResourceOwners() Deprecated. Replaced by ECCommand.getResources() |
void | setAccCheck(boolean newValue) Sets the access control check flag for this command. |
void | setForUserId(java.lang.Long value) Sets the forUserId value for this command. |
void | setOwner(java.lang.Long owner) Sets the owner for this command. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
Method Detail |
public boolean accessControlCheck() throws ECException
public boolean getAccCheck()
public java.lang.Long getForUserId()
public java.lang.Long[] getResourceOwners() throws ECException
public void setAccCheck(boolean newValue)
public void setForUserId(java.lang.Long value)
public void setOwner(java.lang.Long owner)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.