Class EditUseCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<UseSpec,UseEdit>
com.echothree.util.server.control.BaseAbstractEditCommand<UseSpec,UseEdit,EditUseResult,Use,Use>
com.echothree.control.user.offer.server.command.EditUseCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
@Dependent
public class EditUseCommand
extends BaseAbstractEditCommand<UseSpec,UseEdit,EditUseResult,Use,Use>
-
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, log, securityRoleLogic, session, userControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidfillInResult(EditUseResult result, Use use) getEdit()getEntity(EditUseResult result) getLockEntity(Use use) 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, 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, 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
-
EditUseCommand
public EditUseCommand()Creates a new instance of EditUseCommand
-
-
Method Details
-
getResult
- Specified by:
getResultin classBaseAbstractEditCommand<UseSpec,UseEdit, EditUseResult, Use, Use>
-
getEdit
- Specified by:
getEditin classBaseAbstractEditCommand<UseSpec,UseEdit, EditUseResult, Use, Use>
-
getEntity
- Specified by:
getEntityin classBaseAbstractEditCommand<UseSpec,UseEdit, EditUseResult, Use, Use>
-
getLockEntity
- Specified by:
getLockEntityin classBaseAbstractEditCommand<UseSpec,UseEdit, EditUseResult, Use, Use>
-
fillInResult
- Specified by:
fillInResultin classBaseAbstractEditCommand<UseSpec,UseEdit, EditUseResult, Use, Use>
-
doLock
- Specified by:
doLockin classBaseAbstractEditCommand<UseSpec,UseEdit, EditUseResult, Use, Use>
-
canUpdate
- Overrides:
canUpdatein classBaseAbstractEditCommand<UseSpec,UseEdit, EditUseResult, Use, Use>
-
doUpdate
- Specified by:
doUpdatein classBaseAbstractEditCommand<UseSpec,UseEdit, EditUseResult, Use, Use>
-