|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Modifies a pre-existing policy in 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
policyId
- Id of the policy to be modified
policyName
- Name of the new policy
policyDisplayName
- Display name of the new policy
userGroupId
- The user group id tuple of the policy
resourceGroup
- The reource group id tuple of the policy
actionGroup
- The action group id tuple of the policy
ownerId
- The owner id tuple of the policy
policyDescription
- Description of the new policy
relation
- The relation id tuple of the new policy
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.Integer |
getActionGroupId()
Gets the action group id tuple of the policy |
java.lang.Long |
getOwnerId()
Gets the owner id of the policy |
java.lang.String |
getPolicyDesc()
Gets the description of the policy |
java.lang.String |
getPolicyDisplayName()
Gets the display name of the policy |
java.lang.Integer |
getPolicyId()
Gets the policyId of the policy |
java.lang.String |
getPolicyName()
Gets the name of the policy |
java.lang.Integer |
getRelationId()
Gets the relation id tuple of the policy |
java.lang.Integer |
getResourceGroupId()
Gets the resource group id tuple of the policy |
java.lang.Long |
getUserGroupId()
Gets the user group id tuple of the policy |
java.lang.String |
getViewTask()
Gets the view task name to be returned to the caller. |
void |
setActionGroupId(java.lang.Integer actionGroupId)
Sets the action group id tuple of the policy |
void |
setOwnerId(java.lang.Long ownerId)
Sets the owner id of the policy |
void |
setPolicyDesc(java.lang.String policyDesc)
Sets the description of the policy |
void |
setPolicyDisplayName(java.lang.String policyDisplayName)
Sets the display name of the policy |
void |
setPolicyId(java.lang.Integer policyId)
Sets the policyId of the policy |
void |
setPolicyName(java.lang.String policyName)
Sets the name of the policy |
void |
setRelationId(java.lang.Integer relationId)
Sets the relation id tuple of the policy |
void |
setResourceGroupId(java.lang.Integer resourceGroupId)
Sets the resource group id tuple of the policy |
void |
setUserGroupId(java.lang.Long userGroupId)
Sets the user group id tuple of the policy |
void |
setViewTask(java.lang.String newViewTask)
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.Integer getActionGroupId()
public java.lang.Long getOwnerId()
public java.lang.String getPolicyDesc()
public java.lang.String getPolicyDisplayName()
public java.lang.Integer getPolicyId()
public java.lang.String getPolicyName()
public java.lang.Integer getRelationId()
public java.lang.Integer getResourceGroupId()
public java.lang.Long getUserGroupId()
public java.lang.String getViewTask()
public void setActionGroupId(java.lang.Integer actionGroupId)
actionGroupId
- The action group id tuple of the policypublic void setOwnerId(java.lang.Long ownerId)
ownerId
- The owner id of the policypublic void setPolicyDesc(java.lang.String policyDesc)
policyDesc
- The description of the policypublic void setPolicyDisplayName(java.lang.String policyDisplayName)
policyDisplayName
- The display name of the policypublic void setPolicyId(java.lang.Integer policyId)
policyId
- The policyId of the policypublic void setPolicyName(java.lang.String policyName)
policyName
- The name of the policypublic void setRelationId(java.lang.Integer relationId)
relationId
- The relation id tuple of the policypublic void setResourceGroupId(java.lang.Integer resourceGroupId)
resourceGroupId
- The resource group id tuple of the policypublic void setUserGroupId(java.lang.Long userGroupId)
userGroupId
- The user group id tuple of the policypublic void setViewTask(java.lang.String newViewTask)
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 |