public class TicklerCreateCmdImpl extends ControllerCommandImpl implements TicklerCreateCmd
TicklerCreateCmdImpl creates a tickler based on an action object (such as a quote or an order).
Mandatory parameters: ticklerReasonId, URL, storeId
Optional parameters: inActionObjectId, actionObjectType, strRemindOnDate, comment, inAssignToMemberId
Behavior:
CreateTickler task command to create the tickler.
Exceptional conditions:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this class.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
static java.lang.String |
GMT_DATETIME_PATTERN
GMT date-time format pattern
|
static java.lang.String |
ISO_DATETIME_PATTERN
ISO date-time format pattern
|
defaultCommandClassName| Constructor and Description |
|---|
TicklerCreateCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getActionObjectId()
This method retrieves the identifier of the action object based on which this tickler is created.
|
java.lang.String |
getActionObjectType()
This method retrieves the type of the action object based on which this tickler is created.
|
java.lang.Long |
getAssignToMemberId()
This method retrieves the identifier of the Customer Service Representative to whom this tickler is assigned.
|
java.sql.Timestamp |
getRemindOnDate()
This method gets the date-time when this tickler should next pop into the queue.
|
AccessVector |
getResources()
This method retrieves the resources that are accessed by this command.
|
java.lang.String |
getTicklerComment()
This method returns the tickler comment.
|
java.lang.Integer |
getTicklerReasonId()
This method retrieves the tickler reason identifier.
|
java.lang.String |
getURL()
This method retrieves the redirect URL.
|
void |
performExecute()
This method invokes the business logic for this command.
|
void |
reset()
This method resets all the command parameters.
|
void |
setActionObjectId(java.lang.Long anActionObjectId)
This method sets the identifier of the action object based on which this tickler is created.
|
void |
setActionObjectType(java.lang.String astrActionObjectType)
This method sets the type of the action object based on which this tickler is created.
|
void |
setAssignToMemberId(java.lang.Long anAssignToMemberId)
This method sets the identifier of the Customer Service Representative to whom this tickler is assigned.
|
void |
setRemindOnDate(java.sql.Timestamp aRemindOnDate)
This method sets the date-time when this tickler should next pop into the queue.
|
void |
setRequestProperties(TypedProperty reqProperties)
This method sets the request properties.
|
void |
setTicklerComment(java.lang.String astrComment)
This method is used to set the tickler comment.
|
void |
setTicklerReasonId(java.lang.Integer anTicklerReasonId)
This method sets the tickler reason identifier.
|
void |
setURL(java.lang.String astrURL)
This method sets the redirect URL.
|
void |
validateParameters()
This method validates the command parameters.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static java.lang.String ISO_DATETIME_PATTERN
public static java.lang.String GMT_DATETIME_PATTERN
public static final java.lang.String CLASSNAME
public java.lang.String getURL()
public void setURL(java.lang.String astrURL)
astrURL - redirect URL.public java.lang.String getTicklerComment()
public void setTicklerComment(java.lang.String astrComment)
astrComment - text of the comment.public java.lang.Integer getTicklerReasonId()
createTicklerpublic void setTicklerReasonId(java.lang.Integer anTicklerReasonId)
anTicklerReasonId - tickler reason identifier.createTicklerpublic java.lang.Long getActionObjectId()
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
createTicklerpublic void setActionObjectId(java.lang.Long anActionObjectId)
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
anActionObjectId - action object identifier.createTicklerpublic java.lang.String getActionObjectType()
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
createTicklerpublic void setActionObjectType(java.lang.String astrActionObjectType)
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
astrActionObjectType - action object type.createTicklerpublic java.sql.Timestamp getRemindOnDate()
public void setRemindOnDate(java.sql.Timestamp aRemindOnDate)
aRemindOnDate - date-time when this tickler should next pop into the queue.public java.lang.Long getAssignToMemberId()
public void setAssignToMemberId(java.lang.Long anAssignToMemberId)
anAssignToMemberId - the Customer Service Representative identifier.public AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECException - any ECException that is capturedpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
requestProperties provides additional methods for retrieving properties. It is wrapper to java.util.MapsetRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqProperties - request properties.ECApplicationExceptionpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException