|
||||||||
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.ResGrpImplicitAddTaskCmdImpl
Adds a new implicit Resource Group to the datasource.
This task command uses the ResourceGroupAccessBean
access bean to create a new resource group in the datasource. It then sets the
conditions object for the new resource group .
Next, if a description has been provided, the command enters the description
of the newly created 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.ResGrpImplicitAddTaskCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Constructor Summary | |
ResGrpImplicitAddTaskCmdImpl()
|
Method Summary | |
java.lang.String |
getConditions()
Gets the conditions of the resource group. |
java.lang.String |
getDescription()
Gets the description of the resource group. |
java.lang.String |
getResGrpDisplayName()
Gets the display name of the resource group. |
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()
Adds the resource group to 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 |
setResGrpDisplayName(java.lang.String resGrpDisplayName)
Sets the display name of the resource group |
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 ResGrpImplicitAddTaskCmdImpl()
Method Detail |
public java.lang.String getConditions()
getConditions
in interface ResGrpImplicitAddTaskCmd
public java.lang.String getDescription()
getDescription
in interface ResGrpImplicitAddTaskCmd
public java.lang.String getResGrpDisplayName()
getResGrpDisplayName
in interface ResGrpImplicitAddTaskCmd
public java.lang.String getResGrpName()
getResGrpName
in interface ResGrpImplicitAddTaskCmd
public java.lang.String getResultMsg()
getResultMsg
in interface ResGrpImplicitAddTaskCmd
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 ResGrpImplicitAddTaskCmd
conditions
- The conditions objectpublic void setDescription(java.lang.String description)
setDescription
in interface ResGrpImplicitAddTaskCmd
The
- description of the resource grouppublic void setResGrpDisplayName(java.lang.String resGrpDisplayName)
setResGrpDisplayName
in interface ResGrpImplicitAddTaskCmd
resGrpDisplayName
- The display name of the resource grouppublic void setResGrpName(java.lang.String resGrpName)
setResGrpName
in interface ResGrpImplicitAddTaskCmd
resGrpName
- The name of the resource grouppublic void setResultMsg(java.lang.String resultMsg)
setResultMsg
in interface ResGrpImplicitAddTaskCmd
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 |