com.atlassian.confluence.core.persistence
Interface ContentPermissionDao

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
ContentPermissionHibernateDao

public interface ContentPermissionDao
extends ObjectDao


Method Summary
 ContentPermission getById(long id)
           
 java.util.List<ContentPermission> getGroupPermissions(java.lang.String groupName)
           
 java.util.List<ContentPermission> getUserPermissions(ConfluenceUser user)
           
 java.util.List<ContentPermission> getUserPermissions(java.lang.String userName)
          Deprecated. since 5.3. Use getUserPermissions(com.atlassian.confluence.user.ConfluenceUser) instead.
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

getById

ContentPermission getById(long id)

getGroupPermissions

java.util.List<ContentPermission> getGroupPermissions(java.lang.String groupName)

getUserPermissions

java.util.List<ContentPermission> getUserPermissions(ConfluenceUser user)
Since:
5.3

getUserPermissions

@Deprecated
java.util.List<ContentPermission> getUserPermissions(java.lang.String userName)
Deprecated. since 5.3. Use getUserPermissions(com.atlassian.confluence.user.ConfluenceUser) instead.



Copyright © 2003-2014 Atlassian. All Rights Reserved.