com.atlassian.confluence.core.persistence.hibernate
Class ContentPermissionHibernateDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.hibernate.HibernateObjectDao
              extended by com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
                  extended by com.atlassian.confluence.core.persistence.hibernate.ContentPermissionHibernateDao
All Implemented Interfaces:
ObjectDao, ContentPermissionDao, VersionedObjectDao, org.springframework.beans.factory.InitializingBean

public class ContentPermissionHibernateDao
extends VersionedHibernateObjectDao
implements ContentPermissionDao


Field Summary
 
Fields inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
cacheFactory, confluenceUserDao
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ContentPermissionHibernateDao()
           
 
Method Summary
 ContentPermission getById(long id)
           
 java.util.List<ContentPermission> getGroupPermissions(java.lang.String groupName)
           
 java.lang.Class getPersistentClass()
           
 java.util.List<ContentPermission> getUserPermissions(ConfluenceUser user)
           
 java.util.List<ContentPermission> getUserPermissions(java.lang.String userName)
          Deprecated. 
 
Methods inherited from class com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
findAllSorted, findLatestVersionsCount, findLatestVersionsIterator, save, setCacheFactory, setConfluenceUserDao, updateModificationData
 
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, uniqueResult
 
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
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 bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, refresh, remove, replicate, save, saveRaw
 

Constructor Detail

ContentPermissionHibernateDao

public ContentPermissionHibernateDao()
Method Detail

getById

public ContentPermission getById(long id)
Specified by:
getById in interface ContentPermissionDao

getGroupPermissions

public java.util.List<ContentPermission> getGroupPermissions(java.lang.String groupName)
Specified by:
getGroupPermissions in interface ContentPermissionDao

getUserPermissions

public java.util.List<ContentPermission> getUserPermissions(ConfluenceUser user)
Specified by:
getUserPermissions in interface ContentPermissionDao

getUserPermissions

@Deprecated
public java.util.List<ContentPermission> getUserPermissions(java.lang.String userName)
Deprecated. 

Specified by:
getUserPermissions in interface ContentPermissionDao

getPersistentClass

public java.lang.Class getPersistentClass()
Specified by:
getPersistentClass in interface ObjectDao


Copyright © 2003-2013 Atlassian. All Rights Reserved.