edu.internet2.middleware.grouper.entity
Class EntitySourceAdapter

java.lang.Object
  extended by edu.internet2.middleware.subject.provider.BaseSourceAdapter
      extended by edu.internet2.middleware.grouper.GrouperSourceAdapter
          extended by edu.internet2.middleware.grouper.entity.EntitySourceAdapter
All Implemented Interfaces:
edu.internet2.middleware.subject.Source

public class EntitySourceAdapter
extends GrouperSourceAdapter

Source adapter for Entities

Version:
$Id: GrouperSourceAdapter.java,v 1.31 2009-08-12 04:52:21 mchyzer Exp $
Author:
chris hyzer.

Field Summary
 
Fields inherited from class edu.internet2.middleware.grouper.GrouperSourceAdapter
failOnSearchForTesting
 
Constructor Summary
EntitySourceAdapter()
           
 
Method Summary
static String entitySourceId()
          return the entity source id
 Set getSubjectTypes()
          Gets the SubjectTypes supported by this source.
static EntitySourceAdapter instance()
          instance
 Set<TypeOfGroup> typeOfGroups()
          type of groups to search on
 
Methods inherited from class edu.internet2.middleware.grouper.GrouperSourceAdapter
checkConfig, clearSearchForGroupsWithReadPrivilege, getMaxPage, getSubject, getSubject, getSubjectByIdentifier, getSubjectByIdentifier, getSubjectIdentifierAttributes, getSubjectsByIdentifiers, getSubjectsByIds, groupSourceId, init, internal_getSessionOrRootForSubjectFinder, printConfig, search, searchForGroupsWithReadPrivilege, searchForGroupsWithReadPrivilege, searchPage
 
Methods inherited from class edu.internet2.middleware.subject.provider.BaseSourceAdapter
addAttribute, addInitParam, addInternalAttribute, addSubjectType, equals, getId, getInitParam, getInternalAttributes, getName, getSearchAttributes, getSortAttributes, getSubject, getSubjectByIdentifier, getSubjectByIdOrIdentifier, getSubjectByIdOrIdentifier, getSubjectsByIdentifiers, getSubjectsByIds, getSubjectsByIdsOrIdentifiers, getSubjectsByIdsOrIdentifiers, getSubjectStatusConfig, getSubjectType, hashCode, initParams, loadSearch, removeInitParam, resultSetLimit, search, searchPage, setId, setName, setSearchAttributes, setSortAttributes, setSubjectIdentifierAttributes
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntitySourceAdapter

public EntitySourceAdapter()
Method Detail

entitySourceId

public static String entitySourceId()
return the entity source id

Returns:
the source id for the entity source

typeOfGroups

public Set<TypeOfGroup> typeOfGroups()
type of groups to search on

Overrides:
typeOfGroups in class GrouperSourceAdapter
Returns:
type of groups

getSubjectTypes

public Set getSubjectTypes()
Gets the SubjectTypes supported by this source.
 SourceAdapter  sa    = new GrouperSourceAdapter();
 Set            types = sa.getSubjectTypes();
 

Specified by:
getSubjectTypes in interface edu.internet2.middleware.subject.Source
Overrides:
getSubjectTypes in class GrouperSourceAdapter
Returns:
Subject types supported by this source.

instance

public static EntitySourceAdapter instance()
instance

Returns:
instance