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

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

public interface ResCgryResGrpAddTaskCmd
extends TaskCommand

Associates an individual resource with an resource group. This command accepts a resource category Id and a resource group Id as input. With these parameters it creates an entry in the relationship table between resource group and resource by using the ResGrpResAccessBean.


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 getResCgryId()
          Gets the value of the resource id to be added to the resource group.
 int getResGrpId()
          Gets the resource group Id
 java.lang.String getResultMsg()
          Gets the message to be returned to the caller.
 void setResCgryId(int resCgryId)
          Sets the value of the resource id to be added to the resource group.
 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

getResCgryId

public int getResCgryId()
Gets the value of the resource id to be added to the resource group.
Returns:
The value of the resource id

getResGrpId

public int getResGrpId()
Gets the resource group Id
Returns:
The resource group Id

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

setResCgryId

public void setResCgryId(int resCgryId)
Sets the value of the resource id to be added to the resource group.
Parameters:
resCgryId - The value of the resource id

setResGrpId

public void setResGrpId(int resGrpId)
Sets the resource group Id
Parameters:
resGrpId - The resource group Id

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