Class ExtractionAccessController
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController
org.ametys.plugins.core.impl.right.AbstractHierarchicalWithPermissionContextAccessController<T,T>
org.ametys.plugins.core.impl.right.AbstractHierarchicalAccessController<String>
org.ametys.plugins.core.impl.right.StringHierarchicalAccessController
org.ametys.plugins.extraction.rights.ExtractionAccessController
- All Implemented Interfaces:
AccessController,LogEnabled,PluginAware,Initializable,Configurable,Serviceable
AccessController handling access to extraction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.plugins.core.impl.right.AbstractHierarchicalWithPermissionContextAccessController
AbstractHierarchicalWithPermissionContextAccessController.HierarchicalAccessResultDetailsNested classes/interfaces inherited from class org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController
AbstractProfileStorageBasedAccessController.CacheKind, AbstractProfileStorageBasedAccessController.PermissionDetailsNested classes/interfaces inherited from interface org.ametys.core.right.AccessController
AccessController.AccessResult, AccessController.ExplanationObject, AccessController.Permission -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final I18nizableTextthe extraction context categorystatic final StringThe prefix for rights on the root of a collectionFields inherited from class org.ametys.plugins.core.impl.right.StringHierarchicalAccessController
_prefixes, _reverseWorkspaceMather, _workspaceMatcher, SEPARATORFields inherited from class org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController
__ANONYMOUS_USER_IDENTITY, __ANY_CONTECTED_USER_IDENTITY, _cacheManager, _groupManager, _profileAssignmentStorageEP, _rightProfileDAO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetObjectCategory(Object object) Get a label classifying the object handled by this access controllergetObjectLabel(Object object) Get a label describing the object handled by this access controllerprotected I18nizableTextgetObjectLabelForExplanation(Object object) Get the label describing the object in the explanation sentence.intgetObjectPriority(Object object) Get the priority of the object to order it in its categoryMethods inherited from class org.ametys.plugins.core.impl.right.StringHierarchicalAccessController
_convertWorkspaceToRootRightContexts, _getParents, configure, getRootPrefixes, getSupportedPrefixes, isSupportedMethods inherited from class org.ametys.plugins.core.impl.right.AbstractHierarchicalAccessController
_getParentsMethods inherited from class org.ametys.plugins.core.impl.right.AbstractHierarchicalWithPermissionContextAccessController
_getExplanationI18nText, _getPermission, _getPermission, _getPermissionByGroup, _getPermissionByGroup, _getPermissionByUser, _getPermissionByUser, _getPermissionContext, _getPermissionDetails, _getPermissionDetails, _getPermissionDetailsForAnonymous, _getPermissionDetailsForAnonymous, _getPermissionDetailsForAnyConnectedUser, _getPermissionDetailsForAnyConnectedUser, _getPermissionForAnonymous, _getPermissionForAnonymous, _getPermissionForAnyConnectedUser, _getPermissionForAnyConnectedUser, getPermissionByRight, getPermissionByRight, isInheritanceAllowedMethods inherited from class org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController
_buildExplanation, _convertContext, _explainPermission, _explainPermissionForAnonymous, _explainPermissionForAnyConnectedUser, _getAccessExplanationI18nKey, _getExplanationI18nParams, _hasRightResultInFirstCache, _hasRightResultInSecondCache, _isSupportedStoredContext, _putInFirstCache, _putInSecondCache, _unconvertContext, explainAllPermissions, explainPermission, explainPermissionForAnonymous, explainPermissionForAnyConnectedUser, explainReadAccessPermission, explainReadAccessPermissionForAnonymous, explainReadAccessPermissionForAnyConnectedUser, getId, getPermission, getPermissionByGroup, getPermissionByUser, getPermissionForAnonymous, getPermissionForAnyConnectedUser, getReadAccessPermission, getReadAccessPermissionByGroup, getReadAccessPermissionByUser, getReadAccessPermissionForAnonymous, getReadAccessPermissionForAnyConnectedUser, hasAnonymousAnyPermissionOnWorkspace, hasAnonymousAnyReadAccessPermissionOnWorkspace, hasAnyConnectedUserAnyPermissionOnWorkspace, hasAnyConnectedUserAnyReadAccessPermissionOnWorkspace, hasUserAnyPermissionOnWorkspace, hasUserAnyReadAccessPermissionOnWorkspace, initialize, service, setPluginInfoMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.core.right.AccessController
getExplanationObject, getStandardAccessExplanation
-
Field Details
-
EXTRACTION_CONTEXT_CATEGORY
the extraction context category -
ROOT_CONTEXT
The prefix for rights on the root of a collection- See Also:
-
-
Constructor Details
-
ExtractionAccessController
public ExtractionAccessController()
-
-
Method Details
-
getObjectLabelForExplanation
Description copied from class:AbstractProfileStorageBasedAccessControllerGet the label describing the object in the explanation sentence.- Overrides:
getObjectLabelForExplanationin classStringHierarchicalAccessController- Parameters:
object- the object that granted the right- Returns:
- the label
-
getObjectLabel
Description copied from interface:AccessControllerGet a label describing the object handled by this access controller- Specified by:
getObjectLabelin interfaceAccessController- Overrides:
getObjectLabelin classStringHierarchicalAccessController- Parameters:
object- the object- Returns:
- the label
-
getObjectCategory
Description copied from interface:AccessControllerGet a label classifying the object handled by this access controller- Specified by:
getObjectCategoryin interfaceAccessController- Overrides:
getObjectCategoryin classStringHierarchicalAccessController- Parameters:
object- the object- Returns:
- the label
-
getObjectPriority
Description copied from interface:AccessControllerGet the priority of the object to order it in its category- Parameters:
object- the object- Returns:
- the priority
-