Class RegularEntitiesAndPermissionsHelper
java.lang.Object
com.atlassian.confluence.security.denormalisedpermissions.impl.RegularEntitiesAndPermissionsHelper
The adapter between fast permissions and Confluence services which allows to retrieve some Confluence entities and check permissions for them.
So the fast permissions components can just use this adapter and avoid injecting plenty of Confluence beans.
- Since:
- 7.12.1
-
Constructor Summary
ConstructorDescriptionRegularEntitiesAndPermissionsHelper
(SpaceDaoInternal spaceDaoInternal, SpacePermissionManager spacePermissionManager, PageManager pageManager) -
Method Summary
Modifier and TypeMethodDescriptiongetPageById
(long pageId) getPagesByIds
(Set<Long> pageIds) getSpaceById
(long spaceId) boolean
isSpacePermitted
(ConfluenceUser confluenceUser, long spaceId, String spacePermissionType)
-
Constructor Details
-
RegularEntitiesAndPermissionsHelper
public RegularEntitiesAndPermissionsHelper(SpaceDaoInternal spaceDaoInternal, SpacePermissionManager spacePermissionManager, PageManager pageManager)
-
-
Method Details
-
getSpaceById
-
getPageById
-
isSpacePermitted
public boolean isSpacePermitted(ConfluenceUser confluenceUser, long spaceId, String spacePermissionType) -
findAllSpaceKeys
-
getPagesByIds
-