|
||||||||||
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.BSyndAddLogCE
This event adds a worklog to the Syndicate DB.
Field Summary | |
protected String |
comments
Stores the comments for the worlog. |
protected float |
hoursLeft
Stores the hours left for the task. |
protected float |
hoursWorked
Stores the hours worked for the worklog. |
static int |
kInvalidTask
The task ID was invalid (not assigned to user). |
static int |
kNoSuchTask
The task ID was invalid (non existant task). |
static int |
kNoSuchUser
The username was invalid. |
protected int |
logStatus
Stores the status of the returned information. |
protected float |
percComplete
Stores the percent complete of the task. |
protected int |
taskID
Stores the task ID for the worklog. |
protected String |
username
Stores the username for the worklog. |
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 | |
BSyndAddLogCE(Object source)
Creates a new worklog entry CE. |
Method Summary | |
String |
getComments()
Gets the comments for the worklog. |
float |
getHoursLeft()
Gets the hours remaining on the task. |
float |
getHoursWorked()
Gets the hours worked for the worklog. |
int |
getLogStatus()
Get the log addition status. |
float |
getPercComplete()
Gets the completion percentage of the task. |
int |
getTaskID()
Gets the task ID for the worklog. |
String |
getUsername()
Gets the username for the worklog. |
void |
setComments(String comment)
Sets the comment for the worklog. |
void |
setHoursLeft(float hoursLeft)
Sets the hours remaining on the task. |
void |
setHoursWorked(float hoursWorked)
Sets the hours worked for the worklog. |
void |
setLogStatus(int logStatus)
Set the log addition status. |
void |
setPercComplete(float percComplete)
Sets the completion percentage of the task. |
void |
setTaskID(int taskID)
Sets the task ID for the worklog. |
void |
setUsername(String username)
Sets the username for the worklog. |
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 kNoSuchUser
public static final int kNoSuchTask
public static final int kInvalidTask
protected int logStatus
protected String username
protected int taskID
protected float hoursWorked
protected float hoursLeft
protected float percComplete
protected String comments
Constructor Detail |
public BSyndAddLogCE(Object source)
source
- The source of the event.Method Detail |
public int getLogStatus()
public void setLogStatus(int logStatus)
taskStatus
- The task status.public void setUsername(String username)
username
- The username.public String getUsername()
public void setComments(String comment)
comment
- The comments.public String getComments()
public void setTaskID(int taskID)
taskID
- The task ID.public int getTaskID()
public void setHoursWorked(float hoursWorked)
hoursWorked
- The hours worked.public float getHoursWorked()
public void setHoursLeft(float hoursLeft)
hoursLeft
- The hours remaining on the task.public float getHoursLeft()
public void setPercComplete(float percComplete)
taskID
- The percentage complete.public float getPercComplete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |