Class EditAppearanceCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<S,E>
com.echothree.util.server.control.BaseAbstractEditCommand<AppearanceSpec,AppearanceEdit,EditAppearanceResult,Appearance,Appearance>
com.echothree.control.user.core.server.command.EditAppearanceCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator
,ExecutionWarningAccumulator
,SecurityMessageAccumulator
public class EditAppearanceCommand
extends BaseAbstractEditCommand<AppearanceSpec,AppearanceEdit,EditAppearanceResult,Appearance,Appearance>
-
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
ConstructorsConstructorDescriptionEditAppearanceCommand
(UserVisitPK userVisitPK, EditAppearanceForm form) Creates a new instance of EditAppearanceCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
canUpdate
(Appearance appearance) void
doLock
(AppearanceEdit edit, Appearance appearance) void
doUpdate
(Appearance appearance) void
fillInResult
(EditAppearanceResult result, Appearance appearance) getEdit()
getEntity
(EditAppearanceResult result) getLockEntity
(Appearance appearance) 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
-
EditAppearanceCommand
Creates a new instance of EditAppearanceCommand
-
-
Method Details
-
getResult
- Specified by:
getResult
in classBaseAbstractEditCommand<AppearanceSpec,
AppearanceEdit, EditAppearanceResult, Appearance, Appearance>
-
getEdit
- Specified by:
getEdit
in classBaseAbstractEditCommand<AppearanceSpec,
AppearanceEdit, EditAppearanceResult, Appearance, Appearance>
-
getEntity
- Specified by:
getEntity
in classBaseAbstractEditCommand<AppearanceSpec,
AppearanceEdit, EditAppearanceResult, Appearance, Appearance>
-
getLockEntity
- Specified by:
getLockEntity
in classBaseAbstractEditCommand<AppearanceSpec,
AppearanceEdit, EditAppearanceResult, Appearance, Appearance>
-
fillInResult
- Specified by:
fillInResult
in classBaseAbstractEditCommand<AppearanceSpec,
AppearanceEdit, EditAppearanceResult, Appearance, Appearance>
-
doLock
- Specified by:
doLock
in classBaseAbstractEditCommand<AppearanceSpec,
AppearanceEdit, EditAppearanceResult, Appearance, Appearance>
-
canUpdate
- Overrides:
canUpdate
in classBaseAbstractEditCommand<AppearanceSpec,
AppearanceEdit, EditAppearanceResult, Appearance, Appearance>
-
doUpdate
- Specified by:
doUpdate
in classBaseAbstractEditCommand<AppearanceSpec,
AppearanceEdit, EditAppearanceResult, Appearance, Appearance>
-