public class CreateConversationAction extends CreateAction
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ACTIONSPECIFICATION_NAME
The name of the default ActionSpecification for this type of action.
|
static AuditEventTypeDefinition |
EVENTTYPE_CONVERSATION_CREATED
The AuditEventTypeDefinition for the CONVERSATION_CREATED action.
|
EVENTTYPE_CREATED
Constructor and Description |
---|
CreateConversationAction()
Constructs a CreateConversationAction to be used as an ActionFactory.
|
CreateConversationAction(ActionFactory factory)
Constructs a "pending" CreateConversationAction, to be used to execute a new Action.
|
CreateConversationAction(ActionFactory factory,
AuditEvent event)
Constructs an "executed" CreateConversationAction, reflecting a previously
executed Action.
|
Modifier and Type | Method and Description |
---|---|
Action |
constructExecutedAction(AuditEvent event)
Construct an instance reflecting a previously executed Action.
|
Action |
constructPendingAction()
Construct an instance of an Action that is not yet executed.
|
AuditEventTypeDefinition |
getAuditEventTypeDefinitionForCreate()
Gets the AuditEventTypeDefinition that should be used when executing a
"create" action.
|
AuditEventTypeDefinition[] |
getAuditEventTypeDefinitions()
Gets the set of AuditEventTypeDefinitions for events
that can be posted by this Action associated with this type of Action.
|
clearAllSettings, execute, isCreated, setCreated
calculateOperationType, dispatchEvent, dispatchEvent, dispatchEvent, dispatchEvent, execute, execute, getActionSpecification, getActionSpecificationId, getActivityRecord, getActor, getAuditEventId, getAuditOperationType, getAuditOperationTypeKey, getAuxiliaryObjects, getAuxiliaryString, getExecutingUserId, getExecutionDate, getFirstAuxiliaryObject, getInstance, getInstance, getPerformedActivityRecord, getProperties, getPropertyTable, getSecondAuxiliaryObject, getSession, getTrackedActivityRecord, isActivityRecordFreed, isActivityRecordUndiscoverable, isActorFreed, isActorUndiscoverable, isFactory, isPendingExecution, isPreviouslyExecuted, postExecute, preExecute, setExecutingActionType
constructActivityEventTypeDefinition, initialize, isInitialized
public static final String DEFAULT_ACTIONSPECIFICATION_NAME
public static final AuditEventTypeDefinition EVENTTYPE_CONVERSATION_CREATED
public CreateConversationAction()
Called from ActionSpecification when initializing the ActionFactory to use for that specific ActionSpecification.
public CreateConversationAction(ActionFactory factory) throws IfsException
factory
- the ActionFactory used to construct this instanceIfsException
- if operation failspublic CreateConversationAction(ActionFactory factory, AuditEvent event) throws IfsException
factory
- the ActionFactory used to construct this instanceevent
- The event that was posted as part of the
previously executed Action.IfsException
- if operation failspublic Action constructPendingAction() throws IfsException
constructPendingAction
in class CreateAction
IfsException
- if the operation fails.public Action constructExecutedAction(AuditEvent event) throws IfsException
constructExecutedAction
in class CreateAction
event
- The event that was posted as part of the
previously executed Action.IfsException
- if the operation fails.public AuditEventTypeDefinition[] getAuditEventTypeDefinitions()
getAuditEventTypeDefinitions
in class CreateAction
public AuditEventTypeDefinition getAuditEventTypeDefinitionForCreate()
getAuditEventTypeDefinitionForCreate
in class CreateAction
Copyright © 2023. All rights reserved.