Class ContentPermissionHibernateDao
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao<T>
-
- com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao<ContentPermission>
-
- com.atlassian.confluence.core.persistence.hibernate.ContentPermissionHibernateDao
-
- All Implemented Interfaces:
ObjectDao,ContentPermissionDao,VersionedObjectDao<ContentPermission>,ContentPermissionDaoInternal,ObjectDaoInternal<ContentPermission>,VersionedObjectDaoInternal<ContentPermission>,org.springframework.beans.factory.InitializingBean
public class ContentPermissionHibernateDao extends VersionedHibernateObjectDao<ContentPermission> implements ContentPermissionDaoInternal
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao
HibernateObjectDao.Cacheability
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
cacheFactory, confluenceUserDao
-
-
Constructor Summary
Constructors Constructor Description ContentPermissionHibernateDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentPermissiongetById(long id)List<ContentPermission>getGroupPermissions(String groupName)ClassgetPersistentClass()Gets the type ofEntityObjectthis Dao works with.List<ContentPermission>getUserPermissions(ConfluenceUser user)-
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
findAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, saveEntity, setCacheFactory, setConfluenceUserDao, updateEntityModificationData, updateModificationData
-
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findByClassIds, findByClassIdsFiltered, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, getHibernateTemplate, getSessionFactory, index, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setEventPublisher, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.internal.persistence.ObjectDaoInternal
findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity
-
-
-
-
Method Detail
-
getById
public ContentPermission getById(long id)
- Specified by:
getByIdin interfaceContentPermissionDao
-
getGroupPermissions
public List<ContentPermission> getGroupPermissions(String groupName)
- Specified by:
getGroupPermissionsin interfaceContentPermissionDao
-
getUserPermissions
public List<ContentPermission> getUserPermissions(ConfluenceUser user)
- Specified by:
getUserPermissionsin interfaceContentPermissionDao
-
getPersistentClass
public Class getPersistentClass()
Description copied from interface:ObjectDaoInternalGets the type ofEntityObjectthis Dao works with.- Specified by:
getPersistentClassin interfaceObjectDao- Specified by:
getPersistentClassin interfaceObjectDaoInternal<ContentPermission>- Returns:
- the type
-
-