|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.shark.WfActivityWrapper
WfActivityWrapper - Workflow Activity Object implementation
Field Summary | |
protected java.lang.String |
id
|
protected java.lang.String |
mgrName
|
protected java.lang.String |
processId
|
protected WMSessionHandle |
shandle
|
Constructor Summary | |
protected |
WfActivityWrapper(WMSessionHandle shandle,
java.lang.String mgrName,
java.lang.String processId,
java.lang.String id)
Create a new WfActivityWrapper |
Method Summary | |
void |
abort()
Abort the execution of this process or activity. |
void |
change_state(java.lang.String new_state)
|
protected void |
checkSecurity(java.lang.String methodName,
java.util.Map d)
|
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,
java.util.Map 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 |
protected WfActivityInternal |
getActivityImpl(java.lang.String procId,
java.lang.String actId,
int mode)
|
int |
hashCode()
|
how_closedType |
how_closed()
Method 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()
|
UtcT |
last_state_time()
|
java.lang.String |
name()
|
short |
priority()
|
java.util.Map |
process_context()
|
void |
receive_event(WfEventAudit event)
|
java.util.Map |
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(java.util.Map new_value)
|
void |
set_result(java.util.Map 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()
Method toString |
java.lang.String[] |
valid_states()
|
while_openType |
while_open()
|
why_not_runningType |
why_not_running()
Method why_not_running |
workflow_stateType |
workflow_state()
Method workflow_state |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected WMSessionHandle shandle
protected java.lang.String mgrName
protected java.lang.String processId
protected java.lang.String id
Constructor Detail |
protected WfActivityWrapper(WMSessionHandle shandle, java.lang.String mgrName, java.lang.String processId, java.lang.String id)
Method Detail |
public int how_many_assignment() throws java.lang.Exception
how_many_assignment
in interface WfActivity
java.lang.Exception
- General workflow exception.public WfAssignmentIterator get_iterator_assignment() throws java.lang.Exception
get_iterator_assignment
in interface WfActivity
java.lang.Exception
public WfAssignment[] get_sequence_assignment(int max_number) throws java.lang.Exception
get_sequence_assignment
in interface WfActivity
java.lang.Exception
public boolean is_member_of_assignment(WfAssignment member) throws java.lang.Exception
is_member_of_assignment
in interface WfActivity
java.lang.Exception
public WfProcess container() throws java.lang.Exception
container
in interface WfActivity
java.lang.Exception
public java.util.Map result() throws java.lang.Exception, ResultNotAvailable
result
in interface WfActivity
java.lang.Exception
ResultNotAvailable
public void set_result(java.util.Map results) throws java.lang.Exception, InvalidData
set_result
in interface WfActivity
java.lang.Exception
InvalidData
public void complete() throws java.lang.Exception, CannotComplete
complete
in interface WfActivity
java.lang.Exception
CannotComplete
public workflow_stateType workflow_state() throws java.lang.Exception
workflow_state
in interface WfExecutionObject
java.lang.Exception
public while_openType while_open() throws java.lang.Exception
while_open
in interface WfExecutionObject
java.lang.Exception
public why_not_runningType why_not_running() throws java.lang.Exception
why_not_running
in interface WfExecutionObject
java.lang.Exception
public how_closedType how_closed() throws java.lang.Exception
how_closed
in interface WfExecutionObject
java.lang.Exception
public java.lang.String[] valid_states() throws java.lang.Exception
valid_states
in interface WfExecutionObject
java.lang.Exception
public java.lang.String state() throws java.lang.Exception
state
in interface WfExecutionObject
java.lang.Exception
public void change_state(java.lang.String new_state) throws java.lang.Exception, InvalidState, TransitionNotAllowed
change_state
in interface WfExecutionObject
java.lang.Exception
InvalidState
TransitionNotAllowed
public java.lang.String name() throws java.lang.Exception
name
in interface WfExecutionObject
java.lang.Exception
public void set_name(java.lang.String new_value) throws java.lang.Exception
set_name
in interface WfExecutionObject
java.lang.Exception
public java.lang.String key() throws java.lang.Exception
key
in interface WfExecutionObject
java.lang.Exception
public java.lang.String description() throws java.lang.Exception
description
in interface WfExecutionObject
java.lang.Exception
public void set_description(java.lang.String new_value) throws java.lang.Exception
set_description
in interface WfExecutionObject
java.lang.Exception
public java.util.Map process_context() throws java.lang.Exception
process_context
in interface WfExecutionObject
java.lang.Exception
public void set_process_context(java.util.Map new_value) throws java.lang.Exception, InvalidData, UpdateNotAllowed
set_process_context
in interface WfExecutionObject
java.lang.Exception
InvalidData
UpdateNotAllowed
public short priority() throws java.lang.Exception
priority
in interface WfExecutionObject
java.lang.Exception
public void set_priority(short new_value) throws java.lang.Exception
set_priority
in interface WfExecutionObject
java.lang.Exception
public void resume() throws java.lang.Exception, CannotResume, NotSuspended
resume
in interface WfExecutionObject
java.lang.Exception
CannotResume
NotSuspended
public void suspend() throws java.lang.Exception, CannotSuspend, NotRunning, AlreadySuspended
suspend
in interface WfExecutionObject
java.lang.Exception
CannotSuspend
NotRunning
AlreadySuspended
public void terminate() throws java.lang.Exception, CannotStop, NotRunning
terminate
in interface WfExecutionObject
java.lang.Exception
CannotStop
NotRunning
public void abort() throws java.lang.Exception, CannotStop, NotRunning
abort
in interface WfExecutionObject
java.lang.Exception
CannotStop
NotRunning
public int how_many_history() throws java.lang.Exception, HistoryNotAvailable
how_many_history
in interface WfExecutionObject
java.lang.Exception
HistoryNotAvailable
public WfEventAuditIterator get_iterator_history(java.lang.String query, java.util.Map names_in_query) throws java.lang.Exception, HistoryNotAvailable
get_iterator_history
in interface WfExecutionObject
query
- Search criteria.names_in_query
- elements to search.
java.lang.Exception
HistoryNotAvailable
public WfEventAudit[] get_sequence_history(int max_number) throws java.lang.Exception, HistoryNotAvailable
get_sequence_history
in interface WfExecutionObject
max_number
- Maximum number of element in result list.
java.lang.Exception
HistoryNotAvailable
public boolean is_member_of_history(WfExecutionObject member) throws java.lang.Exception
is_member_of_history
in interface WfExecutionObject
java.lang.Exception
public UtcT last_state_time() throws java.lang.Exception
last_state_time
in interface WfExecutionObject
java.lang.Exception
public int how_many_performer() throws java.lang.Exception
how_many_performer
in interface WfRequester
java.lang.Exception
public WfProcessIterator get_iterator_performer() throws java.lang.Exception
get_iterator_performer
in interface WfRequester
java.lang.Exception
public WfProcess[] get_sequence_performer(int max_number) throws java.lang.Exception
get_sequence_performer
in interface WfRequester
java.lang.Exception
public boolean is_member_of_performer(WfProcess member) throws java.lang.Exception
is_member_of_performer
in interface WfRequester
java.lang.Exception
public void receive_event(WfEventAudit event) throws java.lang.Exception, InvalidPerformer
receive_event
in interface WfRequester
java.lang.Exception
InvalidPerformer
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
public int hashCode()
protected void checkSecurity(java.lang.String methodName, java.util.Map d) throws java.lang.Exception
java.lang.Exception
protected WfActivityInternal getActivityImpl(java.lang.String procId, java.lang.String actId, int mode) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |