Class EditItemVolumeCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<S,E>
com.echothree.util.server.control.BaseAbstractEditCommand<ItemVolumeSpec,ItemVolumeEdit,EditItemVolumeResult,ItemVolume,Item>
com.echothree.control.user.item.server.command.EditItemVolumeCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator
,ExecutionWarningAccumulator
,SecurityMessageAccumulator
public class EditItemVolumeCommand
extends BaseAbstractEditCommand<ItemVolumeSpec,ItemVolumeEdit,EditItemVolumeResult,ItemVolume,Item>
-
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
ConstructorsConstructorDescriptionEditItemVolumeCommand
(UserVisitPK userVisitPK, EditItemVolumeForm form) Creates a new instance of EditItemVolumeCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
canUpdate
(ItemVolume itemVolume) void
doLock
(ItemVolumeEdit edit, ItemVolume itemVolume) void
doUpdate
(ItemVolume itemVolume) void
fillInResult
(EditItemVolumeResult result, ItemVolume itemVolume) getEdit()
getEntity
(EditItemVolumeResult result) getLockEntity
(ItemVolume itemVolume) 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
-
EditItemVolumeCommand
Creates a new instance of EditItemVolumeCommand
-
-
Method Details
-
getResult
- Specified by:
getResult
in classBaseAbstractEditCommand<ItemVolumeSpec,
ItemVolumeEdit, EditItemVolumeResult, ItemVolume, Item>
-
getEdit
- Specified by:
getEdit
in classBaseAbstractEditCommand<ItemVolumeSpec,
ItemVolumeEdit, EditItemVolumeResult, ItemVolume, Item>
-
getEntity
- Specified by:
getEntity
in classBaseAbstractEditCommand<ItemVolumeSpec,
ItemVolumeEdit, EditItemVolumeResult, ItemVolume, Item>
-
getLockEntity
- Specified by:
getLockEntity
in classBaseAbstractEditCommand<ItemVolumeSpec,
ItemVolumeEdit, EditItemVolumeResult, ItemVolume, Item>
-
fillInResult
- Specified by:
fillInResult
in classBaseAbstractEditCommand<ItemVolumeSpec,
ItemVolumeEdit, EditItemVolumeResult, ItemVolume, Item>
-
doLock
- Specified by:
doLock
in classBaseAbstractEditCommand<ItemVolumeSpec,
ItemVolumeEdit, EditItemVolumeResult, ItemVolume, Item>
-
canUpdate
- Overrides:
canUpdate
in classBaseAbstractEditCommand<ItemVolumeSpec,
ItemVolumeEdit, EditItemVolumeResult, ItemVolume, Item>
-
doUpdate
- Specified by:
doUpdate
in classBaseAbstractEditCommand<ItemVolumeSpec,
ItemVolumeEdit, EditItemVolumeResult, ItemVolume, Item>
-