public class RealContentAndPermissionsDao extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RealContentAndPermissionsDao.SimpleContentPermission
We need this class to retrieve content permissions without taking all other linked stuff (like content permissions sets)
|
static class |
RealContentAndPermissionsDao.SimpleContentPermissionSet
Helper for retrieving content permission sets
|
Constructor and Description |
---|
RealContentAndPermissionsDao(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
Map<Long,Long> |
getContentPermissionSetIdsForContentPermissionIds(Set<Long> contentPermSetIds)
Retrives data from content_perm_set table.
|
Map<Long,Long> |
getContentPermissionSets(Collection<Long> pageIdSet,
String contentPermSetType) |
List<SimpleContent> |
getSimpleContentList(Collection<Long> contentIds) |
Map<Long,List<RealContentAndPermissionsDao.SimpleContentPermission>> |
getSimpleContentPermissions(Collection<Long> contentPermSetIds) |
List<SimpleContent> |
getSimplePageListWithIdGreaterThen(Long id,
int limit) |
public RealContentAndPermissionsDao(org.hibernate.SessionFactory sessionFactory)
public List<SimpleContent> getSimplePageListWithIdGreaterThen(Long id, int limit)
public Map<Long,Long> getContentPermissionSets(Collection<Long> pageIdSet, String contentPermSetType)
public Map<Long,Long> getContentPermissionSetIdsForContentPermissionIds(Set<Long> contentPermSetIds)
contentPermSetIds
- set of content permission set idspublic List<SimpleContent> getSimpleContentList(Collection<Long> contentIds)
public Map<Long,List<RealContentAndPermissionsDao.SimpleContentPermission>> getSimpleContentPermissions(Collection<Long> contentPermSetIds)
Copyright © 2003–2021 Atlassian. All rights reserved.