Class EditServiceCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<ServiceSpec,ServiceEdit>
com.echothree.util.server.control.BaseAbstractEditCommand<ServiceSpec,ServiceEdit,EditServiceResult,Service,Service>
com.echothree.control.user.core.server.command.EditServiceCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
@RequestScoped
public class EditServiceCommand
extends BaseAbstractEditCommand<ServiceSpec,ServiceEdit,EditServiceResult,Service,Service>
-
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(ServiceEdit edit, Service service) voidvoidfillInResult(EditServiceResult result, Service service) getEdit()getEntity(EditServiceResult result) getLockEntity(Service service) 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, getEntityLockControl, 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
-
EditServiceCommand
public EditServiceCommand()Creates a new instance of EditServiceCommand
-
-
Method Details
-
getResult
- Specified by:
getResultin classBaseAbstractEditCommand<ServiceSpec,ServiceEdit, EditServiceResult, Service, Service>
-
getEdit
- Specified by:
getEditin classBaseAbstractEditCommand<ServiceSpec,ServiceEdit, EditServiceResult, Service, Service>
-
getEntity
- Specified by:
getEntityin classBaseAbstractEditCommand<ServiceSpec,ServiceEdit, EditServiceResult, Service, Service>
-
getLockEntity
- Specified by:
getLockEntityin classBaseAbstractEditCommand<ServiceSpec,ServiceEdit, EditServiceResult, Service, Service>
-
fillInResult
- Specified by:
fillInResultin classBaseAbstractEditCommand<ServiceSpec,ServiceEdit, EditServiceResult, Service, Service>
-
doLock
- Specified by:
doLockin classBaseAbstractEditCommand<ServiceSpec,ServiceEdit, EditServiceResult, Service, Service>
-
canUpdate
- Overrides:
canUpdatein classBaseAbstractEditCommand<ServiceSpec,ServiceEdit, EditServiceResult, Service, Service>
-
doUpdate
- Specified by:
doUpdatein classBaseAbstractEditCommand<ServiceSpec,ServiceEdit, EditServiceResult, Service, Service>
-