public class HibernateContentPermissionSetDao extends HibernateObjectDao<ContentPermissionSet> implements ContentPermissionSetDaoInternal
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  ContentPermissionSetof contents specified by the contentIds parameter given the space | 
| Class | getPersistentClass()Gets the type of  EntityObjectthis Dao works with. | 
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, 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, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResult, updateEntityModificationData, updateModificationDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntitypublic 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()
ObjectDaoInternalEntityObject this Dao works with.getPersistentClass in interface ObjectDaogetPersistentClass in interface ObjectDaoInternal<ContentPermissionSet>Copyright © 2003–2021 Atlassian. All rights reserved.