Class EditInventoryConditionCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<S,E>
com.echothree.util.server.control.BaseAbstractEditCommand<InventoryConditionUniversalSpec,InventoryConditionEdit,EditInventoryConditionResult,InventoryCondition,InventoryCondition>
com.echothree.control.user.inventory.server.command.EditInventoryConditionCommand
- 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
ConstructorsConstructorDescriptionEditInventoryConditionCommand
(UserVisitPK userVisitPK, EditInventoryConditionForm form) Creates a new instance of EditInventoryConditionCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
canUpdate
(InventoryCondition inventoryCondition) void
doLock
(InventoryConditionEdit edit, InventoryCondition inventoryCondition) void
doUpdate
(InventoryCondition inventoryCondition) void
fillInResult
(EditInventoryConditionResult result, InventoryCondition inventoryCondition) getEdit()
getLockEntity
(InventoryCondition inventoryCondition) 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
-
EditInventoryConditionCommand
Creates a new instance of EditInventoryConditionCommand
-
-
Method Details
-
getResult
-
getEdit
-
getEntity
-
getLockEntity
-
fillInResult
public void fillInResult(EditInventoryConditionResult result, InventoryCondition inventoryCondition) -
doLock
-
canUpdate
-
doUpdate
-