| de.danet.an.workflow.domain.DefaultAuditEvent de.danet.an.workflow.domain.DefaultStateAuditEvent
All known Subclasses: de.danet.an.workflow.domain.DefaultProcessClosedAuditEvent,
DefaultStateAuditEvent | public class DefaultStateAuditEvent extends DefaultAuditEvent implements WfStateAuditEvent(Code) | | A DefaultStateAuditEvent implements an audit record of
information for a WfExecutionObject 's state change.
|
Constructor Summary | |
public | DefaultStateAuditEvent(WfAuditEvent baseInfo, String oldState, String newState) Creates a new DefaultStateAuditEvent assigning the given
attributes. | public | DefaultStateAuditEvent(WfAuditEvent baseInfo, String oldState, String newState, boolean skip) Creates a new DefaultStateAuditEvent assigning the given
attributes.
Parameters: baseInfo - a WfAuditEvent containing furtherinformation for the event. Parameters: oldState - the attribute oldData . Parameters: newState - the attribute newData . Parameters: skip - if true the event will not be processed(i.e. | protected | DefaultStateAuditEvent(Object source, DefaultStateAuditEvent baseInfo) Creates a new DefaultStateAuditEvent with the
given source and all other attributes copied from the given
event. |
Method Summary | |
public String | newState() Returns the current value of the attribute newState . | public String | oldState() Returns the current value of the attribute oldState . | public DefaultAuditEvent | replaceSource(Object source) Return a new audit event object with the source attribute
replaced with the given object.
Parameters: source - the new source attribute. | public String | toString() Returns a textual representation of the event. |
DefaultStateAuditEvent | public DefaultStateAuditEvent(WfAuditEvent baseInfo, String oldState, String newState) throws IllegalArgumentException(Code) | | Creates a new DefaultStateAuditEvent assigning the given
attributes.
Parameters: baseInfo - a WfAuditEvent containing furtherinformation for the event. Parameters: oldState - the attribute oldData . Parameters: newState - the attribute newData . throws: IllegalArgumentException - in case of a given illegal event type |
DefaultStateAuditEvent | public DefaultStateAuditEvent(WfAuditEvent baseInfo, String oldState, String newState, boolean skip) throws IllegalArgumentException(Code) | | Creates a new DefaultStateAuditEvent assigning the given
attributes.
Parameters: baseInfo - a WfAuditEvent containing furtherinformation for the event. Parameters: oldState - the attribute oldData . Parameters: newState - the attribute newData . Parameters: skip - if true the event will not be processed(i.e. fed back to the engine) when retrieved from the event queue. throws: IllegalArgumentException - in case of a given illegal event type |
DefaultStateAuditEvent | protected DefaultStateAuditEvent(Object source, DefaultStateAuditEvent baseInfo)(Code) | | Creates a new DefaultStateAuditEvent with the
given source and all other attributes copied from the given
event.
Parameters: source - the value for the source attribute. Parameters: baseInfo - a DefaultStateAuditEvent containing further information for the event. |
newState | public String newState()(Code) | | Returns the current value of the attribute newState .
the current value of the attribute. |
oldState | public String oldState()(Code) | | Returns the current value of the attribute oldState .
the current value of the attribute. |
replaceSource | public DefaultAuditEvent replaceSource(Object source)(Code) | | Return a new audit event object with the source attribute
replaced with the given object.
Parameters: source - the new source attribute. the new audit event. |
toString | public String toString()(Code) | | Returns a textual representation of the event.
the textual representation |
|
|