public interface

SpacePermissionsFilterDao

com.atlassian.confluence.search.lucene.filter.SpacePermissionsFilterDao
Known Indirect Subclasses

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.

Summary

Public Methods
abstract List<String> getPermittedSpaceKeysForUser(User user)
Get the keys for all spaces the supplied user has view permission on.
abstract List<String> getUnPermittedSpaceKeysForUser(User user)
Get the keys for all spaces the supplied user does not view permission on.

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