Class EditItemPriceCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<S,E>
com.echothree.util.server.control.BaseAbstractEditCommand<ItemPriceSpec,ItemPriceEdit,EditItemPriceResult,ItemPrice,ItemPrice>
com.echothree.control.user.item.server.command.EditItemPriceCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator
,ExecutionWarningAccumulator
,SecurityMessageAccumulator
public class EditItemPriceCommand
extends BaseAbstractEditCommand<ItemPriceSpec,ItemPriceEdit,EditItemPriceResult,ItemPrice,ItemPrice>
-
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
ConstructorsConstructorDescriptionEditItemPriceCommand
(UserVisitPK userVisitPK, EditItemPriceForm form) Creates a new instance of EditItemPriceCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
doLock
(ItemPriceEdit edit, ItemPrice itemPrice) void
void
fillInResult
(EditItemPriceResult result, ItemPrice itemPrice) getEdit()
getEntity
(EditItemPriceResult result) getLockEntity
(ItemPrice itemPrice) protected void
setupValidatorForEdit
(Validator validator, BaseForm specForm) 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, 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
-
EditItemPriceCommand
Creates a new instance of EditItemPriceCommand
-
-
Method Details
-
setupValidatorForEdit
- Overrides:
setupValidatorForEdit
in classBaseEditCommand<ItemPriceSpec,
ItemPriceEdit>
-
getResult
- Specified by:
getResult
in classBaseAbstractEditCommand<ItemPriceSpec,
ItemPriceEdit, EditItemPriceResult, ItemPrice, ItemPrice>
-
getEdit
- Specified by:
getEdit
in classBaseAbstractEditCommand<ItemPriceSpec,
ItemPriceEdit, EditItemPriceResult, ItemPrice, ItemPrice>
-
getEntity
- Specified by:
getEntity
in classBaseAbstractEditCommand<ItemPriceSpec,
ItemPriceEdit, EditItemPriceResult, ItemPrice, ItemPrice>
-
getLockEntity
- Specified by:
getLockEntity
in classBaseAbstractEditCommand<ItemPriceSpec,
ItemPriceEdit, EditItemPriceResult, ItemPrice, ItemPrice>
-
fillInResult
- Specified by:
fillInResult
in classBaseAbstractEditCommand<ItemPriceSpec,
ItemPriceEdit, EditItemPriceResult, ItemPrice, ItemPrice>
-
doLock
- Specified by:
doLock
in classBaseAbstractEditCommand<ItemPriceSpec,
ItemPriceEdit, EditItemPriceResult, ItemPrice, ItemPrice>
-
canUpdate
- Overrides:
canUpdate
in classBaseAbstractEditCommand<ItemPriceSpec,
ItemPriceEdit, EditItemPriceResult, ItemPrice, ItemPrice>
-
doUpdate
- Specified by:
doUpdate
in classBaseAbstractEditCommand<ItemPriceSpec,
ItemPriceEdit, EditItemPriceResult, ItemPrice, ItemPrice>
-