public class AddTaskGroupCmdImpl extends TaskCommandImpl implements AddTaskGroupCmd
AddTaskGroupCmd
is a task command that:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
AddTaskGroupCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getApprovers()
Returns the member IDs of the task group approvers.
|
java.lang.String |
getComments()
Returns the Task Group comments.
|
java.util.Vector |
getDescriptions()
Returns the Task Group descriptions.
|
java.sql.Timestamp |
getDueDate()
Returns the Task Group due date.
|
java.lang.Integer |
getPersistentType()
Returns the Task Group persistent type.
|
java.lang.Long |
getPostedBy()
Returns the member ID of the person who posted the comment.
|
java.sql.Timestamp |
getPromotionDate()
Returns the Task Group promotion date.
|
java.lang.Integer |
getQuickPublishType()
Returns the Quick Publish type.
|
AccessVector |
getResources()
Gets the resources accessed by this command.
|
java.lang.Long |
getTaskGroupId()
Returns the Task Group ID.
|
java.lang.Long |
getWorkspaceId()
Returns the Workspace ID of the Workspace that is associated with this Task Group.
|
void |
performExecute()
Performs the execution of the command.
|
void |
reset()
Resets all the values to null
|
void |
setApprovers(java.util.Vector theApprovers)
Sets the member ids of the approvers.
|
void |
setComments(java.lang.String astrComments)
Sets the comments
|
void |
setDescriptions(java.util.Vector argDescriptions)
Sets the Task Group descriptions.
|
void |
setDueDate(java.sql.Timestamp dDueDate)
Sets the due date of the Task Group
|
void |
setPersistentType(java.lang.Integer argPersistent)
Sets the persistent type of the Task Group.
|
void |
setPostedBy(java.lang.Long iPostedBy)
Sets the poster's member id
|
void |
setPromotionDate(java.sql.Timestamp dPromotionDate)
Sets the promotion date of the Task Group.
|
void |
setQuickPublishType(java.lang.Integer quickPublish)
Sets the quick publish type of the Task Group.
|
void |
setWorkspaceId(java.lang.Long anWorkspaceId)
Sets the workspace id of the workspace that this task group is associated with.
|
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.Long getTaskGroupId()
getTaskGroupId
in interface AddTaskGroupCmd
public java.lang.Long getWorkspaceId()
getWorkspaceId
in interface AddTaskGroupCmd
public java.util.Vector getDescriptions()
getDescriptions
in interface AddTaskGroupCmd
TaskDescription
public java.sql.Timestamp getDueDate()
getDueDate
in interface AddTaskGroupCmd
public java.sql.Timestamp getPromotionDate()
getPromotionDate
in interface AddTaskGroupCmd
public java.lang.Integer getPersistentType()
getPersistentType
in interface AddTaskGroupCmd
public java.lang.Integer getQuickPublishType()
getQuickPublishType
in interface AddTaskGroupCmd
public java.lang.String getComments()
getComments
in interface AddTaskGroupCmd
public java.lang.Long getPostedBy()
getPostedBy
in interface AddTaskGroupCmd
public java.util.Vector getApprovers()
getApprovers
in interface AddTaskGroupCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setWorkspaceId(java.lang.Long anWorkspaceId)
setWorkspaceId
in interface AddTaskGroupCmd
anWorkspaceId
- public void setDescriptions(java.util.Vector argDescriptions)
setDescriptions
in interface AddTaskGroupCmd
argDescriptions
- This is a Vector of TaskGroupDescription objects.TaskDescription
public void setDueDate(java.sql.Timestamp dDueDate)
setDueDate
in interface AddTaskGroupCmd
dDueDate
- The due date of the Task Group.public void setPromotionDate(java.sql.Timestamp dPromotionDate)
setPromotionDate
in interface AddTaskGroupCmd
dPromotionDate
- The promotion date of the Task Group.public void setQuickPublishType(java.lang.Integer quickPublish)
setQuickPublishType
in interface AddTaskGroupCmd
quickPublish
- The quick publish type of the Task Group.public void setPersistentType(java.lang.Integer argPersistent)
setPersistentType
in interface AddTaskGroupCmd
argPersistent
- The persistent type of the Task Group.public void setComments(java.lang.String astrComments)
setComments
in interface AddTaskGroupCmd
astrComments
- commentspublic void setPostedBy(java.lang.Long iPostedBy)
setPostedBy
in interface AddTaskGroupCmd
iPostedBy
- Posted Bypublic void setApprovers(java.util.Vector theApprovers)
setApprovers
in interface AddTaskGroupCmd
theApprovers
- 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