public interface AccCommand extends ECCommand, Protectable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName| Modifier and Type | Method and Description |
|---|---|
boolean |
accessControlCheck()
This method performs command level access control checking for this command.
|
boolean |
getAccCheck()
This method gets the access control check flag.
|
java.lang.Long |
getForUserId()
This method gets the
forUserId field of a shopper command. |
java.lang.Long[] |
getResourceOwners()
Deprecated.
This method has been replaced by
ECCommand.getResources(). |
void |
setAccCheck(boolean newValue)
This method sets the access control check flag for this command.
|
void |
setForUserId(java.lang.Long value)
This method sets the value of the
forUserId field for this command. |
void |
setOwner(java.lang.Long owner)
This method sets the owner for this command.
|
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersfulfills, getOwnerstatic final java.lang.String COPYRIGHT
boolean accessControlCheck()
throws ECException
true if the user has authority and false otherwise.ECExceptionboolean getAccCheck()
getAccCheck in interface ECCommandtrue if access checking is required and false otherwise.java.lang.Long getForUserId()
forUserId field of a shopper command.
This method is for internal use by the command framework only.forUserId.java.lang.Long[] getResourceOwners()
throws ECException
ECCommand.getResources().Long objects representing all the organizational
unit reference numbers. A site owner is represented by an organizational unit value of -1ECExceptionvoid setAccCheck(boolean newValue)
JSP page associated with a command. This is because access control has already
been performed on the controller command.setAccCheck in interface ECCommandnewValue - This is a boolean value; true if access checking is required
and false otherwise.void setForUserId(java.lang.Long value)
forUserId field for this command.
This method is for internal use by the command framework.value - This is the value of the forUserId field.void setOwner(java.lang.Long owner)
owner - This is the owner ID.