Class EditLocationCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<LocationSpec,LocationEdit>
com.echothree.util.server.control.BaseAbstractEditCommand<LocationSpec,LocationEdit,EditLocationResult,Location,Location>
com.echothree.control.user.warehouse.server.command.EditLocationCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
@Dependent
public class EditLocationCommand
extends BaseAbstractEditCommand<LocationSpec,LocationEdit,EditLocationResult,Location,Location>
-
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(LocationEdit edit, Location location) voidvoidfillInResult(EditLocationResult result, Location location) getEdit()getEntity(EditLocationResult result) getLockEntity(Location location) 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, 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
-
EditLocationCommand
public EditLocationCommand()Creates a new instance of EditLocationCommand
-
-
Method Details
-
getResult
- Specified by:
getResultin classBaseAbstractEditCommand<LocationSpec,LocationEdit, EditLocationResult, Location, Location>
-
getEdit
- Specified by:
getEditin classBaseAbstractEditCommand<LocationSpec,LocationEdit, EditLocationResult, Location, Location>
-
getEntity
- Specified by:
getEntityin classBaseAbstractEditCommand<LocationSpec,LocationEdit, EditLocationResult, Location, Location>
-
getLockEntity
- Specified by:
getLockEntityin classBaseAbstractEditCommand<LocationSpec,LocationEdit, EditLocationResult, Location, Location>
-
fillInResult
- Specified by:
fillInResultin classBaseAbstractEditCommand<LocationSpec,LocationEdit, EditLocationResult, Location, Location>
-
doLock
- Specified by:
doLockin classBaseAbstractEditCommand<LocationSpec,LocationEdit, EditLocationResult, Location, Location>
-
canUpdate
- Overrides:
canUpdatein classBaseAbstractEditCommand<LocationSpec,LocationEdit, EditLocationResult, Location, Location>
-
doUpdate
- Specified by:
doUpdatein classBaseAbstractEditCommand<LocationSpec,LocationEdit, EditLocationResult, Location, Location>
-