Class EditSecurityRoleCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<S,E>
com.echothree.util.server.control.BaseAbstractEditCommand<SecurityRoleSpec,SecurityRoleEdit,EditSecurityRoleResult,SecurityRole,SecurityRole>
com.echothree.control.user.security.server.command.EditSecurityRoleCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator
,ExecutionWarningAccumulator
,SecurityMessageAccumulator
-
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
ConstructorsConstructorDescriptionEditSecurityRoleCommand
(UserVisitPK userVisitPK, EditSecurityRoleForm form) Creates a new instance of EditSecurityRoleCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
canUpdate
(SecurityRole securityRole) void
doLock
(SecurityRoleEdit edit, SecurityRole securityRole) void
doUpdate
(SecurityRole securityRole) void
fillInResult
(EditSecurityRoleResult result, SecurityRole securityRole) getEdit()
getEntity
(EditSecurityRoleResult result) getLockEntity
(SecurityRole securityRole) 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
-
EditSecurityRoleCommand
Creates a new instance of EditSecurityRoleCommand
-
-
Method Details
-
getResult
- Specified by:
getResult
in classBaseAbstractEditCommand<SecurityRoleSpec,
SecurityRoleEdit, EditSecurityRoleResult, SecurityRole, SecurityRole>
-
getEdit
- Specified by:
getEdit
in classBaseAbstractEditCommand<SecurityRoleSpec,
SecurityRoleEdit, EditSecurityRoleResult, SecurityRole, SecurityRole>
-
getEntity
- Specified by:
getEntity
in classBaseAbstractEditCommand<SecurityRoleSpec,
SecurityRoleEdit, EditSecurityRoleResult, SecurityRole, SecurityRole>
-
getLockEntity
- Specified by:
getLockEntity
in classBaseAbstractEditCommand<SecurityRoleSpec,
SecurityRoleEdit, EditSecurityRoleResult, SecurityRole, SecurityRole>
-
fillInResult
- Specified by:
fillInResult
in classBaseAbstractEditCommand<SecurityRoleSpec,
SecurityRoleEdit, EditSecurityRoleResult, SecurityRole, SecurityRole>
-
doLock
- Specified by:
doLock
in classBaseAbstractEditCommand<SecurityRoleSpec,
SecurityRoleEdit, EditSecurityRoleResult, SecurityRole, SecurityRole>
-
canUpdate
-
doUpdate
- Specified by:
doUpdate
in classBaseAbstractEditCommand<SecurityRoleSpec,
SecurityRoleEdit, EditSecurityRoleResult, SecurityRole, SecurityRole>
-