Class EditItemDescriptionCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<ItemDescriptionSpec,ItemDescriptionEdit>
com.echothree.util.server.control.BaseAbstractEditCommand<ItemDescriptionSpec,ItemDescriptionEdit,EditItemDescriptionResult,ItemDescription,ItemDescription>
com.echothree.control.user.item.server.command.EditItemDescriptionCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator,ExecutionWarningAccumulator,SecurityMessageAccumulator
@RequestScoped
public class EditItemDescriptionCommand
extends BaseAbstractEditCommand<ItemDescriptionSpec,ItemDescriptionEdit,EditItemDescriptionResult,ItemDescription,ItemDescription>
-
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
ConstructorsConstructorDescriptionCreates a new instance of EditItemDescriptionCommand -
Method Summary
Modifier and TypeMethodDescriptionvoidcanUpdate(ItemDescription itemDescription) voiddoLock(ItemDescriptionEdit edit, ItemDescription itemDescription) voiddoUpdate(ItemDescription itemDescription) voidfillInResult(EditItemDescriptionResult result, ItemDescription itemDescription) getEdit()getEntity(EditItemDescriptionResult result) getLockEntity(ItemDescription itemDescription) protected voidupdateItemDescription(ItemControl itemControl, Item item, MimeType mimeType, BasePK updatedBy, ItemDescription itemDescription, ByteArray blobDescription, String clobDescription, String stringDescription) 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
-
EditItemDescriptionCommand
public EditItemDescriptionCommand()Creates a new instance of EditItemDescriptionCommand
-
-
Method Details
-
getResult
-
getEdit
-
getEntity
-
getLockEntity
-
fillInResult
-
doLock
-
canUpdate
-
doUpdate
-
updateItemDescription
protected void updateItemDescription(ItemControl itemControl, Item item, MimeType mimeType, BasePK updatedBy, ItemDescription itemDescription, ByteArray blobDescription, String clobDescription, String stringDescription)
-