public class PolicyAddCmdImpl extends ControllerCommandImpl implements PolicyAddCmd
Name | Description |
---|---|
BusinessPolicyName | The name of the business policy. Mandatory. |
BusinessPolicyType | The type of the business policy. Mandatory. |
commands | A Hashtable object contains all the commands process the business policy. The keys of this Hashtable are Integer objects which start with 0 to number of the commands. The values of the Hashtable are String objects which represent the commands. Optional. |
CommonProperty | The common property string which business policy commands need. Mandatory. |
StartDate | The start date of the business policy. Mandatory. |
EndDate | The end date of the business policy. Mandatory. |
StoreEntityId | The store entity Id to which the business policy belongs. Mandatory. |
Properties | The specific properties of the business policy commands need. Optional. |
RequestProperties | The request properties.Possible values include: type,name,plcyStoreId,cmd,props,commonProps,startDate,endDate. Optional. |
Name | Description |
---|---|
EndDate | The end date of the business policy. |
PolicyId | The new policy ID. |
StartDate | The start date of the business policy. |
Resources | The access vector accessed by this command. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
PolicyAddCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.sql.Timestamp | getEndDate()
Gets the end date of the business policy.
|
java.lang.Long | getPolicyId()
Gets the new policy ID.
|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
java.sql.Timestamp | getStartDate()
Gets the start date of the business policy.
|
void | performExecute()
Executes the business logic of this command implementation.
|
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.Long anEndDate)
Sets the end date of the business policy.
|
void | setEndDate(java.lang.String endDate)
Sets the end date of the business policy.
|
void | setEndDate(java.sql.Timestamp newEndDate)
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 | setRequestProperties(TypedProperty aRequestProperties)
Retrieves input parameters from the request properties.
|
void | setStartDate(java.lang.Long anStartDate)
Sets the start date of the business policy.
|
void | setStartDate(java.lang.String startDate)
Sets the starting date of the business policy.
|
void | setStartDate(java.sql.Timestamp startDate)
Sets the start date of the business policy.
|
void | setStoreEntityId(java.lang.Integer storeEntId)
Sets the store entity Id to which the business policy belongs.
|
void | validateParameters()
Checks the input parameters.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.sql.Timestamp getEndDate()
public AccessVector getResources() throws ECException
public java.sql.Timestamp getStartDate()
public void performExecute() throws ECException
public java.lang.Long getPolicyId()
public void setBusinessPolicyName(java.lang.String name)
public void setBusinessPolicyType(java.lang.String type)
public void setCommands(java.util.Hashtable commands)
public void setCommonProperty(java.lang.String commonProp)
public void setEndDate(java.lang.Long anEndDate)
public void setEndDate(java.lang.String endDate)
public void setEndDate(java.sql.Timestamp newEndDate)
public void setProperties(java.util.Hashtable props)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void setStartDate(java.lang.Long anStartDate)
public void setStartDate(java.lang.String startDate)
public void setStartDate(java.sql.Timestamp startDate)
public void setStoreEntityId(java.lang.Integer storeEntId)
public void validateParameters() throws ECException