Class ContentPermissionHibernateDao
java.lang.Object
org.springframework.dao.support.DaoSupport
com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao<T>
com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao<ContentPermission>
com.atlassian.confluence.core.persistence.hibernate.ContentPermissionHibernateDao
- All Implemented Interfaces:
ContentPermissionDao
,ContentPermissionDaoInternal
,org.springframework.beans.factory.InitializingBean
public class ContentPermissionHibernateDao
extends ConfluenceHibernateObjectDao<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 org.springframework.dao.support.DaoSupport
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetById
(long id) getGroupPermissions
(String groupName) void
remove
(ContentPermission contentPermission) Remove an object from the databaseMethods inherited from class com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
updateModificationData
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.HibernateObjectDao
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, getHibernateTemplate, getSessionFactory, publishEvent, reIndex, save, saveEntity, saveRaw, setHibernateTemplate, setSessionFactory, uniqueResult
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
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.core.persistence.ContentPermissionDao
save
-
Constructor Details
-
ContentPermissionHibernateDao
public ContentPermissionHibernateDao()
-
-
Method Details
-
getById
- Specified by:
getById
in interfaceContentPermissionDao
-
getGroupPermissions
- Specified by:
getGroupPermissions
in interfaceContentPermissionDao
-
getUserPermissions
- Specified by:
getUserPermissions
in interfaceContentPermissionDao
-
remove
Description copied from class:HibernateObjectDao
Remove an object from the database- Specified by:
remove
in interfaceContentPermissionDao
- Overrides:
remove
in classHibernateObjectDao<ContentPermission>
- Parameters:
contentPermission
- the object to remove
-
getPersistentClass
- Specified by:
getPersistentClass
in classHibernateObjectDao<ContentPermission>
-