Class EditProfileCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<S,E>
com.echothree.util.server.control.BaseAbstractEditCommand<PartySpec,ProfileEdit,EditProfileResult,Profile,Party>
com.echothree.control.user.party.server.command.EditProfileCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator
,ExecutionWarningAccumulator
,SecurityMessageAccumulator
public class EditProfileCommand
extends BaseAbstractEditCommand<PartySpec,ProfileEdit,EditProfileResult,Profile,Party>
-
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
ConstructorsConstructorDescriptionEditProfileCommand
(UserVisitPK userVisitPK, EditProfileForm form) Creates a new instance of EditProfileCommand -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
doLock
(ProfileEdit edit, Profile profile) void
void
fillInResult
(EditProfileResult result, Profile profile) getEdit()
protected List<FieldDefinition>
getEntity
(EditProfileResult result) getLockEntity
(Profile profile) 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
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
-
EditProfileCommand
Creates a new instance of EditProfileCommand
-
-
Method Details
-
getEditFieldDefinitions
- Overrides:
getEditFieldDefinitions
in classBaseEditCommand<PartySpec,
ProfileEdit>
-
getResult
- Specified by:
getResult
in classBaseAbstractEditCommand<PartySpec,
ProfileEdit, EditProfileResult, Profile, Party>
-
getEdit
- Specified by:
getEdit
in classBaseAbstractEditCommand<PartySpec,
ProfileEdit, EditProfileResult, Profile, Party>
-
getEntity
- Specified by:
getEntity
in classBaseAbstractEditCommand<PartySpec,
ProfileEdit, EditProfileResult, Profile, Party>
-
getLockEntity
- Specified by:
getLockEntity
in classBaseAbstractEditCommand<PartySpec,
ProfileEdit, EditProfileResult, Profile, Party>
-
fillInResult
- Specified by:
fillInResult
in classBaseAbstractEditCommand<PartySpec,
ProfileEdit, EditProfileResult, Profile, Party>
-
doLock
- Specified by:
doLock
in classBaseAbstractEditCommand<PartySpec,
ProfileEdit, EditProfileResult, Profile, Party>
-
canUpdate
- Overrides:
canUpdate
in classBaseAbstractEditCommand<PartySpec,
ProfileEdit, EditProfileResult, Profile, Party>
-
doUpdate
- Specified by:
doUpdate
in classBaseAbstractEditCommand<PartySpec,
ProfileEdit, EditProfileResult, Profile, Party>
-