Class EditJobCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<JobSpec,JobEdit>
com.echothree.util.server.control.BaseAbstractEditCommand<JobSpec,JobEdit,EditJobResult,Job,Job>
com.echothree.control.user.job.server.command.EditJobCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
@Dependent
public class EditJobCommand
extends BaseAbstractEditCommand<JobSpec,JobEdit,EditJobResult,Job,Job>
-
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 TypeMethodDescriptionprotected voidprotected voidprotected voidprotected voidfillInResult(EditJobResult result, Job job) protected JobEditgetEdit()protected JobgetEntity(EditJobResult result) protected JobgetLockEntity(Job job) protected EditJobResultMethods 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, 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
-
EditJobCommand
public EditJobCommand()Creates a new instance of EditJobCommand
-
-
Method Details
-
getResult
- Specified by:
getResultin classBaseAbstractEditCommand<JobSpec,JobEdit, EditJobResult, Job, Job>
-
getEdit
- Specified by:
getEditin classBaseAbstractEditCommand<JobSpec,JobEdit, EditJobResult, Job, Job>
-
getEntity
- Specified by:
getEntityin classBaseAbstractEditCommand<JobSpec,JobEdit, EditJobResult, Job, Job>
-
getLockEntity
- Specified by:
getLockEntityin classBaseAbstractEditCommand<JobSpec,JobEdit, EditJobResult, Job, Job>
-
fillInResult
- Specified by:
fillInResultin classBaseAbstractEditCommand<JobSpec,JobEdit, EditJobResult, Job, Job>
-
doLock
- Specified by:
doLockin classBaseAbstractEditCommand<JobSpec,JobEdit, EditJobResult, Job, Job>
-
canUpdate
- Overrides:
canUpdatein classBaseAbstractEditCommand<JobSpec,JobEdit, EditJobResult, Job, Job>
-
doUpdate
- Specified by:
doUpdatein classBaseAbstractEditCommand<JobSpec,JobEdit, EditJobResult, Job, Job>
-