Class WriteUserAccessReporterResource
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.actions.impl.actions.security.AbstractAccessReporterResource
ch.tocco.nice2.actions.impl.actions.security.WriteUserAccessReporterResource
- All Implemented Interfaces:
RestResource
@Path("actions/writeUserAccessReporter")
public class WriteUserAccessReporterResource
extends AbstractAccessReporterResource
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.actions.impl.actions.security.AbstractAccessReporterResource
AbstractAccessReporterResource.RulePredicateSupplier
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.actions.impl.actions.security.AbstractAccessReporterResource
ENTITY_SELECTOR, MANAGER_SELECTOR, moduleManager, outputCenterService, principalManager, queryBuilderFactory
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
ConstructorDescriptionWriteUserAccessReporterResource
(PrincipalManager principalManager, ModuleManager moduleManager, TimezoneResolverService timezoneResolverService, DataModel dataModel, OutputCenterService outputCenterService, QueryBuilderFactory queryBuilderFactory, ReadAccessCounter readAccessCounter) -
Method Summary
Modifier and TypeMethodDescriptionprotected TextMessage
name of the action displayed in the notification center if no specific text is setprotected AbstractActionResource.ActionResultBean
doPerformAction
(ActionDataBean actionDataBean, ActionResourceBean actionResourceBean, TaskContext taskContext) protected Class
<? extends AbstractJob> each action resource needs an empty job class as inner class which either implements AbstractActionJob or AbstractInterruptableActionJob.Methods inherited from class ch.tocco.nice2.actions.impl.actions.security.AbstractAccessReporterResource
checkIfUsernameExists, getCustomerName, getOutputJobId, report, report
Methods inherited from class ch.tocco.nice2.rest.action.spi.AbstractActionResource
doValidate, getCallableType, getCurrentUsername, getFormEntity, getParentEntity, getTaskData, performAction, 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
-
WriteUserAccessReporterResource
public WriteUserAccessReporterResource(PrincipalManager principalManager, ModuleManager moduleManager, TimezoneResolverService timezoneResolverService, DataModel dataModel, OutputCenterService outputCenterService, QueryBuilderFactory queryBuilderFactory, ReadAccessCounter readAccessCounter)
-
-
Method Details
-
doPerformAction
protected AbstractActionResource.ActionResultBean doPerformAction(ActionDataBean actionDataBean, ActionResourceBean actionResourceBean, TaskContext taskContext) - Specified by:
doPerformAction
in classAbstractActionResource
-
actionName
Description copied from class:AbstractActionResource
name of the action displayed in the notification center if no specific text is set- Specified by:
actionName
in classAbstractActionResource
-
getJobClass
Description copied from class:AbstractActionResource
each action resource needs an empty job class as inner class which either implements AbstractActionJob or AbstractInterruptableActionJob. the class is needed to run the job in the task scheduler. if AbstractInterruptableActionJob is used the doPerformAction must implement a cancellation handling- Specified by:
getJobClass
in classAbstractActionResource
-