|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bigbross.bossa.wfnet.WorkItem
This class represents a transition of a specific case instance.
We use a somewhat non standard definition of a work item: instead of
a
| Method Summary | |
boolean |
canBePerformedBy(Resource resource)
Indicates if this work item can be open by the provided resource. |
Case |
getCase()
Returns the case of this work item. |
CaseType |
getCaseType()
Returns the case type of this work item. |
String |
getId()
Returns the id of this work item. |
boolean |
isFireable()
Indicates if this work item is fireable. |
Activity |
open(Resource resource)
Opens this work item. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public CaseType getCaseType()
public Case getCase()
public String getId()
public boolean isFireable()
true if the work item is fireable;
false otherwise.public boolean canBePerformedBy(Resource resource)
resource - the resource.
true if the resource can open this work item;
false otherwise.
public Activity open(Resource resource)
throws BossaException
resource - the resource that is opening the work item.
null if the work item could not be opened.
EvaluationException - if an expression evaluation error
occurs. If this exception is thrown the state of the case
may be left inconsistent.
PersistenceException - if an error occours when making the
execution of this method persistent.
BossaException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||