public class AddTaskCmdImpl extends TaskCommandImpl implements AddTaskCmd
AddTaskCmd
is a task command that:
TaskAccessBean
,
TaskGroupAccessBean
.
ActivateTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
AddTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getDescriptions()
Returns the Task Descriptions.
|
java.sql.Timestamp |
getDueDate()
Returns the Task Due Date.
|
java.util.Vector |
getMembers()
Returns the Task Members.
|
AccessVector |
getResources()
Gets the resources accessed by this command.
|
java.lang.Long |
getTaskGroupId()
Returns the Task Group ID.
|
java.lang.Integer |
getTaskGroupStatus()
Returns the status of the Task Group with which this task is associated
|
java.lang.Long |
getTaskId()
Returns the Task ID.
|
java.lang.Integer |
getType()
Returns the Task Type.
|
java.lang.Integer |
getUsage()
Returns the Task usage.
|
void |
performExecute()
Performs the execution of the command.
|
void |
reset()
Resets all the values to null
|
void |
setDescriptions(java.util.Vector argDescriptions)
Sets the Task Descriptions.
|
void |
setDueDate(java.sql.Timestamp dDueDate)
Sets the Task Due Date
|
void |
setMembers(java.util.Vector theMembers)
Sets the Task Members
|
void |
setTaskGroupId(java.lang.Long anTaskGroupId)
Sets the Task Group ID
|
void |
setType(java.lang.Integer aType)
Sets the Task Type
|
void |
setUsage(java.lang.Integer aUsage)
Sets the Task Usage
|
void |
validateParameters()
Validates the input parameters.
|
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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Integer getTaskGroupStatus()
getTaskGroupStatus
in interface AddTaskCmd
public java.lang.Long getTaskId()
getTaskId
in interface AddTaskCmd
public java.lang.Long getTaskGroupId()
getTaskGroupId
in interface AddTaskCmd
public java.lang.Integer getUsage()
getUsage
in interface AddTaskCmd
public java.util.Vector getDescriptions()
getDescriptions
in interface AddTaskCmd
TaskDescription
public java.sql.Timestamp getDueDate()
getDueDate
in interface AddTaskCmd
public java.lang.Integer getType()
getType
in interface AddTaskCmd
public java.util.Vector getMembers()
getMembers
in interface AddTaskCmd
public 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 setTaskGroupId(java.lang.Long anTaskGroupId)
setTaskGroupId
in interface AddTaskCmd
anTaskGroupId
- The ID of the Task Group.public void setUsage(java.lang.Integer aUsage)
setUsage
in interface AddTaskCmd
aUsage
- The usage of the Task.public void setDescriptions(java.util.Vector argDescriptions)
setDescriptions
in interface AddTaskCmd
argDescriptions
- The Descriptions of the Task.TaskDescription
public void setDueDate(java.sql.Timestamp dDueDate)
setDueDate
in interface AddTaskCmd
dDueDate
- The due date of the Task.public void setType(java.lang.Integer aType)
setType
in interface AddTaskCmd
aType
- The type of the Task.public void setMembers(java.util.Vector theMembers)
setMembers
in interface AddTaskCmd
theMembers
- The members of the Task.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException