com.ibm.commerce.contract.commands
Interface PolicyDescriptionUpdateCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
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
          The internal copyright field.
static java.lang.String defaultCommandClassName
          The default implementation class is "com.ibm.commerce.contract.commands.PolicyDescriptionUpdateCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.contract.commands.PolicyDescriptionUpdateCmd".
 
Method Summary
 void setLanguageId(java.lang.Integer langId)
          Set id of language
 void setPolicyDescription(java.lang.String desc)
          Set business policy's description
 void setPolicyId(java.lang.Long policyId)
          Set id of business policy which the descrption will be added to
 void setPolicyLongDescription(java.lang.String longDesc)
          Set business policy's long description
 
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

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.contract.commands.PolicyDescriptionUpdateCmdImpl".

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.contract.commands.PolicyDescriptionUpdateCmd".
Method Detail

setLanguageId

public void setLanguageId(java.lang.Integer langId)
Set id of language
Parameters:
langId - java.lang.Integer

setPolicyDescription

public void setPolicyDescription(java.lang.String desc)
Set business policy's description
Parameters:
desc - java.lang.String

setPolicyId

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

setPolicyLongDescription

public void setPolicyLongDescription(java.lang.String longDesc)
Set business policy's long description
Parameters:
longDesc - java.lang.String