org.sakaiproject.service.legacy.site
Class SiteService.SelectionType

java.lang.Object
  extended byorg.sakaiproject.service.legacy.site.SiteService.SelectionType
Enclosing class:
SiteService

public static class SiteService.SelectionType
extends Object

SelectionType enumerates different supported types of selection criteria for getting / counting sites.


Field Summary
static SiteService.SelectionType ACCESS
          Get sites that the current user has read access to (non-myWorkspace, non-special).
static SiteService.SelectionType ANY
          Get any sites.
static SiteService.SelectionType JOINABLE
          Get sites that the current user does not have read access to but are joinable (non-myWorkspace, non-special).
static SiteService.SelectionType NON_USER
          Get any non-user sites.
static SiteService.SelectionType PUBVIEW
          Get sites that are marked for view (non-myWorkspace, non-special).
static SiteService.SelectionType UPDATE
          Get sites that the current user has write access to (non-myWorkspace, non-special).
 
Method Summary
 boolean isIgnoreSpecial()
           
 boolean isIgnoreUnpublished()
           
 boolean isIgnoreUser()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACCESS

public static final SiteService.SelectionType ACCESS
Get sites that the current user has read access to (non-myWorkspace, non-special).


UPDATE

public static final SiteService.SelectionType UPDATE
Get sites that the current user has write access to (non-myWorkspace, non-special).


JOINABLE

public static final SiteService.SelectionType JOINABLE
Get sites that the current user does not have read access to but are joinable (non-myWorkspace, non-special).


PUBVIEW

public static final SiteService.SelectionType PUBVIEW
Get sites that are marked for view (non-myWorkspace, non-special).


ANY

public static final SiteService.SelectionType ANY
Get any sites.


NON_USER

public static final SiteService.SelectionType NON_USER
Get any non-user sites.

Method Detail

toString

public String toString()

isIgnoreSpecial

public boolean isIgnoreSpecial()

isIgnoreUser

public boolean isIgnoreUser()

isIgnoreUnpublished

public boolean isIgnoreUnpublished()