Class EditCommandCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<S,E>
com.echothree.util.server.control.BaseAbstractEditCommand<CommandSpec,CommandEdit,EditCommandResult,Command,Command>
com.echothree.control.user.core.server.command.EditCommandCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator
,ExecutionWarningAccumulator
,SecurityMessageAccumulator
public class EditCommandCommand
extends BaseAbstractEditCommand<CommandSpec,CommandEdit,EditCommandResult,Command,Command>
-
Field Summary
Fields inherited from class com.echothree.util.server.control.BaseEditCommand
edit, editMode, spec
Fields inherited from class com.echothree.util.server.control.BaseCommand
session
-
Constructor Summary
ConstructorsConstructorDescriptionEditCommandCommand
(UserVisitPK userVisitPK, EditCommandForm form) Creates a new instance of EditCommandCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
doLock
(CommandEdit edit, Command command) void
void
fillInResult
(EditCommandResult result, Command command) getEdit()
getEntity
(EditCommandResult result) getLockEntity
(Command command) Methods inherited from class com.echothree.util.server.control.BaseAbstractEditCommand
canEdit, editModeToEntityPermission, execute, getBaseResultAfterErrors, saveResultAfterEditValidatorErrors
Methods inherited from class com.echothree.util.server.control.BaseEditCommand
getEditFieldDefinitions, getEntityLockControl, getEntityLockTransfer, getEntityLockTransfer, getEntityLockTransfer, getSpecFieldDefinitions, isEntityLocked, isEntityLocked, isEntityLocked, lockEntity, lockEntity, lockEntity, lockEntityForUpdate, lockEntityForUpdate, lockEntityForUpdate, setEditFieldDefinitions, setSpecFieldDefinitions, setupValidatorForEdit, setupValidatorForSpec, unlockEntity, unlockEntity, unlockEntity, validate, validateEdit, validateLock, validateSpec, validateUpdate
Methods inherited from class com.echothree.util.server.control.BaseCommand
addExecutionError, addExecutionError, addExecutionWarning, addExecutionWarning, addSecurityMessage, addSecurityMessage, canSpecifyParty, checkCommandSecurityDefinition, checkOptionalSecurityRoles, 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, setupSession, setUserVisitPK, teardownSession
-
Constructor Details
-
EditCommandCommand
Creates a new instance of EditCommandCommand
-
-
Method Details
-
getResult
- Specified by:
getResult
in classBaseAbstractEditCommand<CommandSpec,
CommandEdit, EditCommandResult, Command, Command>
-
getEdit
- Specified by:
getEdit
in classBaseAbstractEditCommand<CommandSpec,
CommandEdit, EditCommandResult, Command, Command>
-
getEntity
- Specified by:
getEntity
in classBaseAbstractEditCommand<CommandSpec,
CommandEdit, EditCommandResult, Command, Command>
-
getLockEntity
- Specified by:
getLockEntity
in classBaseAbstractEditCommand<CommandSpec,
CommandEdit, EditCommandResult, Command, Command>
-
fillInResult
- Specified by:
fillInResult
in classBaseAbstractEditCommand<CommandSpec,
CommandEdit, EditCommandResult, Command, Command>
-
doLock
- Specified by:
doLock
in classBaseAbstractEditCommand<CommandSpec,
CommandEdit, EditCommandResult, Command, Command>
-
canUpdate
- Overrides:
canUpdate
in classBaseAbstractEditCommand<CommandSpec,
CommandEdit, EditCommandResult, Command, Command>
-
doUpdate
- Specified by:
doUpdate
in classBaseAbstractEditCommand<CommandSpec,
CommandEdit, EditCommandResult, Command, Command>
-