|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--au.edu.swin.synergy.kernel.BCommandEvent | +--au.edu.swin.synergy.plugin.syndicate.event.BSyndGetTasksCE
This event gets the tasks from Syndicate for a given user, or just for everyone.
Field Summary | |
static int |
kAllTasks
Select all tasks. |
static int |
kAllUsers
Select all tasks that have this user. |
static int |
kCompleteTasks
Select only complete tasks. |
static int |
kIncompleteTasks
Select only incomplete tasks. |
static int |
kNoSuchUser
The username was invalid. |
static int |
kOK
The username was valid |
static int |
kUserSpecific
Select all tasks that specifically have this user in their resources. |
protected Vector |
taskIDs
Stores the returned task information. |
protected Vector |
taskInfo
Stores the returned task IDs. |
int |
taskStat
Task selection status. |
protected int |
taskStatus
Stores the status of the returned information. |
protected String |
username
Stores the username for task stuff. |
int |
userStat
User selection status. |
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 | |
BSyndGetTasksCE(Object source)
Creates a new SQL connection event. |
Method Summary | |
Vector |
getTaskIDs()
Returns the vector of task IDs. |
Vector |
getTasks()
Returns the vector of tasks. |
int |
getTaskStatus()
Get the task retrieval status. |
String |
getUsername()
Gets the username for the tasks. |
void |
setTaskIDs(Vector taskIDs)
Sets the vector of task IDs. |
void |
setTasks(Vector taskInfo)
Sets the vector of tasks. |
void |
setTaskStatus(int taskStatus)
Set the task retrieval status |
void |
setUsername(String username)
Sets the username for the tasks |
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 |
public static final int kOK
public static final int kNoSuchUser
public static final int kAllUsers
public static final int kUserSpecific
public static final int kAllTasks
public static final int kCompleteTasks
public static final int kIncompleteTasks
protected int taskStatus
public int userStat
public int taskStat
protected Vector taskIDs
protected Vector taskInfo
protected String username
Constructor Detail |
public BSyndGetTasksCE(Object source)
source
- The source of the event.Method Detail |
public int getTaskStatus()
public void setTaskStatus(int taskStatus)
taskStatus
- The task status.public Vector getTasks()
public void setTaskIDs(Vector taskIDs)
taskIDs
- The task IDs.public Vector getTaskIDs()
public void setTasks(Vector taskInfo)
taskInfo
- The tasks.public void setUsername(String username)
username
- The username.public String getUsername()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |