Class EditContentSectionCommand
java.lang.Object
com.echothree.util.server.control.BaseCommand
com.echothree.util.server.control.BaseEditCommand<S,E>
com.echothree.util.server.control.BaseAbstractEditCommand<ContentSectionSpec,ContentSectionEdit,EditContentSectionResult,ContentSection,ContentSection>
com.echothree.control.user.content.server.command.EditContentSectionCommand
- All Implemented Interfaces:
ExecutionErrorAccumulator
,ExecutionWarningAccumulator
,SecurityMessageAccumulator
-
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
ConstructorsConstructorDescriptionEditContentSectionCommand
(UserVisitPK userVisitPK, EditContentSectionForm form) Creates a new instance of EditContentSectionCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
canUpdate
(ContentSection contentSection) void
doLock
(ContentSectionEdit edit, ContentSection contentSection) void
doUpdate
(ContentSection contentSection) void
fillInResult
(EditContentSectionResult result, ContentSection contentSection) getEdit()
getEntity
(EditContentSectionResult result) getLockEntity
(ContentSection contentSection) Methods inherited from class com.echothree.util.server.control.BaseAbstractEditCommand
canEdit, 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
-
EditContentSectionCommand
Creates a new instance of EditContentSectionCommand
-
-
Method Details
-
getResult
- Specified by:
getResult
in classBaseAbstractEditCommand<ContentSectionSpec,
ContentSectionEdit, EditContentSectionResult, ContentSection, ContentSection>
-
getEdit
- Specified by:
getEdit
in classBaseAbstractEditCommand<ContentSectionSpec,
ContentSectionEdit, EditContentSectionResult, ContentSection, ContentSection>
-
getEntity
- Specified by:
getEntity
in classBaseAbstractEditCommand<ContentSectionSpec,
ContentSectionEdit, EditContentSectionResult, ContentSection, ContentSection>
-
getLockEntity
-
fillInResult
-
doLock
- Specified by:
doLock
in classBaseAbstractEditCommand<ContentSectionSpec,
ContentSectionEdit, EditContentSectionResult, ContentSection, ContentSection>
-
canUpdate
-
doUpdate
- Specified by:
doUpdate
in classBaseAbstractEditCommand<ContentSectionSpec,
ContentSectionEdit, EditContentSectionResult, ContentSection, ContentSection>
-