Class EditPaymentMethodCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<S,E>
com.echothree.util.server.control.BaseAbstractEditCommand<PaymentMethodSpec,PaymentMethodEdit,EditPaymentMethodResult,PaymentMethod,PaymentMethod>
com.echothree.control.user.payment.server.command.EditPaymentMethodCommand
- 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
ConstructorsConstructorDescriptionEditPaymentMethodCommand
(UserVisitPK userVisitPK, EditPaymentMethodForm form) Creates a new instance of EditPaymentMethodCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
canUpdate
(PaymentMethod paymentMethod) void
doLock
(PaymentMethodEdit edit, PaymentMethod paymentMethod) void
doUpdate
(PaymentMethod paymentMethod) void
fillInResult
(EditPaymentMethodResult result, PaymentMethod paymentMethod) getEdit()
getEntity
(EditPaymentMethodResult result) getLockEntity
(PaymentMethod paymentMethod) protected ValidationResult
validateEdit
(Validator validator) 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, 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
-
EditPaymentMethodCommand
Creates a new instance of EditPaymentMethodCommand
-
-
Method Details
-
validateEdit
- Overrides:
validateEdit
in classBaseEditCommand<PaymentMethodSpec,
PaymentMethodEdit>
-
getResult
- Specified by:
getResult
in classBaseAbstractEditCommand<PaymentMethodSpec,
PaymentMethodEdit, EditPaymentMethodResult, PaymentMethod, PaymentMethod>
-
getEdit
- Specified by:
getEdit
in classBaseAbstractEditCommand<PaymentMethodSpec,
PaymentMethodEdit, EditPaymentMethodResult, PaymentMethod, PaymentMethod>
-
getEntity
- Specified by:
getEntity
in classBaseAbstractEditCommand<PaymentMethodSpec,
PaymentMethodEdit, EditPaymentMethodResult, PaymentMethod, PaymentMethod>
-
getLockEntity
- Specified by:
getLockEntity
in classBaseAbstractEditCommand<PaymentMethodSpec,
PaymentMethodEdit, EditPaymentMethodResult, PaymentMethod, PaymentMethod>
-
fillInResult
- Specified by:
fillInResult
in classBaseAbstractEditCommand<PaymentMethodSpec,
PaymentMethodEdit, EditPaymentMethodResult, PaymentMethod, PaymentMethod>
-
doLock
- Specified by:
doLock
in classBaseAbstractEditCommand<PaymentMethodSpec,
PaymentMethodEdit, EditPaymentMethodResult, PaymentMethod, PaymentMethod>
-
canUpdate
-
doUpdate
- Specified by:
doUpdate
in classBaseAbstractEditCommand<PaymentMethodSpec,
PaymentMethodEdit, EditPaymentMethodResult, PaymentMethod, PaymentMethod>
-