Class AbstractDmsActionResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.action.spi.AbstractPreActionResource
ch.tocco.nice2.rest.action.spi.AbstractActionResource
ch.tocco.nice2.rest.documents.impl.resources.AbstractDmsActionResource
- All Implemented Interfaces:
RestResource
- Direct Known Subclasses:
DocumentsExportResource
,PublishContentActionResource
,RevertContentActionResource
,UnpublishContentActionResource
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.rest.action.spi.AbstractActionResource
AbstractActionResource.AbstractActionJob, AbstractActionResource.AbstractInterruptableActionJob, AbstractActionResource.ActionResultBean, AbstractActionResource.ActionResultBeanBuilder, AbstractActionResource.ActionResultFlags, AbstractActionResource.GetFormEntityTask
Nested classes/interfaces inherited from class ch.tocco.nice2.rest.action.spi.AbstractPreActionResource
AbstractPreActionResource.SelectionType
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.action.spi.AbstractActionResource
commandExecutor, entityBeanRebinder, notificationService, taskSchedulingService
Fields inherited from class ch.tocco.nice2.rest.action.spi.AbstractPreActionResource
businessUnitManager, context, defaultDisplayService, defaultValueService, formBeanService, initialFormEntityName, initialFormName, l10n, log, requiresFormEntity, securityManager, textResources
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable Entity
getParentEntity
(@Nullable ActionParentEntityBean parent) performAction
(ActionResourceBean actionResourceBean) performDmsAction
(List<PrimaryKeyList> selection, @Nullable Entity parent, Consumer<PrimaryKey> singleAction, BiConsumer<PrimaryKey, String> multiAction) Methods inherited from class ch.tocco.nice2.rest.action.spi.AbstractActionResource
actionName, doPerformAction, doValidate, getCallableType, getCurrentUsername, getFormEntity, getJobClass, getTaskData, recoveryEnabled, setCommandExecutor, setEntityBeanRebinder, setNotificationService, setTaskContextBuilder, setTaskSchedulingService, taskCancelledMessage, taskFailedMessage, taskFailedTitle, taskFinishedMessage, taskSchedulingMessage, taskStartedMessage, validate, verifyFormEntityBean
Methods inherited from class ch.tocco.nice2.rest.action.spi.AbstractPreActionResource
getInitialFormValueResponseBean, getSelectedEntities, getSelectedEntity, loadInitialForm, preAction, setBusinessUnitManager, setContext, setDefaultDisplayService, setDefaultValueService, setFormBeanService, setL10n, setLog, setSecurityManager, setSelectionService, setTextResources
Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
AbstractDmsActionResource
protected AbstractDmsActionResource()
-
-
Method Details
-
performDmsAction
public AbstractActionResource.ActionResultBean performDmsAction(List<PrimaryKeyList> selection, @Nullable @Nullable Entity parent, Consumer<PrimaryKey> singleAction, BiConsumer<PrimaryKey, String> multiAction) -
performAction
- Overrides:
performAction
in classAbstractActionResource
-
getParentEntity
@Nullable protected @Nullable Entity getParentEntity(@Nullable @Nullable ActionParentEntityBean parent) - Overrides:
getParentEntity
in classAbstractActionResource
-