|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.shark.WfResourceWrapper
WfResourceWrapper - Workflow Resource Object implementation.
Field Summary | |
protected WMSessionHandle |
shandle
|
protected java.lang.String |
username
|
Constructor Summary | |
protected |
WfResourceWrapper(WMSessionHandle shandle,
java.lang.String username)
Creates a new WfResource. |
Method Summary | |
protected void |
checkSecurity(java.lang.String methodName,
java.util.Map d)
|
boolean |
equals(java.lang.Object obj)
It is assumed that there can't be two or more resources that have the same resource key. |
WfAssignmentIterator |
get_iterator_work_item()
Gets an iterator of work items. |
WfAssignment[] |
get_sequence_work_item(int max_number)
Gets the work items. |
protected WfResourceInternal |
getResourceImpl(java.lang.String uname)
|
int |
hashCode()
|
int |
how_many_work_item()
Gets the number of work items currently assigned to this resource. |
boolean |
is_member_of_work_items(WfAssignment member)
Checks if an assignment object is associated with this resource. |
void |
release(WfAssignment from_assigment,
java.lang.String release_info)
Releases the resouce from the assignment. |
java.lang.String |
resource_key()
Gets the resource username. |
java.lang.String |
resource_name()
Gets the resource name. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected WMSessionHandle shandle
protected java.lang.String username
Constructor Detail |
protected WfResourceWrapper(WMSessionHandle shandle, java.lang.String username)
username
- uniquely identifies the resource.Method Detail |
public int how_many_work_item() throws java.lang.Exception
how_many_work_item
in interface WfResource
java.lang.Exception
public WfAssignmentIterator get_iterator_work_item() throws java.lang.Exception
get_iterator_work_item
in interface WfResource
java.lang.Exception
public WfAssignment[] get_sequence_work_item(int max_number) throws java.lang.Exception
get_sequence_work_item
in interface WfResource
java.lang.Exception
public boolean is_member_of_work_items(WfAssignment member) throws java.lang.Exception
is_member_of_work_items
in interface WfResource
java.lang.Exception
public java.lang.String resource_key() throws java.lang.Exception
resource_key
in interface WfResource
java.lang.Exception
public java.lang.String resource_name() throws java.lang.Exception
resource_name
in interface WfResource
java.lang.Exception
public void release(WfAssignment from_assigment, java.lang.String release_info) throws java.lang.Exception, NotAssigned
release
in interface WfResource
java.lang.Exception
NotAssigned
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
public int hashCode()
protected void checkSecurity(java.lang.String methodName, java.util.Map d) throws java.lang.Exception
java.lang.Exception
protected WfResourceInternal getResourceImpl(java.lang.String uname) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |