|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a history event object used to log actions performed within the
Process Manager engine run-time. An object implementing the
IHistoryEvent
interface may be constructed by using the
HistoryEventFactory
class and logged to the system's back-end
storage via the IProcessInstance
method
addHistoryEvent
.
HistoryEventFactory
,
IProcessInstance
Field Summary | |
static int |
ASSIGNMENT
History event type for events logged during the assignment of a work item. |
static int |
AUTOMATED_STEP
History event type for an engine initiated action. |
static int |
COMPLETION
History event type for events logged during the completion of a work item. |
static int |
DELEGATE
History event type for events logged during the delegation of a work item. |
static int |
EXCEPTION
History event type for events logged during the creation of an exception work item. |
static int |
EXCEPTION_EVENT
History event type for an exception event. |
static int |
EXPIRE
History event type for events logged during the expiration of a work item. |
static int |
EXTEND
History event type for events logged during the extension of a work item's expiration date. |
static int |
FORCE_COMPLETION
History event type for events logged during the moving of a work item from one node to another node. |
static int |
LOG
History event type for events logged by the user for informational purposes. |
static int |
MANAGEMENT_EVENT
History event type for an administrative action. |
static int |
RETRY
History event type for events logged during the retrying of an exception work item. |
static int |
SAVE
History event type for events logged during the saving of a work item. |
static int |
SET_EXPIRATION
History event type for events logged during the setting of a work item's expiration date. |
static int |
START
History event type for events logged during the starting of a work item. |
static int |
TERMINATE
History event type for events logged during the termination of a process instance. |
static int |
USER_ACTION
History event type for a user initiated action. |
Method Summary | |
java.util.Hashtable |
dumpState()
Returns the properties of the history event in a hashtable. |
java.lang.String |
getApplicationName()
Returns the name of the application the history event was logged under. |
java.lang.String |
getComment()
Returns the user comment logged with the history event. |
java.util.Date |
getEventDate()
Returns the date the history event was logged. |
java.lang.String |
getEventId()
Returns the event id of the history event. |
int |
getEventType()
Returns the type of the history event. |
java.lang.String |
getUserId()
Returns the user id of the authenticated user that was responsible for logging this history event. |
IWorkItemPK |
getWIPrimaryKey()
Returns the primary key of the work item used to create the history event with. |
Field Detail |
public static final int USER_ACTION
COMPLETION
and SAVE
to make their code
more readable.public static final int AUTOMATED_STEP
public static final int MANAGEMENT_EVENT
public static final int EXCEPTION_EVENT
public static final int ASSIGNMENT
USER_ACTION
, even though both values are equivalent as
using this value should make code more readable.USER_ACTION
public static final int COMPLETION
USER_ACTION
, even though both values are equivalent as
using this value should make code more readable.USER_ACTION
public static final int SAVE
USER_ACTION
, even though both values are equivalent as
using this value should make code more readable.USER_ACTION
public static final int START
USER_ACTION
, even though both values are equivalent as
using this value should make code more readable.USER_ACTION
public static final int DELEGATE
USER_ACTION
, even though both values are equivalent as
using this value should make code more readable.USER_ACTION
public static final int EXCEPTION
EXCEPTION_EVENT
, even though both values are equivalent
as using this value should make code more readable.EXCEPTION_EVENT
public static final int TERMINATE
MANAGEMENT_EVENT
, even though both values are equivalent
as using this value should make code more readable.MANAGEMENT_EVENT
public static final int SET_EXPIRATION
USER_ACTION
, even though both values are equivalent
as using this value should make code more readable.USER_ACTION
public static final int EXPIRE
AUTOMATED_STEP
, even though both values are equivalent
as using this value should make code more readable.AUTOMATED_STEP
public static final int EXTEND
USER_ACTION
, even though both values are equivalent
as using this value should make code more readable.USER_ACTION
public static final int RETRY
USER_ACTION
, even though both values are equivalent
as using this value should make code more readable.USER_ACTION
public static final int FORCE_COMPLETION
MANAGEMENT_EVENT
, even though both values are equivalent
as using this value should make code more readable.MANAGEMENT_EVENT
public static final int LOG
MANAGEMENT_EVENT
, even though both values are
equivalent as using this value should make code more readable.MANAGEMENT_EVENT
Method Detail |
public java.lang.String getEventId()
Workitem saved by admin
public java.util.Date getEventDate()
public int getEventType()
USER_ACTION
,
AUTOMATED_STEP
,
MANAGEMENT_EVENT
,
EXCEPTION_EVENT
public IWorkItemPK getWIPrimaryKey()
IWorkItemPK
public java.lang.String getUserId()
public java.lang.String getComment()
HistoryEventFactory.create( IWorkItem, String, String )
public java.lang.String getApplicationName()
public java.util.Hashtable dumpState()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |