|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.bonita.facade.runtime.impl.ActivityBodyImpl
public abstract class ActivityBodyImpl
Field Summary | |
---|---|
protected long |
dbid
|
protected java.util.Date |
endedDate
|
protected java.util.Date |
readyDate
|
protected java.util.Date |
startedDate
|
protected java.util.List<StateUpdate> |
stateUpdates
|
protected ActivityBodyUUID |
uuid
|
Constructor Summary | |
---|---|
protected |
ActivityBodyImpl()
|
protected |
ActivityBodyImpl(ActivityBody activityBody)
|
protected |
ActivityBodyImpl(ActivityBodyUUID uuid)
|
Method Summary | |
---|---|
java.util.Date |
getEndedDate()
Returns the date recorded after the activity is finished. |
java.util.Date |
getReadyDate()
Returns the date recorded when the activ. |
java.util.Date |
getStartedDate()
Returns the date recorded after the activity is started. |
ActivityState |
getState()
Returns the current state. |
java.util.List<StateUpdate> |
getStateUpdates()
Returns the list of recorded state changes . |
ActivityBodyUUID |
getUUID()
Return the UUID of the ActivityBody. For instance, if the body of the activity is a TaskInstance this UUID is a TaskUUID. |
void |
setActivityState(ActivityState newState,
java.lang.String userId)
|
void |
setEndedDate(java.util.Date date)
|
void |
setReadyDate(java.util.Date date)
|
void |
setStartedDate(java.util.Date date)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ow2.bonita.facade.runtime.ActivityBody |
---|
copy |
Field Detail |
---|
protected long dbid
protected ActivityBodyUUID uuid
protected java.util.Date startedDate
protected java.util.Date endedDate
protected java.util.Date readyDate
protected java.util.List<StateUpdate> stateUpdates
Constructor Detail |
---|
protected ActivityBodyImpl()
protected ActivityBodyImpl(ActivityBodyUUID uuid)
protected ActivityBodyImpl(ActivityBody activityBody)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public ActivityBodyUUID getUUID()
ActivityBody
getUUID
in interface ActivityBody
public java.util.Date getStartedDate()
ActivityBody
getStartedDate
in interface ActivityBody
public java.util.Date getEndedDate()
ActivityBody
getEndedDate
in interface ActivityBody
public java.util.Date getReadyDate()
ActivityBody
getReadyDate
in interface ActivityBody
public java.util.List<StateUpdate> getStateUpdates()
ActivityBody
state changes
.
getStateUpdates
in interface ActivityBody
state changes
.public ActivityState getState()
ActivityBody
getState
in interface ActivityBody
public void setStartedDate(java.util.Date date)
public void setEndedDate(java.util.Date date)
public void setReadyDate(java.util.Date date)
public void setActivityState(ActivityState newState, java.lang.String userId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |