Class CreateMessageCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseSimpleCommand<CreateMessageForm>
com.echothree.control.user.message.server.command.CreateMessageCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator
,ExecutionWarningAccumulator
,SecurityMessageAccumulator
-
Field Summary
Fields inherited from class com.echothree.util.server.control.BaseSimpleCommand
form
Fields inherited from class com.echothree.util.server.control.BaseCommand
session
-
Constructor Summary
ConstructorsConstructorDescriptionCreateMessageCommand
(UserVisitPK userVisitPK, CreateMessageForm form) Creates a new instance of CreateMessageCommand -
Method Summary
Modifier and TypeMethodDescriptionprotected Message
createMessage
(MessageControl messageControl, MessageType messageType, String messageName, Boolean includeByDefault, Boolean isDefault, Integer sortOrder, MimeType mimeType, ByteArray blobMessage, String clobMessage, String stringMessage, BasePK createdBy) protected BaseResult
execute()
Methods inherited from class com.echothree.util.server.control.BaseSimpleCommand
canQueryByGraphQl, getForm, getFormFieldDefinitions, setupPreferredClobMimeType, setupSession, setupValidator, validate, validate
Methods inherited from class com.echothree.util.server.control.BaseCommand
addExecutionError, addExecutionError, addExecutionWarning, addExecutionWarning, addSecurityMessage, addSecurityMessage, canSpecifyParty, checkCommandSecurityDefinition, checkOptionalSecurityRoles, getBaseResultAfterErrors, getCheckIdentityVerifiedTime, getCommandName, getCommandSecurityDefinition, getCompanyParty, getComponentVendorName, getCoreControl, getEntityInstanceByBasePK, getExecutionErrors, getExecutionWarnings, getInsufficientSecurityResult, getLog, getLogCommand, getParty, getPartyPK, getPartyType, getPartyTypeName, getPreferredCurrency, getPreferredCurrency, getPreferredDateTimeFormat, getPreferredDateTimeFormat, getPreferredLanguage, getPreferredLanguage, getPreferredTimeZone, getPreferredTimeZone, getSecurityMessages, getSession, getUpdateLastCommandTime, getUserControl, getUserSession, getUserVisit, getUserVisitForUpdate, getUserVisitPK, hasExecutionErrors, hasExecutionWarnings, hasSecurityMessages, initSession, removeFilteredTransferProperty, removeOption, run, runAsync, security, selfOnly, sendEvent, sendEvent, sendEvent, setCheckIdentityVerifiedTime, setLogCommand, setUpdateLastCommandTime, setUserVisitPK, teardownSession
-
Constructor Details
-
CreateMessageCommand
Creates a new instance of CreateMessageCommand
-
-
Method Details
-
createMessage
protected Message createMessage(MessageControl messageControl, MessageType messageType, String messageName, Boolean includeByDefault, Boolean isDefault, Integer sortOrder, MimeType mimeType, ByteArray blobMessage, String clobMessage, String stringMessage, BasePK createdBy) -
execute
- Specified by:
execute
in classBaseCommand
-