com.ibm.commerce.accesscontrol.policyeditor.commands
Interface ResGrpImplicitSaveCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
- All Known Implementing Classes:
- ResGrpImplicitSaveCmdImpl
- public interface ResGrpImplicitSaveCmd
- extends ToolsControllerCommand
Saves the information for an implicit resource group.
This command accepts a series of name value pairs specifying the
attributes and values which will define an implicit resource group.
The attribute value pairs are passed in the following format.
attribute1 = "..."
value1 = "..."
attribute2 = "..."
value2 = "..."
.
.
attributeN = "..."
valueN = "..."
The command parses the input in the constructXMLConditions
method to genarate an XMLConditions
object which is then
saved in the conditions column of the resource group table.
If a resGrpId
has been not been passed in to the command
it adds a new implicit resource group in the datasource by calling the
ResGrpImplicitAddTaskCmd
task command.
If a resGrpId
has been passed in to the command it executes
an update of a pre-existing implict group by calling the
ResGrpImplicitUpdateTaskCmd
task command.
Field Summary |
static java.lang.String |
COPYRIGHT
copyright notice |
static java.lang.String |
defaultCommandClassName
name of the default implementation of this command |
static java.lang.String |
NAME
name of this command |
Method Summary |
java.lang.String |
getViewTask()
Gets the view task name to be returned to the caller |
void |
setViewTask(java.lang.String newViewTask)
Sets the view task name to be returned to the caller. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- copyright notice
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- name of the default implementation of this command
NAME
public static final java.lang.String NAME
- name of this command
getViewTask
public java.lang.String getViewTask()
- Gets the view task name to be returned to the caller
- Returns:
- The view task name to be returned to the caller.
setViewTask
public void setViewTask(java.lang.String newViewTask)
- Sets the view task name to be returned to the caller.
- Parameters:
viewTask
- The view task name to be returned to the caller.