public class HibernateContentPermissionSetDao extends HibernateObjectDao implements ContentPermissionSetDao
HibernateObjectDao.CacheabilityNON_CACHEABLE| Constructor and Description |
|---|
HibernateContentPermissionSetDao() |
| Modifier and Type | Method and Description |
|---|---|
ContentPermissionSet |
getById(long id) |
List<Long> |
getContentIdsWithPermissionSet(String spaceKey)
Gets the list of id of content which belongs to the specified space and has the permission set configured.
|
Map<Long,List<ContentPermissionSet>> |
getExplicitPermissionSetsFor(Collection<Long> ids)
Get a map between content id and permission set.
|
List<ContentPermissionSet> |
getInheritedContentPermissionSets(Page page,
String type) |
Map<Long,Set<ContentPermissionSet>> |
getPermissionSets(String spaceKey,
List<Long> contentIds)
Retrieves the
ContentPermissionSet of contents specified by the contentIds parameter given the space |
Class |
getPersistentClass() |
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findAllSorted, findByClassIds, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, getHibernateTemplate, getSession, getSessionFactory, index, refresh, reIndex, remove, replicate, save, saveRaw, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, uniqueResult, updateModificationDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllSorted, findAllSorted, findByClassIds, refresh, remove, replicate, save, saveRawpublic ContentPermissionSet getById(long id)
getById in interface ContentPermissionSetDaopublic Map<Long,List<ContentPermissionSet>> getExplicitPermissionSetsFor(Collection<Long> ids)
ContentPermissionSetDaogetExplicitPermissionSetsFor in interface ContentPermissionSetDaoids - id of content to querypublic List<ContentPermissionSet> getInheritedContentPermissionSets(Page page, String type)
getInheritedContentPermissionSets in interface ContentPermissionSetDaoContentPermissionSets associated with the ancestors of this page object
The supplied page object must not be a root level page. The query is redundant for page without parents.
public Map<Long,Set<ContentPermissionSet>> getPermissionSets(String spaceKey, List<Long> contentIds)
ContentPermissionSetDaoContentPermissionSet of contents specified by the contentIds parameter given the spacegetPermissionSets in interface ContentPermissionSetDaospaceKey - - key of SpacecontentIds - - list of content idContentPermissionSetpublic List<Long> getContentIdsWithPermissionSet(String spaceKey)
ContentPermissionSetDaogetContentIdsWithPermissionSet in interface ContentPermissionSetDaospaceKey - - key of spacepublic Class getPersistentClass()
getPersistentClass in interface ObjectDaoCopyright © 2003–2017 Atlassian. All rights reserved.