com.ibm.commerce.accesscontrol.policyeditor.commands
Interface ResGrpDeleteTaskCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
ResGrpDeleteTaskCmdImpl

public interface ResGrpDeleteTaskCmd
extends TaskCommand

Deletes an individual resource group from the datasource. This command accepts the id of the resource group to be deleted and then instantiates the ResourceGroupBeanImplAccessBean using this id. The resource group is then deleted from the datasource using this access bean.


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
 int getResGrpId()
          Gets the resource group id.
 java.lang.String getResultMsg()
          Gets the message to be returned to the caller.
 void setResGrpId(int resGrpId)
          Sets the resource group id.
 void setResultMsg(java.lang.String resultMsg)
          Sets the message to be returned to the caller.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

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
Method Detail

getResGrpId

public int getResGrpId()
Gets the resource group id.
Returns:
The resource group id of the resource group to be deleted

getResultMsg

public java.lang.String getResultMsg()
Gets the message to be returned to the caller.
Returns:
Message that is returned to the caller upon completion of the command

setResGrpId

public void setResGrpId(int resGrpId)
Sets the resource group id.
Parameters:
resGrpId - The resource group id of the resource group to be deleted

setResultMsg

public void setResultMsg(java.lang.String resultMsg)
Sets the message to be returned to the caller.
Parameters:
resultMsg - Message that is returned to the caller upon completion of the command