Class EditServerCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<ServerSpec,ServerEdit>
com.echothree.util.server.control.BaseAbstractEditCommand<ServerSpec,ServerEdit,EditServerResult,Server,Server>
com.echothree.control.user.core.server.command.EditServerCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
@RequestScoped
public class EditServerCommand
extends BaseAbstractEditCommand<ServerSpec,ServerEdit,EditServerResult,Server,Server>
-
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 TypeMethodDescriptionvoidvoiddoLock(ServerEdit edit, Server server) voidvoidfillInResult(EditServerResult result, Server server) getEdit()getEntity(EditServerResult result) getLockEntity(Server server) Methods inherited from class com.echothree.util.server.control.BaseAbstractEditCommand
canEdit, editModeToEntityPermission, execute, getBaseResultAfterErrors, saveResultAfterEditValidatorErrorsMethods inherited from class com.echothree.util.server.control.BaseEditCommand
getEditFieldDefinitions, 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
-
EditServerCommand
public EditServerCommand()Creates a new instance of EditServerCommand
-
-
Method Details
-
getResult
- Specified by:
getResultin classBaseAbstractEditCommand<ServerSpec,ServerEdit, EditServerResult, Server, Server>
-
getEdit
- Specified by:
getEditin classBaseAbstractEditCommand<ServerSpec,ServerEdit, EditServerResult, Server, Server>
-
getEntity
- Specified by:
getEntityin classBaseAbstractEditCommand<ServerSpec,ServerEdit, EditServerResult, Server, Server>
-
getLockEntity
- Specified by:
getLockEntityin classBaseAbstractEditCommand<ServerSpec,ServerEdit, EditServerResult, Server, Server>
-
fillInResult
- Specified by:
fillInResultin classBaseAbstractEditCommand<ServerSpec,ServerEdit, EditServerResult, Server, Server>
-
doLock
- Specified by:
doLockin classBaseAbstractEditCommand<ServerSpec,ServerEdit, EditServerResult, Server, Server>
-
canUpdate
- Overrides:
canUpdatein classBaseAbstractEditCommand<ServerSpec,ServerEdit, EditServerResult, Server, Server>
-
doUpdate
- Specified by:
doUpdatein classBaseAbstractEditCommand<ServerSpec,ServerEdit, EditServerResult, Server, Server>
-