Class EditProfileCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<PartySpec,ProfileEdit>
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
@RequestScoped
public class EditProfileCommand
extends BaseAbstractEditCommand<PartySpec,ProfileEdit,EditProfileResult,Profile,Party>
-
Field Summary
Fields inherited from class com.echothree.util.server.control.BaseEditCommand
edit, editMode, specFields inherited from class com.echothree.util.server.control.BaseCommand
commandControl, componentControl, coreControl, entityTypeControl, eventControl, securityRoleLogic, session, userControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoiddoLock(ProfileEdit edit, Profile profile) voidvoidfillInResult(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, saveResultAfterEditValidatorErrorsMethods inherited from class com.echothree.util.server.control.BaseEditCommand
getEntityLockControl, getEntityLockTransfer, getEntityLockTransfer, getEntityLockTransfer, getSpecFieldDefinitions, isEntityLocked, isEntityLocked, isEntityLocked, lockEntity, lockEntity, lockEntity, lockEntityForUpdate, lockEntityForUpdate, lockEntityForUpdate, run, runAsync, setEditFieldDefinitions, setSpecFieldDefinitions, setupValidatorForEdit, setupValidatorForSpec, unlockEntity, unlockEntity, unlockEntity, validate, validateEdit, validateLock, validateSpec, validateUpdateMethods inherited from class com.echothree.util.server.control.BaseCommand
addExecutionError, addExecutionError, addExecutionWarning, addExecutionWarning, addSecurityMessage, addSecurityMessage, canSpecifyParty, checkCommandSecurityDefinition, checkOptionalSecurityRoles, getCheckIdentityVerifiedTime, getCommandName, getCommandSecurityDefinition, getCompanyParty, getComponentVendorName, 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
public EditProfileCommand()Creates a new instance of EditProfileCommand
-
-
Method Details
-
getEditFieldDefinitions
- Overrides:
getEditFieldDefinitionsin classBaseEditCommand<PartySpec,ProfileEdit>
-
getResult
- Specified by:
getResultin classBaseAbstractEditCommand<PartySpec,ProfileEdit, EditProfileResult, Profile, Party>
-
getEdit
- Specified by:
getEditin classBaseAbstractEditCommand<PartySpec,ProfileEdit, EditProfileResult, Profile, Party>
-
getEntity
- Specified by:
getEntityin classBaseAbstractEditCommand<PartySpec,ProfileEdit, EditProfileResult, Profile, Party>
-
getLockEntity
- Specified by:
getLockEntityin classBaseAbstractEditCommand<PartySpec,ProfileEdit, EditProfileResult, Profile, Party>
-
fillInResult
- Specified by:
fillInResultin classBaseAbstractEditCommand<PartySpec,ProfileEdit, EditProfileResult, Profile, Party>
-
doLock
- Specified by:
doLockin classBaseAbstractEditCommand<PartySpec,ProfileEdit, EditProfileResult, Profile, Party>
-
canUpdate
- Overrides:
canUpdatein classBaseAbstractEditCommand<PartySpec,ProfileEdit, EditProfileResult, Profile, Party>
-
doUpdate
- Specified by:
doUpdatein classBaseAbstractEditCommand<PartySpec,ProfileEdit, EditProfileResult, Profile, Party>
-