Class EditRelatedItemCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<S,E>
com.echothree.util.server.control.BaseAbstractEditCommand<RelatedItemSpec,RelatedItemEdit,EditRelatedItemResult,RelatedItem,Item>
com.echothree.control.user.item.server.command.EditRelatedItemCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator
,ExecutionWarningAccumulator
,SecurityMessageAccumulator
public class EditRelatedItemCommand
extends BaseAbstractEditCommand<RelatedItemSpec,RelatedItemEdit,EditRelatedItemResult,RelatedItem,Item>
-
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
ConstructorsConstructorDescriptionEditRelatedItemCommand
(UserVisitPK userVisitPK, EditRelatedItemForm form) Creates a new instance of EditRelatedItemCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
doLock
(RelatedItemEdit edit, RelatedItem relatedItem) void
doUpdate
(RelatedItem relatedItem) void
fillInResult
(EditRelatedItemResult result, RelatedItem relatedItem) getEdit()
getEntity
(EditRelatedItemResult result) getLockEntity
(RelatedItem relatedItem) Methods inherited from class com.echothree.util.server.control.BaseAbstractEditCommand
canEdit, canUpdate, 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, validateEdit, 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
-
EditRelatedItemCommand
Creates a new instance of EditRelatedItemCommand
-
-
Method Details
-
getResult
- Specified by:
getResult
in classBaseAbstractEditCommand<RelatedItemSpec,
RelatedItemEdit, EditRelatedItemResult, RelatedItem, Item>
-
getEdit
- Specified by:
getEdit
in classBaseAbstractEditCommand<RelatedItemSpec,
RelatedItemEdit, EditRelatedItemResult, RelatedItem, Item>
-
getEntity
- Specified by:
getEntity
in classBaseAbstractEditCommand<RelatedItemSpec,
RelatedItemEdit, EditRelatedItemResult, RelatedItem, Item>
-
getLockEntity
- Specified by:
getLockEntity
in classBaseAbstractEditCommand<RelatedItemSpec,
RelatedItemEdit, EditRelatedItemResult, RelatedItem, Item>
-
fillInResult
- Specified by:
fillInResult
in classBaseAbstractEditCommand<RelatedItemSpec,
RelatedItemEdit, EditRelatedItemResult, RelatedItem, Item>
-
doLock
- Specified by:
doLock
in classBaseAbstractEditCommand<RelatedItemSpec,
RelatedItemEdit, EditRelatedItemResult, RelatedItem, Item>
-
doUpdate
- Specified by:
doUpdate
in classBaseAbstractEditCommand<RelatedItemSpec,
RelatedItemEdit, EditRelatedItemResult, RelatedItem, Item>
-