| com.atlassian.confluence.search.lucene.filter.SpacePermissionsFilterDao |
Known Indirect Subclasses
| HibernateSpacePermissionsFilterDao |
This implementation was created instead of just using the existing SpaceDao and SpacePermissionsDao for a few reasons
-
- Retrieving space objects from a named query results in you being returned Space proxies.
|
|
Class Overview
A DAO used exclusively by the SpacePermissionsFilter for performance reasons. This DAO deals with spaces but has
requirements that don't really fit on the more generic SpaceDao.
Public Methods
public
abstract
List<String>
getPermittedSpaceKeysForUser
(User user)
Get the keys for all spaces the supplied user has view permission on.
Parameters
| user
| the user to check permission for. |
Returns
- a List of space key Strings
public
abstract
List<String>
getUnPermittedSpaceKeysForUser
(User user)
Get the keys for all spaces the supplied user does not view permission on.
Parameters
| user
| the user to check permission for. |
Returns
- a List of space key Strings