|
|||||||||
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._WfActivityImplBase
org.enhydra.shark.corba.WfActivityCORBA
public class WfActivityCORBA
WfActivityImpl - Workflow Activity Object implementation
Constructor Summary | |
---|---|
protected |
WfActivityCORBA(Collective toJoin,
WfActivity sharkAct)
Create a new WfActivityImpl |
Method Summary | |
---|---|
void |
abort()
Abort the execution of this process or activity. |
void |
change_state(java.lang.String new_state)
|
void |
complete()
Complete this activity. |
WfProcess |
container()
Getter for the process of this activity. |
java.lang.String |
description()
|
boolean |
equals(java.lang.Object obj)
It is assumed that there can't be two or more activities having the same key. |
WfAssignmentIterator |
get_iterator_assignment()
Retrieve the Iterator of Assignments objects. |
WfEventAuditIterator |
get_iterator_history(java.lang.String query,
NameValue[] names_in_query)
Search in the history for specific elements. |
WfProcessIterator |
get_iterator_performer()
Gets an iterator of processes. |
WfAssignment[] |
get_sequence_assignment(int max_number)
Retrieve all assignments of this activity. |
WfEventAudit[] |
get_sequence_history(int max_number)
Getter for history sequence. |
WfProcess[] |
get_sequence_performer(int max_number)
A list of processes |
how_closedType |
how_closed()
|
int |
how_many_assignment()
Retrieve the no. of Assignment objects. |
int |
how_many_history()
|
int |
how_many_performer()
Gets the number of processes. |
boolean |
is_member_of_assignment(WfAssignment member)
Check if a specific assignment is a member of this activity. |
boolean |
is_member_of_history(WfExecutionObject member)
Predicate to check if a 'member' is an element of the history. |
boolean |
is_member_of_performer(WfProcess member)
Checks if a WfProcess is associated with this requester object |
java.lang.String |
key()
|
org.omg.TimeBase.UtcT |
last_state_time()
|
java.lang.String |
name()
|
short |
priority()
|
NameValue[] |
process_context()
|
void |
receive_event(WfEventAudit event)
|
NameValue[] |
result()
Retrieve the Result map of this activity. |
void |
resume()
Resume this process or activity. |
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_result(NameValue[] results)
Assign Result for this activity. |
java.lang.String |
state()
|
void |
suspend()
Suspend this process or activity. |
void |
terminate()
Terminate this process or activity. |
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._WfActivityImplBase |
---|
_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 |
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 WfActivityCORBA(Collective toJoin, WfActivity sharkAct)
Method Detail |
---|
public int how_many_assignment() throws BaseException
BaseException
- General workflow exception.public WfAssignmentIterator get_iterator_assignment() throws BaseException
BaseException
public WfAssignment[] get_sequence_assignment(int max_number) throws BaseException
BaseException
public boolean is_member_of_assignment(WfAssignment member) throws BaseException
BaseException
public WfProcess container() throws BaseException
BaseException
public NameValue[] result() throws BaseException, ResultNotAvailable
BaseException
ResultNotAvailable
public void set_result(NameValue[] results) throws BaseException, InvalidData
BaseException
InvalidData
public void complete() throws BaseException, CannotComplete
BaseException
CannotComplete
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
query
- Search criteria.names_in_query
- elements to search.
BaseException
HistoryNotAvailable
public WfEventAudit[] get_sequence_history(int max_number) throws BaseException, HistoryNotAvailable
max_number
- Maximum number of element in result list.
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 int how_many_performer() throws BaseException
BaseException
public WfProcessIterator get_iterator_performer() throws BaseException
BaseException
public WfProcess[] get_sequence_performer(int max_number) throws BaseException
BaseException
public boolean is_member_of_performer(WfProcess member) throws BaseException
BaseException
public void receive_event(WfEventAudit event) throws BaseException, InvalidPerformer
BaseException
InvalidPerformer
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 |