public interface PolicyAddCmd
extends com.ibm.commerce.command.ControllerCommand
PolicyAddCmdImpl
.
The PolicyAdd
URL is mapped to this command by default.Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getPolicyId()
Gets the new policy ID.
|
void |
setBusinessPolicyName(java.lang.String name)
Sets 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 |
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 |
setStartDate(java.lang.String startDate)
Sets the starting date of the business policy.
|
void |
setStoreEntityId(java.lang.Integer storeEntId)
Sets the store entity ID to which the business policy belongs.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String NAME
java.lang.Long getPolicyId()
void setBusinessPolicyName(java.lang.String name)
name
- the name of the business policy.void setBusinessPolicyType(java.lang.String type)
type
- the business policy typevoid setCommands(java.util.Hashtable commands)
commands
- all the commands to process the business policy.void setCommonProperty(java.lang.String commonProp)
commonProp
- the common property which business policy commands need to process the policy.void setEndDate(java.lang.String endDate)
endDate
- A string object in yyyy-mm-dd hh:mm:ss.fffffffff format.void setProperties(java.util.Hashtable props)
props
- a hashtable contains the business properties for a business commandvoid setStartDate(java.lang.String startDate)
startDate
- a string object in yyyy-mm-dd hh:mm:ss.fffffffff format for the business policy's start datevoid setStoreEntityId(java.lang.Integer storeEntId)
storeEntId
- the store entity id.