|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.portable.ObjectImpl
org.omg.WorkflowModel._WfResourceImplBase
org.enhydra.shark.corba.WfResourceCORBA
public class WfResourceCORBA
WfResourceImpl - Workflow Resource Object implementation.
Constructor Summary | |
---|---|
protected |
WfResourceCORBA(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._WfResourceImplBase |
---|
_ids, _invoke |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
---|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
---|
protected WfResourceCORBA(Collective toJoin, WfResource sharkRes)
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 org.omg.CORBA.portable.ObjectImpl
public java.lang.String toString()
toString
in class org.omg.CORBA.portable.ObjectImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |