Updates a business policy in the POLICY database table (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.PolicyUpdateCmdImpl". |
static java.lang.String |
NAME The name of this interface is "com.ibm.commerce.contract.commands.PolicyUpdateCmd". |
Method Summary | |
---|---|
void |
setBusinessPolicyName(java.lang.String name) set the name of the business policy. |
void |
setBusinessPolicyType(java.lang.String type) Sets the type of the business policy. |
void |
setCommands(java.util.Hashtable commands) Sets the commands which process the business policy. |
void |
setCommonProperty(java.lang.String commonProp) Sets the common property string which business policy commands need. |
void |
setCommonSingleProperty(java.lang.String commonProp) Sets a single common property string which business policy commands need. |
void |
setEndDate(java.lang.String endDate) Sets the end date of the business policy. |
void |
setProperties(java.util.Hashtable props) Sets the specific properties of the business policy commands need. |
void |
setSingleProperties(java.util.Hashtable props) Sets the single specific properties of the business policy commands need. |
void |
setStartDate(java.lang.String startDate) Sets the starting date of the business policy. |
void |
setStoreEntityId(java.lang.Integer storeEntId) Sets the store entity id which the business policy belongs to. |
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
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void setBusinessPolicyName(java.lang.String name)
name
- The name of the business policy.public void setBusinessPolicyType(java.lang.String type)
type
- the business policy typepublic void setCommands(java.util.Hashtable commands)
commands
- All the commands to process the business
policy.public void setCommonProperty(java.lang.String commonProp)
commonProp
- The common property which business policy
commands need to process the policy.public void setCommonSingleProperty(java.lang.String commonProp)
commonProp
- The common property which business policy
commands need to process the policy.public void setEndDate(java.lang.String endDate)
endDate
- A string object in yyyy-mm-dd hh:mm:ss.fffffffff
format.public void setProperties(java.util.Hashtable props)
props
- A hashtable contains the business properties for a
business commandpublic void setSingleProperties(java.util.Hashtable props)
props
- A hashtable contains the business properties for a
business commandpublic void setStartDate(java.lang.String startDate)
startDate
- java.lang.Stringpublic void setStoreEntityId(java.lang.Integer storeEntId)
storeEntId
- The store entity id.