Class RealContentAndPermissionsDao
java.lang.Object
com.atlassian.confluence.security.denormalisedpermissions.impl.content.dao.RealContentAndPermissionsDao
Provides access to content, content_perm and content_perm_set tables.
 Default DAO classes were not extended because these methods are required for denormalised permissions only.
- Since:
- 7.11.0
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classWe need this class to retrieve content permissions without taking all other linked stuff (like content permissions sets)static classHelper for retrieving content permission sets
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetContentPermissionSetIdsForContentPermissionIds(Set<Long> contentPermSetIds) Retrives data from content_perm_set table.getContentPermissionSets(Collection<Long> pageIdSet, String contentPermSetType) getSimpleContentList(Collection<Long> contentIds) getSimpleContentPermissions(Collection<Long> contentPermSetIds) getSimplePageListWithIdGreaterThen(Long id, int limit) 
- 
Constructor Details- 
RealContentAndPermissionsDaopublic RealContentAndPermissionsDao(org.hibernate.SessionFactory sessionFactory) 
 
- 
- 
Method Details- 
getSimplePageListWithIdGreaterThen
- 
getContentPermissionSets
- 
getContentPermissionSetIdsForContentPermissionIdspublic Map<Long,Long> getContentPermissionSetIdsForContentPermissionIds(Set<Long> contentPermSetIds) Retrives data from content_perm_set table.- Parameters:
- contentPermSetIds- set of content permission set ids
- Returns:
- map where key is content permission set id and the value is content id
 
- 
getSimpleContentList
- 
getSimpleContentPermissionspublic Map<Long,List<RealContentAndPermissionsDao.SimpleContentPermission>> getSimpleContentPermissions(Collection<Long> contentPermSetIds) 
 
-