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

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

public interface ResGrpImplicitAddTaskCmd
extends TaskCommand

Adds a new implicit Resource Group to the datasource. This task command uses the ResourceGroupBeanImplAccessBean 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.


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

getConditions

public java.lang.String getConditions()
Gets the conditions of the resource group.
Returns:
The conditions object

getDescription

public java.lang.String getDescription()
Gets the description of the resource group.
Returns:
The description of the resource group

getResGrpDisplayName

public java.lang.String getResGrpDisplayName()
Gets the display name of the resource group.
Returns:
The display name of the resource group

getResGrpName

public java.lang.String getResGrpName()
Gets the name of the resource group
Returns:
the name of the resource group

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

setConditions

public void setConditions(java.lang.String conditions)
Sets the conditions object
Parameters:
conditions - The conditions object

setDescription

public void setDescription(java.lang.String description)
Sets the description of the resource group
Parameters:
The - description of the resource group

setResGrpDisplayName

public void setResGrpDisplayName(java.lang.String resGrpDisplayName)
Sets the display name of the resource group
Parameters:
resGrpDisplayName - The display name of the resource group

setResGrpName

public void setResGrpName(java.lang.String resGrpName)
Sets the name of the resource group
Parameters:
resGrpName - The name of the resource group

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