|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.accesscontrol.policyeditor.commands.ResGrpImplicitUpdateTaskCmdImpl
Updates an implicit resource group.
This task command uses the ResourceGroupAccessBean
access bean to set the modified name of the resource group as well as the
modified conditions object. It then updates the description of the
implicit resource group using the ResGrpDescAccessBean
access
bean.
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.accesscontrol.policyeditor.commands.ResGrpImplicitUpdateTaskCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Constructor Summary | |
ResGrpImplicitUpdateTaskCmdImpl()
|
Method Summary | |
java.lang.String |
getConditions()
Gets the conditions of the resource group. |
java.lang.String |
getDescription()
Gets the description of the resource group. |
boolean |
getIsUpdatable()
Gets the value of isUpdatable. |
java.lang.String |
getResGrpDisplayName()
Gets the display name of the resource group. |
java.lang.Integer |
getResGrpId()
Gets the resource group Id |
java.lang.String |
getResGrpName()
Gets the name of the resource group |
java.lang.String |
getResultMsg()
Gets the message to be returned to the caller. |
void |
performExecute()
Updates the resource group in the datasource. |
void |
setConditions(java.lang.String conditions)
Sets the conditions object |
void |
setDescription(java.lang.String description)
Sets the description of the resource group |
void |
setIsUpdatable(boolean isUpdatable)
Sets the value of isUpdatable. |
void |
setResGrpDisplayName(java.lang.String resGrpDisplayName)
Sets the display name of the resource group |
void |
setResGrpId(java.lang.Integer resGrpId)
Sets the resource group Id |
void |
setResGrpName(java.lang.String resGrpName)
Sets the name of the resource group |
void |
setResultMsg(java.lang.String resultMsg)
Sets the message to be returned to the caller. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Constructor Detail |
public ResGrpImplicitUpdateTaskCmdImpl()
Method Detail |
public java.lang.String getConditions()
getConditions
in interface ResGrpImplicitUpdateTaskCmd
public java.lang.String getDescription()
getDescription
in interface ResGrpImplicitUpdateTaskCmd
public boolean getIsUpdatable()
getIsUpdatable
in interface ResGrpImplicitUpdateTaskCmd
public java.lang.String getResGrpDisplayName()
getResGrpDisplayName
in interface ResGrpImplicitUpdateTaskCmd
public java.lang.Integer getResGrpId()
getResGrpId
in interface ResGrpImplicitUpdateTaskCmd
public java.lang.String getResGrpName()
getResGrpName
in interface ResGrpImplicitUpdateTaskCmd
public java.lang.String getResultMsg()
getResultMsg
in interface ResGrpImplicitUpdateTaskCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECCommand
ECException
- If an error is encountered while
updating the datasourcepublic void setConditions(java.lang.String conditions)
setConditions
in interface ResGrpImplicitUpdateTaskCmd
conditions
- The conditions objectpublic void setDescription(java.lang.String description)
setDescription
in interface ResGrpImplicitUpdateTaskCmd
The
- description of the resource grouppublic void setIsUpdatable(boolean isUpdatable)
setIsUpdatable
in interface ResGrpImplicitUpdateTaskCmd
isUpdatable
- public void setResGrpDisplayName(java.lang.String resGrpDisplayName)
setResGrpDisplayName
in interface ResGrpImplicitUpdateTaskCmd
resGrpDisplayName
- The display name of the resource grouppublic void setResGrpId(java.lang.Integer resGrpId)
setResGrpId
in interface ResGrpImplicitUpdateTaskCmd
The
- resource group Idpublic void setResGrpName(java.lang.String resGrpName)
setResGrpName
in interface ResGrpImplicitUpdateTaskCmd
resGrpName
- The name of the resource grouppublic void setResultMsg(java.lang.String resultMsg)
setResultMsg
in interface ResGrpImplicitUpdateTaskCmd
resultMsg
- Message that is returned to the caller
upon completion of the command
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |