Package lumis.content.workflow
Class WorkflowActionExecutedEvent
- java.lang.Object
-
- lumis.portal.event.AbstractPortalEvent
-
- lumis.portal.event.AbstractTransactionalPortalEvent
-
- lumis.content.workflow.WorkflowActionExecutedEvent
-
- All Implemented Interfaces:
IPortalEvent
@StableMinor(version="17.0", sinceVersion="10.0") public class WorkflowActionExecutedEvent extends AbstractTransactionalPortalEvent
Event generated when a content's workflow action is executed.- Since:
- 10.0.0
- Version:
- $Revision$ $Date$
- See Also:
IWorkflowManager.executeAction(SessionConfig, ContentLocale, String, String, ITransaction)
,IPortalEventObserver
,IPortalEventManager.notifyObservers(lumis.portal.event.IPortalEvent)
-
-
Constructor Summary
Constructors Constructor Description WorkflowActionExecutedEvent(SessionConfig sessionConfig, ContentLocale contentLocale, ContentWorkflowMetaData originalContentWorkflowMetaData, ContentWorkflowMetaData updatedContentWorkflowMetaData, ITransaction transaction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentLocale
getContentLocale()
Returns the ContentLocale on which the workflow action was executed.ContentWorkflowMetaData
getOriginalContentWorkflowMetaData()
Returns theContentWorkflowMetaData
value that existed before the action being executed.ContentWorkflowMetaData
getUpdatedContentWorkflowMetaData()
Returns theContentWorkflowMetaData
value after the action was executed.-
Methods inherited from class lumis.portal.event.AbstractTransactionalPortalEvent
getSessionConfig, getTransaction
-
Methods inherited from class lumis.portal.event.AbstractPortalEvent
getEventGroups, getOperationType, setEventGroups, setOperationType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.event.IPortalEvent
toString
-
-
-
-
Constructor Detail
-
WorkflowActionExecutedEvent
public WorkflowActionExecutedEvent(SessionConfig sessionConfig, ContentLocale contentLocale, ContentWorkflowMetaData originalContentWorkflowMetaData, ContentWorkflowMetaData updatedContentWorkflowMetaData, ITransaction transaction)
-
-
Method Detail
-
getContentLocale
public ContentLocale getContentLocale()
Returns the ContentLocale on which the workflow action was executed.- Returns:
- the ContentLocale.
- Since:
- 10.0.0
-
getOriginalContentWorkflowMetaData
public ContentWorkflowMetaData getOriginalContentWorkflowMetaData()
Returns theContentWorkflowMetaData
value that existed before the action being executed.- Returns:
- the original
ContentWorkflowMetaData
, ornull
if there was none. - Since:
- 10.0.0
-
getUpdatedContentWorkflowMetaData
public ContentWorkflowMetaData getUpdatedContentWorkflowMetaData()
Returns theContentWorkflowMetaData
value after the action was executed.- Returns:
- the updated
ContentWorkflowMetaData
. - Since:
- 10.0.0
-
-