au.edu.swin.synergy.plugin.syndicate.event
Class BSyndAddTaskCE
java.lang.Object
|
+--java.util.EventObject
|
+--au.edu.swin.synergy.kernel.BCommandEvent
|
+--au.edu.swin.synergy.plugin.syndicate.event.BSyndAddTaskCE
- public class BSyndAddTaskCE
- extends BCommandEvent
This event adds a task to the Syndicate DB.
- See Also:
- Serialized Form
Field Summary |
static int |
kBadDateDependency
The task's start date was before the finish date of it's dependencies. |
static int |
kBadDateParent
The task's dates did not fall within it's parents. |
static int |
kInvalidTask
The task ID was invalid (not assigned to user). |
static int |
kNoSuchTask
The parent/dependent task ID was invalid (non existant task). |
static int |
kNoSuchUser
A username was invalid. |
protected int |
taskStatus
Stores the status of the returned information. |
protected BTask |
theTask
Stores the task information for the database. |
Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
decrementThreadCount,
doComplete,
doInit,
getAutoComplete,
getCompletionObject,
getCompletionStatus,
getConnectionID,
getIndex,
getNetworkStatus,
getPipe,
getUndoable,
setAutoComplete,
setCompletionObject,
setCompletionStatus,
setConnectionID,
setIndex,
setNetworkStatus,
setPipe,
setThreadCount,
setUndoable |
kNoSuchUser
public static final int kNoSuchUser
- A username was invalid.
kNoSuchTask
public static final int kNoSuchTask
- The parent/dependent task ID was invalid (non existant task).
kInvalidTask
public static final int kInvalidTask
- The task ID was invalid (not assigned to user).
kBadDateParent
public static final int kBadDateParent
- The task's dates did not fall within it's parents.
kBadDateDependency
public static final int kBadDateDependency
- The task's start date was before the finish date of it's dependencies.
taskStatus
protected int taskStatus
- Stores the status of the returned information.
theTask
protected BTask theTask
- Stores the task information for the database.
BSyndAddTaskCE
public BSyndAddTaskCE(Object source)
- Creates a new task addition CE.
- Parameters:
source
- The source of the event.
getTaskStatus
public int getTaskStatus()
- Get the task addition status.
- Returns:
- The task status.
setTaskStatus
public void setTaskStatus(int taskStatus)
- Set the task addition status.
- Parameters:
taskStatus
- The task status.
getTask
public BTask getTask()
- Get the task.
- Returns:
- The task.
setTaskStatus
public void setTaskStatus(BTask task)
- Set the task.
- Parameters:
task
- The task.