|
||||||||||
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.WfProcessPOA
org.enhydra.shark.corba.poa.WfProcessCORBA
WfProcessImpl - Workflow Process Object implementation
Constructor Summary | |
protected |
WfProcessCORBA(org.omg.CORBA.ORB orb,
Collective toJoin,
WfProcess sharkProc)
Creates new WfProcessImpl |
Method Summary | |
void |
abort()
Abort the execution of this process. |
void |
change_state(java.lang.String new_state)
|
java.lang.String |
description()
|
boolean |
equals(java.lang.Object obj)
It is assumed that there can't be two or more processes having the same key. |
WfActivityIterator |
get_activities_in_state(java.lang.String state)
Retrieve the iterator of activities in some specific state. |
WfEventAuditIterator |
get_iterator_history(java.lang.String query,
NameValue[] names_in_query)
Search in the history for specific elements. |
WfActivityIterator |
get_iterator_step()
Retrieve the Iterator of active activities of this process. |
WfEventAudit[] |
get_sequence_history(int max_number)
Getter for history sequence. |
WfActivity[] |
get_sequence_step(int max_number)
Retrieve the List of activities of this process. |
how_closedType |
how_closed()
|
int |
how_many_history()
|
int |
how_many_step()
Retrieve the no of activities in this process. |
boolean |
is_member_of_history(WfExecutionObject member)
Checks if a 'member' is an element of the history. |
boolean |
is_member_of_step(WfActivity member)
Check if some activity is a member of this process. |
java.lang.String |
key()
|
org.omg.TimeBase.UtcT |
last_state_time()
|
WfProcessMgr |
manager()
Retrieve the WfProcessMgr of this process. |
java.lang.String |
name()
|
short |
priority()
|
NameValue[] |
process_context()
|
WfRequester |
requester()
Retrieve the requestor of this process. |
NameValue[] |
result()
Retrieve the result for this process. |
void |
resume()
Resume this process. |
void |
set_description(java.lang.String new_value)
|
void |
set_name(java.lang.String new_value)
|
void |
set_priority(short new_value)
|
void |
set_process_context(NameValue[] new_value)
|
void |
set_requester(WfRequester new_value)
Set the requester for this process. |
void |
start()
Starts the process - creates a separate thread. |
java.lang.String |
state()
|
void |
suspend()
Suspend this process. |
void |
terminate()
Terminate this process. |
java.lang.String |
toString()
|
java.lang.String[] |
valid_states()
|
while_openType |
while_open()
|
why_not_runningType |
why_not_running()
|
workflow_stateType |
workflow_state()
|
Methods inherited from class org.omg.WorkflowModel.WfProcessPOA |
_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 WfProcessCORBA(org.omg.CORBA.ORB orb, Collective toJoin, WfProcess sharkProc)
sharkProc
- a WfProcessMethod Detail |
public WfRequester requester() throws BaseException
BaseException
public void set_requester(WfRequester new_value) throws BaseException, CannotChangeRequester
BaseException
CannotChangeRequester
public int how_many_step() throws BaseException
BaseException
public WfActivityIterator get_iterator_step() throws BaseException
BaseException
public WfActivity[] get_sequence_step(int max_number) throws BaseException
max_number
- High limit of elements in the result set (0->all).
BaseException
public boolean is_member_of_step(WfActivity member) throws BaseException
BaseException
public WfProcessMgr manager() throws BaseException
BaseException
public NameValue[] result() throws BaseException, ResultNotAvailable
BaseException
ResultNotAvailable
public void start() throws BaseException, CannotStart, AlreadyRunning
BaseException
CannotStart
AlreadyRunning
public WfActivityIterator get_activities_in_state(java.lang.String state) throws BaseException, InvalidState
BaseException
InvalidState
public workflow_stateType workflow_state() throws BaseException
BaseException
public while_openType while_open() throws BaseException
BaseException
public why_not_runningType why_not_running() throws BaseException
BaseException
public how_closedType how_closed() throws BaseException
BaseException
public java.lang.String[] valid_states() throws BaseException
BaseException
public java.lang.String state() throws BaseException
BaseException
public void change_state(java.lang.String new_state) throws BaseException, InvalidState, TransitionNotAllowed
BaseException
InvalidState
TransitionNotAllowed
public java.lang.String name() throws BaseException
BaseException
public void set_name(java.lang.String new_value) throws BaseException
BaseException
public java.lang.String key() throws BaseException
BaseException
public java.lang.String description() throws BaseException
BaseException
public void set_description(java.lang.String new_value) throws BaseException
BaseException
public NameValue[] process_context() throws BaseException
BaseException
public void set_process_context(NameValue[] new_value) throws BaseException, InvalidData, UpdateNotAllowed
BaseException
InvalidData
UpdateNotAllowed
public short priority() throws BaseException
BaseException
public void set_priority(short new_value) throws BaseException
BaseException
public void resume() throws BaseException, CannotResume, NotSuspended
BaseException
CannotResume
NotSuspended
public void suspend() throws BaseException, CannotSuspend, NotRunning, AlreadySuspended
BaseException
CannotSuspend
NotRunning
AlreadySuspended
public void terminate() throws BaseException, CannotStop, NotRunning
BaseException
CannotStop
NotRunning
public void abort() throws BaseException, CannotStop, NotRunning
BaseException
CannotStop
NotRunning
public int how_many_history() throws BaseException, HistoryNotAvailable
BaseException
HistoryNotAvailable
public WfEventAuditIterator get_iterator_history(java.lang.String query, NameValue[] names_in_query) throws BaseException, HistoryNotAvailable
BaseException
HistoryNotAvailable
public WfEventAudit[] get_sequence_history(int max_number) throws BaseException, HistoryNotAvailable
BaseException
HistoryNotAvailable
public boolean is_member_of_history(WfExecutionObject member) throws BaseException
BaseException
public org.omg.TimeBase.UtcT last_state_time() throws BaseException
BaseException
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |