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, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public 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()
createTickler
public void setTicklerReasonId(java.lang.Integer anTicklerReasonId)
anTicklerReasonId
- tickler reason identifier.createTickler
public java.lang.Long getActionObjectId()
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
createTickler
public void setActionObjectId(java.lang.Long anActionObjectId)
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
anActionObjectId
- action object identifier.createTickler
public java.lang.String getActionObjectType()
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
createTickler
public void setActionObjectType(java.lang.String astrActionObjectType)
ORDER=Order QUOTE=Quote RMA=Return USER=Customer
astrActionObjectType
- action object type.createTickler
public 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 ECCommand
getResources
in class AbstractECTargetableCommand
ECException
- any ECException that is capturedpublic void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
requestProperties
provides additional methods for retrieving properties. It is wrapper to java.util.Map
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqProperties
- request properties.ECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException