|
||||||||
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.tools.command.ToolsControllerCommandImpl | +--com.ibm.commerce.accesscontrol.policyeditor.commands.ActGrpUpdateCmdImpl
Updates the action group data. Following is the list of parameters the command accepts from the User Interface:
viewtaskname
- View that is executed upon completion of the command
actionId
- Comma delimited string of action ids
actGrpId
- Id of the action group to be modified
actGrpName
- Modified name of the new action group
actGrpDisplayName
- Display name of the new action group
actGrpDesc
- Modified description of the new action group
This command modifies an existing entry in the action group table.
The following steps are executed by the command sequentially:
ActActGrpAccessBean
access bean.
ActionActGrpAddTaskCmd
task command.
Field Summary | |
protected java.lang.String |
actionIds
Incoming values of action Ids to be deleted |
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.accesscontrol.policyeditor.commands.ActGrpUpdateCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECTargetableCommand |
COPYRIGHT |
Constructor Summary | |
ActGrpUpdateCmdImpl()
|
Method Summary | |
java.lang.String |
getActGrpDisplayName()
Gets the display name of the action group. |
java.lang.Integer |
getActGrpId()
Gets the action group Id |
java.lang.String |
getActGrpName()
Gets the name of the action group. |
java.lang.String |
getActionIds()
Gets the list of action ids to be added to the action group. |
java.lang.String |
getDescription()
Gets the description of the action group. |
AccessVector |
getResources()
Returns the resources accessed by this command It will return null if no resources are being accessed by this command. |
TypedProperty |
getViewInputProperties()
This method is called by the web controller to retrieve the request properties set by the setRequestProperties() method. |
java.lang.String |
getViewTask()
Gets the view task name to be returned to the caller |
void |
performExecute()
Updates the specified action group in the datasource. |
void |
setActGrpDisplayName(java.lang.String actGrpDisplayName)
Sets the display name of the action group. |
void |
setActGrpId(java.lang.Integer actGrpId)
Sets the action group Id. |
void |
setActGrpName(java.lang.String actGrpName)
Sets the name of the action group. |
void |
setActionIds(java.lang.String actionIds)
Sets the list of action ids to be added to the action group. |
void |
setDescription(java.lang.String description)
Sets the description of the action group. |
void |
setRequestProperties(TypedProperty reqParms)
Sets the various properties of the command with the parameters received |
void |
setViewTask(java.lang.String viewTask)
Sets the view task name to be returned to the caller. |
void |
validateParameters()
Check whether all the parameters are set properly. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, 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, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, 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, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
protected java.lang.String actionIds
Constructor Detail |
public ActGrpUpdateCmdImpl()
Method Detail |
public java.lang.String getActGrpDisplayName()
getActGrpDisplayName
in interface ActGrpUpdateCmd
public java.lang.Integer getActGrpId()
getActGrpId
in interface ActGrpUpdateCmd
public java.lang.String getActGrpName()
getActGrpName
in interface ActGrpUpdateCmd
public java.lang.String getActionIds()
getActionIds
in interface ActGrpUpdateCmd
public java.lang.String getDescription()
getDescription
in interface ActGrpUpdateCmd
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
public TypedProperty getViewInputProperties()
getViewInputProperties()
method in the ToolsControllerCommandImpl
command. This takes care of removing the parameters specific to the tools framework.getViewInputProperties
in interface ControllerCommand
getViewInputProperties
in class ToolsControllerCommandImpl
public java.lang.String getViewTask()
getViewTask
in interface ActGrpUpdateCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECTargetableCommand
ECException
- If an error is encountered while
updating the datasourcepublic void setActGrpDisplayName(java.lang.String actGrpDisplayName)
setActGrpDisplayName
in interface ActGrpUpdateCmd
actGrpDisplayName
- The display name of the action grouppublic void setActGrpId(java.lang.Integer actGrpId)
setActGrpId
in interface ActGrpUpdateCmd
actGrpId
- The action group Id.public void setActGrpName(java.lang.String actGrpName)
setActGrpName
in interface ActGrpUpdateCmd
actGrpName
- The name of the action grouppublic void setActionIds(java.lang.String actionIds)
setActionIds
in interface ActGrpUpdateCmd
actionIds
- The comma delimied string of all the actions to
to be associated with this action grouppublic void setDescription(java.lang.String description)
setDescription
in interface ActGrpUpdateCmd
description
- The description of the action grouppublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ToolsControllerCommandImpl
reqParms
- TypedProperty containing the input parameters.ECApplicationException
- If a required parameter is missingpublic void setViewTask(java.lang.String viewTask)
setViewTask
in interface ActGrpUpdateCmd
viewTask
- The view task name to be returned to the caller.public void validateParameters() throws ECException
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 |