|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Adds a new resource Group to the datasource. Following is the list of parameters the command accepts from the User Interface:
viewtaskname
- View that is executed upon completion of the command
resCgryId
- Comma delimited string of resource ids
resGrpName
- Name of the new resource group
resGrpDisplayName
- Display name of the new resource group
resGrpDesc
- Description of the new resource group
conditions
- The conditions object for the resource group
resGroupId
for this
new entry it also enters a description for the resource group
in the resource group description table if a description is specified
in the user interface.
The command then parses the comma delimited String
containing the resCgryIds
of all the resources to be
associated with this resource group and iteratively calls the
ResCgryResGrpAddTaskCmd
task command to populate the
relationship table associating an resource group with its constituent resources.
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 |
getDescription()
Gets the description of the resource group. |
java.lang.String |
getResCgryIds()
Gets the list of resCgry ids to be added to 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 |
getViewTask()
Gets the view task name. |
void |
setDescription(java.lang.String description)
Sets the description of the resource group |
void |
setResCgryIds(java.lang.String resCgryIds)
Sets the list of resCgry ids to be added to 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 |
setViewTask(java.lang.String viewTask)
Sets the view task name to be returned to the caller. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public java.lang.String getDescription()
public java.lang.String getResCgryIds()
resCgryIds
public java.lang.String getResGrpDisplayName()
public java.lang.String getResGrpName()
public java.lang.String getViewTask()
public void setDescription(java.lang.String description)
description
- The description of the resource grouppublic void setResCgryIds(java.lang.String resCgryIds)
resCgryIds
- The comma delimited String of resCgryIds
public void setResGrpDisplayName(java.lang.String resGrpDisplayName)
resGrpDisplayName
- The display name of the resource grouppublic void setResGrpName(java.lang.String resGrpName)
resGrpName
- The name of the resource grouppublic void setViewTask(java.lang.String viewTask)
viewTask
- View that is executed upon completion of the command
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |