com.ibm.commerce.contract.commands
Interface PolicyDescriptionUpdateCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
All Known Implementing Classes:
PolicyDescriptionUpdateCmdImpl

public interface PolicyDescriptionUpdateCmd
extends ControllerCommand

Add or update the description of the specified business policy (WebSphere Commerce Business Edition only).


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The name of the default implementation class.
static java.lang.String NAME
          The name of this interface.
 
Method Summary
 void setLanguageId(java.lang.Integer langId)
          Sets ID of language of the description.
 void setPolicyDescription(java.lang.String desc)
          Sets the short description of the business policy.
 void setPolicyId(java.lang.Long policyId)
          Sets ID of business policy which the descrption will be added to.
 void setPolicyLongDescription(java.lang.String longDesc)
          Sets the long description of business policy.
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, 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, getResourceOwners, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The name of the default implementation class.
See Also:
Constant Field Values
Method Detail

setLanguageId

public void setLanguageId(java.lang.Integer langId)
Sets ID of language of the description.
Parameters:
langId - the language ID of the description

setPolicyDescription

public void setPolicyDescription(java.lang.String desc)
Sets the short description of the business policy.
Parameters:
desc - the short description of the business policy

setPolicyId

public void setPolicyId(java.lang.Long policyId)
Sets ID of business policy which the descrption will be added to.
Parameters:
policyId - the business policy ID

setPolicyLongDescription

public void setPolicyLongDescription(java.lang.String longDesc)
Sets the long description of business policy.
Parameters:
longDesc - the long description of business policy