Class EditEmploymentCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<EmploymentSpec,EmploymentEdit>
com.echothree.util.server.control.BaseAbstractEditCommand<EmploymentSpec,EmploymentEdit,EditEmploymentResult,Employment,Employment>
com.echothree.control.user.employee.server.command.EditEmploymentCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
@RequestScoped
public class EditEmploymentCommand
extends BaseAbstractEditCommand<EmploymentSpec,EmploymentEdit,EditEmploymentResult,Employment,Employment>
-
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 TypeMethodDescriptionvoidcanUpdate(Employment employment) voiddoLock(EmploymentEdit edit, Employment employment) voiddoUpdate(Employment employment) voidfillInResult(EditEmploymentResult result, Employment employment) getEdit()getEntity(EditEmploymentResult result) getLockEntity(Employment employment) 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
-
EditEmploymentCommand
public EditEmploymentCommand()Creates a new instance of EditEmploymentCommand
-
-
Method Details
-
getResult
- Specified by:
getResultin classBaseAbstractEditCommand<EmploymentSpec,EmploymentEdit, EditEmploymentResult, Employment, Employment>
-
getEdit
- Specified by:
getEditin classBaseAbstractEditCommand<EmploymentSpec,EmploymentEdit, EditEmploymentResult, Employment, Employment>
-
getEntity
- Specified by:
getEntityin classBaseAbstractEditCommand<EmploymentSpec,EmploymentEdit, EditEmploymentResult, Employment, Employment>
-
getLockEntity
- Specified by:
getLockEntityin classBaseAbstractEditCommand<EmploymentSpec,EmploymentEdit, EditEmploymentResult, Employment, Employment>
-
fillInResult
- Specified by:
fillInResultin classBaseAbstractEditCommand<EmploymentSpec,EmploymentEdit, EditEmploymentResult, Employment, Employment>
-
doLock
- Specified by:
doLockin classBaseAbstractEditCommand<EmploymentSpec,EmploymentEdit, EditEmploymentResult, Employment, Employment>
-
canUpdate
- Overrides:
canUpdatein classBaseAbstractEditCommand<EmploymentSpec,EmploymentEdit, EditEmploymentResult, Employment, Employment>
-
doUpdate
- Specified by:
doUpdatein classBaseAbstractEditCommand<EmploymentSpec,EmploymentEdit, EditEmploymentResult, Employment, Employment>
-