Synergy Home Page

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.
 
Fields inherited from class au.edu.swin.synergy.kernel.BCommandEvent
connectionID, index, kBroadcast, kClient, kClientDone, kLocal, kServer, kServerDone, networkStatus, serialVersionUID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BSyndAddTaskCE(Object source)
          Creates a new task addition CE.
 
Method Summary
 BTask getTask()
          Get the task.
 int getTaskStatus()
          Get the task addition status.
 void setTaskStatus(BTask task)
          Set the task.
 void setTaskStatus(int taskStatus)
          Set the task addition status.
 
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
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.
Constructor Detail

BSyndAddTaskCE

public BSyndAddTaskCE(Object source)
Creates a new task addition CE.
Parameters:
source - The source of the event.
Method Detail

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.

Synergy Home Page