public class ConverseAction extends MessageAction
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ACTIONSPECIFICATION_NAME
The name of the default ActionSpecification for this type of action.
|
EVENTTYPE_MESSAGE_ADDED, EVENTTYPE_MESSAGE_EDITED, EVENTTYPE_MESSAGE_REMOVED| Constructor and Description |
|---|
ConverseAction()
Constructs a ConverseAction to be used as an ActionFactory.
|
ConverseAction(ActionFactory factory)
Constructs a "pending" ConverseAction, to be used to execute a new Action.
|
ConverseAction(ActionFactory factory,
AuditEvent event)
Constructs an "executed" ConverseAction, 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.
|
void |
editMessage(MessageEntry me,
String message)
Edits an existing message, prior to execution.
|
void |
removeMessage(MessageEntry me)
Removes an existing message, prior to execution.
|
addAttachment, addMessage, addMessage, clearAllSettings, editMessage, execute, getAttachementList, getAuditEventTypeDefinitionForAdd, getAuditEventTypeDefinitionForEdit, getAuditEventTypeDefinitionForRemove, getAuditEventTypeDefinitions, getMessage, getMessageEntry, getMessageEntryName, getReferencedMessageEntry, isMessageAdded, isMessageEdited, isMessageRemovedcalculateOperationType, 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, setExecutingActionTypeconstructActivityEventTypeDefinition, initialize, isInitializedpublic static final String DEFAULT_ACTIONSPECIFICATION_NAME
public ConverseAction()
Called from ActionSpecification when initializing the ActionFactory to use for that specific ActionSpecification.
public ConverseAction(ActionFactory factory) throws IfsException
factory - the ActionFactory used to construct this instanceIfsException - if operation failspublic ConverseAction(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 MessageActionIfsException - if the operation fails.public Action constructExecutedAction(AuditEvent event) throws IfsException
constructExecutedAction in class MessageActionevent - The event that was posted as part of the
previously executed Action.IfsException - if the operation fails.public void removeMessage(MessageEntry me) throws IfsException
Overridden to disallow this action.
removeMessage in class MessageActionme - the MessageEntry that represents the message to removeIfsException - if operation failspublic void editMessage(MessageEntry me, String message) throws IfsException
Overridden to disallow this action.
me - the MessageEntry that represents the message to editmessage - the new messageIfsException - if operation failsCopyright © 2025. All rights reserved.