Class AbstractAccessReporterResource
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
- All Implemented Interfaces:
RestResource
- Direct Known Subclasses:
CreateAccessReporterResource
,CreateUserAccessReporterResource
,DeleteAccessReporterResource
,DeleteUserAccessReporterResource
,ReadAccessReporterResource
,ReadUserAccessCountReporterResource
,ReadUserAccessReporterResource
,WriteAccessReporterResource
,WriteUserAccessReporterResource
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static interface
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
Modifier and TypeFieldDescriptionprotected static final AbstractAccessReporterResource.RulePredicateSupplier
protected static final AbstractAccessReporterResource.RulePredicateSupplier
protected final ModuleManager
protected final OutputCenterService
protected final PrincipalManager
protected final 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
ConstructorDescriptionAbstractAccessReporterResource
(PrincipalManager principalManager, ModuleManager moduleManager, TimezoneResolverService timezoneResolverService, DataModel dataModel, OutputCenterService outputCenterService, QueryBuilderFactory queryBuilderFactory, @Nullable String initialFormEntityName) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkIfUsernameExists
(String username) protected String
protected String
getOutputJobId
(String formatted, String label) protected AbstractActionResource.ActionResultBean
report
(PermissionCollector collector, AbstractAccessReporterResource.RulePredicateSupplier rulePredicateSupplier, String label) protected AbstractActionResource.ActionResultBean
report
(PermissionCollector collector, AbstractAccessReporterResource.RulePredicateSupplier rulePredicateSupplier, String label, String username) Methods inherited from class ch.tocco.nice2.rest.action.spi.AbstractActionResource
actionName, doPerformAction, doValidate, getCallableType, getCurrentUsername, getFormEntity, getJobClass, 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
-
Field Details
-
principalManager
-
moduleManager
-
outputCenterService
-
queryBuilderFactory
-
ENTITY_SELECTOR
-
MANAGER_SELECTOR
-
-
Constructor Details
-
AbstractAccessReporterResource
public AbstractAccessReporterResource(PrincipalManager principalManager, ModuleManager moduleManager, TimezoneResolverService timezoneResolverService, DataModel dataModel, OutputCenterService outputCenterService, QueryBuilderFactory queryBuilderFactory, @Nullable @Nullable String initialFormEntityName)
-
-
Method Details
-
report
protected AbstractActionResource.ActionResultBean report(PermissionCollector collector, AbstractAccessReporterResource.RulePredicateSupplier rulePredicateSupplier, String label) -
report
protected AbstractActionResource.ActionResultBean report(PermissionCollector collector, AbstractAccessReporterResource.RulePredicateSupplier rulePredicateSupplier, String label, String username) -
getCustomerName
-
getOutputJobId
-
checkIfUsernameExists
-