|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.engine.WfEventConfiguration
WfEventConfiguration
controls the execution behavior of
the obejct. For example, it holds information about which events are
recorded and/or emitted. The execution behavior is represented by a
set of boolean flags (true/false) and stored as bits in a long integer.
The position of the bit determines its function. It is used both by
the WfExecutionObject and WfProcessTemplate classes.
Supported API: false
Extendable: false
Field Summary | |
private static boolean |
ABORT_ON_EXCEPTION
|
private static boolean |
ABORT_PROCESS_ON_EXCEPTION
|
private static long |
abortOnException
|
private static long |
abortProcessOnException
|
private static boolean |
ACT_ON_OVERDUE
|
private static long |
actOnOverdue
|
private static boolean |
ASYNCHRONOUS_EXECUTION
|
private static long |
asynchronousExecution
|
private static String |
CLASSNAME
|
private static boolean |
COMPLETE_ON_OVERDUE
|
private static long |
completeOnOverdue
|
private long |
configuration
|
private static boolean |
CREATE_INSTANCE
|
private static long |
createInstance
|
private static boolean |
DEDICATED_QUEUE
|
private static long |
dedicatedQueue
|
private static boolean |
DOMAIN_BASED_WORKFLOW
|
private static long |
domainBasedWorkflow
|
private static boolean |
EMIT_ACTIVITY_DATA_CHANGE
|
private static boolean |
EMIT_ACTIVITY_STATE_CHANGE
|
private static boolean |
EMIT_ASSIGNEE_CHANGE
|
private static boolean |
EMIT_EXCEPTION
|
private static boolean |
EMIT_PROCESS_CREATION
|
private static boolean |
EMIT_PROCESS_DATA_CHANGE
|
private static boolean |
EMIT_PROCESS_STATE_CHANGE
|
private static long |
emitActivityDataChange
|
private static long |
emitActivityStateChange
|
private static long |
emitAssigneeChange
|
private static long |
emitException
|
private static long |
emitProcessCreation
|
private static long |
emitProcessDataChange
|
private static long |
emitProcessStateChange
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static boolean |
IGNORE_UNRESOLVED_ROLE
|
private static long |
ignoreUnresolvedRole
|
private static boolean |
NOTIFY_ON_ABORT
|
private static boolean |
NOTIFY_ON_APPROACHING_DEADLINE
|
private static boolean |
NOTIFY_ON_COMPLETE
|
private static boolean |
NOTIFY_ON_EXCEPTION
|
private static boolean |
NOTIFY_ON_OVERDUE
|
private static boolean |
NOTIFY_ON_PAST_DEADLINE
|
private static long |
notifyOnAbort
|
private static long |
notifyOnApproachingDeadline
|
private static long |
notifyOnComplete
|
private static long |
notifyOnException
|
private static long |
notifyOnOverdue
|
private static long |
notifyOnPastDeadline
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static boolean |
REASSIGN_ON_OVERDUE
|
private static long |
reassignOnOverdue
|
private static boolean |
RECORD_ACTIVITY_DATA_CHANGE
|
private static boolean |
RECORD_ACTIVITY_STATE_CHANGE
|
private static boolean |
RECORD_ASSIGNEE_CHANGE
|
private static boolean |
RECORD_EXCEPTION
|
private static boolean |
RECORD_PROCESS_CREATION
|
private static boolean |
RECORD_PROCESS_DATA_CHANGE
|
private static boolean |
RECORD_PROCESS_STATE_CHANGE
|
private static boolean |
RECORD_VOTING
|
private static long |
recordActivityDataChange
|
private static long |
recordActivityStateChange
|
private static long |
recordAssigneeChange
|
private static long |
recordException
|
private static long |
recordProcessCreation
|
private static long |
recordProcessDataChange
|
private static long |
recordProcessStateChange
|
private static long |
recordVoting
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private static boolean |
SKIP_ON_OVERDUE
|
private static long |
skipOnOverdue
|
private static boolean |
START_COMPUTED
|
private static long |
startComputed
|
Constructor Summary | |
WfEventConfiguration()
Constructs an event configuration object according to the default configuration specified in the wt.properties file. |
|
WfEventConfiguration(long configuration)
Supported API: false |
Method Summary | |
WfEventConfiguration |
copy()
Returns a copy of the event configuration. |
private String |
getEmit(long b1,
long b2)
Returns "E" if there is a match between parameters; "" if not. |
private String |
getRecord(long b1,
long b2)
Returns "R" if there is a match between parameters; "" if not. |
boolean |
isAsynchronousExecution()
Returns true if execution object doesn't terminate when the process in which it is embedded finishes; false otherwise. |
boolean |
isCreateInstance()
Returns whether the execution instance is to be reused or a new one created when a node is visited. |
boolean |
isDedicatedQueue()
Returns true if the execution object has dedicated queues; false otherwise. |
boolean |
isDomainBasedWorkflow()
Returns whether the process instances will run in workflow folders of their PBO or process template - as opposed to the System domain. |
boolean |
isEventEmitted(WfEventAuditType event_type)
Returns whether or the event of the type passed as argument is or not emitted. |
boolean |
isEventRecorded(WfEventAuditType event_type)
Returns whether or the event of the type passed as argument is or not recorded. |
boolean |
isExceptionAction(WfExceptionActionType action_type)
Supported API: false |
boolean |
isIgnoreUnresolvedRole()
Returns true if the unresolved roles in assigned activities should be ignored (no workitem generated); false otherwise. |
boolean |
isNotifyOnApproachingDeadline()
Returns true if notification is sent to responsible role when some pre-specified time before deadline is reached; false otherwise. |
boolean |
isNotifyOnComplete()
Returns true if notification is sent to responsible role when execution object completes; false otherwise. |
boolean |
isNotifyOnPastDeadline()
Returns true if notification is sent to responsible role when some pre-sepecified time after deadline is reached; false otherwise. |
boolean |
isOverdueAction()
Returns true if any of the overdue actions is set; false otherwise. |
boolean |
isOverdueAction(WfOverdueActionType action_type)
Supported API: false |
boolean |
isStartComputed()
Returns whether the time to start is entered (false) or computed (true). |
boolean |
isVotingRecorded()
Supported API: false |
long |
longValue()
Returns permission mask. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(WfEventConfiguration thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setAsynchronousExecution(boolean asynch)
Sets execution synchonicity to the value passed as argument. |
void |
setCreateInstance(boolean create)
Set whether the execution instance is to be reused or a new one created when a node is visited. |
void |
setDedicatedQueue(boolean dedicated)
Sets dedicated queue attribute to the value passed as argument. |
void |
setDomainBasedWorkflow(boolean domFolders)
Sets whether the process instances will run in workflow folders of their PBO or process template - as opposed to the System domain. |
void |
setEventEmitted(WfEventAuditType event_type,
boolean emit)
Sets whether or not emit the event of the type passed as argument. |
void |
setEventRecorded(WfEventAuditType event_type,
boolean record)
Sets whether or not record the event of the type passed as argument. |
void |
setExceptionAction(WfExceptionActionType action_type,
boolean act)
Supported API: false |
void |
setIgnoreUnresolvedRole(boolean ignore)
Sets the properties that controls whether unresolved roles in assigned activities should be ignored (no workitem generated). |
void |
setNotifyOnApproachingDeadline(boolean notify)
Sets notification on approaching deadline attribute to the value passed as argument. |
void |
setNotifyOnComplete(boolean notify)
Sets completion notification attribute to the value passed as argument. |
void |
setNotifyOnPastDeadline(boolean notify)
Sets notification on past deadline attribute to the value passed as argument. |
void |
setOverdueAction(WfOverdueActionType action_type,
boolean act)
Supported API: false |
void |
setStartComputed(boolean computed)
Sets whether the time to start is entered (false) or computed (true). |
void |
setVotingRecorded(boolean record)
Supported API: false |
String |
toString()
Returns a string representation of the connector object. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private long configuration
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final long recordProcessStateChange
private static final boolean RECORD_PROCESS_STATE_CHANGE
private static final long emitProcessStateChange
private static final boolean EMIT_PROCESS_STATE_CHANGE
private static final long recordActivityStateChange
private static final boolean RECORD_ACTIVITY_STATE_CHANGE
private static final long emitActivityStateChange
private static final boolean EMIT_ACTIVITY_STATE_CHANGE
private static final long recordProcessDataChange
private static final boolean RECORD_PROCESS_DATA_CHANGE
private static final long emitProcessDataChange
private static final boolean EMIT_PROCESS_DATA_CHANGE
private static final long recordActivityDataChange
private static final boolean RECORD_ACTIVITY_DATA_CHANGE
private static final long emitActivityDataChange
private static final boolean EMIT_ACTIVITY_DATA_CHANGE
private static final long recordProcessCreation
private static final boolean RECORD_PROCESS_CREATION
private static final long emitProcessCreation
private static final boolean EMIT_PROCESS_CREATION
private static final long recordAssigneeChange
private static final boolean RECORD_ASSIGNEE_CHANGE
private static final long emitAssigneeChange
private static final boolean EMIT_ASSIGNEE_CHANGE
private static final long recordException
private static final boolean RECORD_EXCEPTION
private static final long emitException
private static final boolean EMIT_EXCEPTION
private static final long notifyOnException
private static final boolean NOTIFY_ON_EXCEPTION
private static final long notifyOnAbort
private static final boolean NOTIFY_ON_ABORT
private static final long abortOnException
private static final boolean ABORT_ON_EXCEPTION
private static final long abortProcessOnException
private static final boolean ABORT_PROCESS_ON_EXCEPTION
private static final long notifyOnOverdue
private static final boolean NOTIFY_ON_OVERDUE
private static final long actOnOverdue
private static final boolean ACT_ON_OVERDUE
private static final long reassignOnOverdue
private static final boolean REASSIGN_ON_OVERDUE
private static final long completeOnOverdue
private static final boolean COMPLETE_ON_OVERDUE
private static final long skipOnOverdue
private static final boolean SKIP_ON_OVERDUE
private static final long notifyOnComplete
private static final boolean NOTIFY_ON_COMPLETE
private static final long notifyOnApproachingDeadline
private static final boolean NOTIFY_ON_APPROACHING_DEADLINE
private static final long notifyOnPastDeadline
private static final boolean NOTIFY_ON_PAST_DEADLINE
private static final long asynchronousExecution
private static final boolean ASYNCHRONOUS_EXECUTION
private static final long dedicatedQueue
private static final boolean DEDICATED_QUEUE
private static final long ignoreUnresolvedRole
private static final boolean IGNORE_UNRESOLVED_ROLE
private static final long startComputed
private static final boolean START_COMPUTED
private static final long domainBasedWorkflow
private static final boolean DOMAIN_BASED_WORKFLOW
private static final long createInstance
private static final boolean CREATE_INSTANCE
private static final long recordVoting
private static final boolean RECORD_VOTING
Constructor Detail |
public WfEventConfiguration()
public WfEventConfiguration(long configuration)
configuration
- Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WfEventConfiguration thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void setEventEmitted(WfEventAuditType event_type, boolean emit)
Note that the event types are mapped to the following classes
of audit events: process creation, process state change, process data
change, activity state change, activity data change, assignment change
and execution error.
Supported API: false
event_type
- emit
- public void setEventRecorded(WfEventAuditType event_type, boolean record)
Note that the event types are mapped to the following classes
of audit events: process creation, state change, data change, assignment
change and execution error.
Supported API: false
event_type
- record
- public boolean isEventEmitted(WfEventAuditType event_type)
Note that the event types are mapped to the following classes
of audit events: process creation, process state change, process data
change, activity state change, activity data change, assignment change
and execution error.
Supported API: false
event_type
-
public boolean isEventRecorded(WfEventAuditType event_type)
Note that the event types are mapped to the following classes
of audit events: process creation, process state change, process data
change, activity state change, activity data change, assignment change
and execution error.
Supported API: false
event_type
-
public String toString()
public WfEventConfiguration copy() throws WTException
WTException
public void setExceptionAction(WfExceptionActionType action_type, boolean act)
action_type
- act
- public boolean isExceptionAction(WfExceptionActionType action_type)
action_type
-
public void setOverdueAction(WfOverdueActionType action_type, boolean act)
action_type
- act
- public boolean isOverdueAction(WfOverdueActionType action_type)
action_type
-
public boolean isOverdueAction()
public boolean isAsynchronousExecution()
public void setAsynchronousExecution(boolean asynch)
asynch
- public boolean isNotifyOnComplete()
public void setNotifyOnComplete(boolean notify)
notify
- public boolean isNotifyOnApproachingDeadline()
public void setNotifyOnApproachingDeadline(boolean notify)
notify
- public boolean isNotifyOnPastDeadline()
public void setNotifyOnPastDeadline(boolean notify)
notify
- public boolean isDedicatedQueue()
public void setDedicatedQueue(boolean dedicated)
dedicated
- public boolean isIgnoreUnresolvedRole()
public void setIgnoreUnresolvedRole(boolean ignore)
ignore
- public boolean isStartComputed()
public void setStartComputed(boolean computed)
computed
- public long longValue()
public boolean isDomainBasedWorkflow()
public void setDomainBasedWorkflow(boolean domFolders)
domFolders
- public boolean isCreateInstance()
public void setCreateInstance(boolean create)
create
- public boolean isVotingRecorded()
public void setVotingRecorded(boolean record)
record
- private String getRecord(long b1, long b2)
private String getEmit(long b1, long b2)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |