|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.WorkflowModel.WfResourcePOA
org.enhydra.shark.corba.poa.WfResourceCORBA
public class WfResourceCORBA
WfResourceImpl - Workflow Resource Object implementation.
Constructor Summary | |
---|---|
protected |
WfResourceCORBA(org.omg.CORBA.ORB orb,
Collective toJoin,
WfResource sharkRes)
Creates a new WfResource |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
It is assumed that there can't be two or more resources having 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. |
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)
Release 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 org.omg.WorkflowModel.WfResourcePOA |
---|
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
---|
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected WfResourceCORBA(org.omg.CORBA.ORB orb, Collective toJoin, WfResource sharkRes)
orb
- sharkRes
- a WfResourceMethod Detail |
---|
public int how_many_work_item() throws BaseException
BaseException
public WfAssignmentIterator get_iterator_work_item() throws BaseException
BaseException
public WfAssignment[] get_sequence_work_item(int max_number) throws BaseException
BaseException
public boolean is_member_of_work_items(WfAssignment member) throws BaseException
BaseException
public java.lang.String resource_key() throws BaseException
BaseException
public java.lang.String resource_name() throws BaseException
BaseException
public void release(WfAssignment from_assigment, java.lang.String release_info) throws BaseException, NotAssigned
BaseException
NotAssigned
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |