org.enhydra.shark.corba
Class WfProcessMgrCORBA

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.WorkflowModel._WfProcessMgrImplBase
          extended by org.enhydra.shark.corba.WfProcessMgrCORBA
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.InvokeHandler, BaseBusinessObject, BaseBusinessObjectOperations, WfProcessMgr, WfProcessMgrOperations

public class WfProcessMgrCORBA
extends _WfProcessMgrImplBase

WfProcessMgrImpl - Workflow Process Manager implementation

See Also:
Serialized Form

Constructor Summary
protected WfProcessMgrCORBA(Collective toJoin, WfProcessMgr sharkProcMgr)
          Creates new WfProcessMgrImpl
 
Method Summary
 java.lang.String category()
           
 NameValueInfo[] context_signature()
           
 WfProcess create_process(WfRequester requester)
          Create a WfProcess object
 java.lang.String description()
           
 boolean equals(java.lang.Object obj)
          It is assumed that there can't be two or more processes mgrs having the same name.
 WfProcessIterator get_iterator_process()
           
 WfProcess[] get_sequence_process(int max_number)
           
 int how_many_process()
           
 boolean is_member_of_process(WfProcess member)
           
 java.lang.String name()
           
 process_mgr_stateType process_mgr_state()
           
 NameValueInfo[] result_signature()
           
 void set_process_mgr_state(process_mgr_stateType new_state)
           
 java.lang.String toString()
           
 java.lang.String version()
           
 
Methods inherited from class org.omg.WorkflowModel._WfProcessMgrImplBase
_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

WfProcessMgrCORBA

protected WfProcessMgrCORBA(Collective toJoin,
                            WfProcessMgr sharkProcMgr)
Creates new WfProcessMgrImpl

Parameters:
sharkProcMgr - a WfProcessMgr
Method Detail

how_many_process

public int how_many_process()
                     throws BaseException
Throws:
BaseException

get_iterator_process

public WfProcessIterator get_iterator_process()
                                       throws BaseException
Throws:
BaseException

get_sequence_process

public WfProcess[] get_sequence_process(int max_number)
                                 throws BaseException
Throws:
BaseException

is_member_of_process

public boolean is_member_of_process(WfProcess member)
                             throws BaseException
Throws:
BaseException

process_mgr_state

public process_mgr_stateType process_mgr_state()
                                        throws BaseException
Throws:
BaseException

set_process_mgr_state

public void set_process_mgr_state(process_mgr_stateType new_state)
                           throws BaseException,
                                  TransitionNotAllowed
Throws:
BaseException
TransitionNotAllowed

name

public java.lang.String name()
                      throws BaseException
Throws:
BaseException

description

public java.lang.String description()
                             throws BaseException
Throws:
BaseException

category

public java.lang.String category()
                          throws BaseException
Throws:
BaseException

version

public java.lang.String version()
                         throws BaseException
Throws:
BaseException

context_signature

public NameValueInfo[] context_signature()
                                  throws BaseException
Throws:
BaseException

result_signature

public NameValueInfo[] result_signature()
                                 throws BaseException
Throws:
BaseException

create_process

public WfProcess create_process(WfRequester requester)
                         throws BaseException,
                                NotEnabled,
                                InvalidRequester,
                                RequesterRequired
Create a WfProcess object

Throws:
BaseException
NotEnabled
InvalidRequester
RequesterRequired

equals

public boolean equals(java.lang.Object obj)
It is assumed that there can't be two or more processes mgrs having the same name.

Overrides:
equals in class org.omg.CORBA.portable.ObjectImpl

toString

public java.lang.String toString()
Overrides:
toString in class org.omg.CORBA.portable.ObjectImpl