Class EntitySourceAdapter
java.lang.Object
edu.internet2.middleware.subject.provider.BaseSourceAdapter
edu.internet2.middleware.grouper.GrouperSourceAdapter
edu.internet2.middleware.grouper.entity.EntitySourceAdapter
- All Implemented Interfaces:
Source
Source adapter for Entities
- Version:
- $Id: GrouperSourceAdapter.java,v 1.31 2009-08-12 04:52:21 mchyzer Exp $
-
Field Summary
Fields inherited from class edu.internet2.middleware.grouper.GrouperSourceAdapter
failOnSearchForTesting
Fields inherited from class edu.internet2.middleware.subject.provider.BaseSourceAdapter
attributes, descriptionAttributeName, id, internalAttributes, name, nameAttributeName, params, searchAttributes, searches, sortAttributes, subjectIdentifierAttributes, subjectIdentifierAttributesAll, type, types
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
return the entity source idGets the SubjectTypes supported by this source.static EntitySourceAdapter
instance()
instancetype of groups to search onMethods inherited from class edu.internet2.middleware.grouper.GrouperSourceAdapter
checkConfig, clearSearchForGroupsWithReadPrivilege, getMaxPage, getSubject, getSubject, getSubjectByIdentifier, getSubjectByIdentifier, getSubjectIdentifierAttributes, getSubjectIdentifierAttributesAll, getSubjectsByIdentifiers, getSubjectsByIds, groupSourceId, init, internal_getSessionOrRootForSubjectFinder, loggingStart, loggingStop, printConfig, retrieveAllSubjectIds, search, searchForGroupsWithReadPrivilege, searchForGroupsWithReadPrivilege, searchPage
Methods inherited from class edu.internet2.middleware.subject.provider.BaseSourceAdapter
addAttribute, addInitParam, addInternalAttribute, addSubjectType, attributeNameToViewerGroupName, convertSourceAttributeToSubjectAttribute, convertSubjectAttributeToSourceAttribute, createSubject, equals, exportLabelToAttributeName, getAttributes, getConfigId, getId, getInitParam, getInternalAttributes, getName, getSearch, getSearchAttributes, getSearches, getSortAttributes, getSourceAttributesToLowerCase, getSubject, getSubjectByIdentifier, getSubjectByIdOrIdentifier, getSubjectByIdOrIdentifier, getSubjectsByIdentifiers, getSubjectsByIds, getSubjectsByIdsOrIdentifiers, getSubjectsByIdsOrIdentifiers, getSubjectStatusConfig, getSubjectType, hashCode, initParams, isEditable, isEnabled, loadSearch, removeInitParam, resultSetLimit, search, searchPage, setConfigId, setId, setName, setSearchAttributes, setSearches, setSortAttributes, setSubjectIdentifierAttributes, setSubjectIdentifierAttributesAll, virtualAttributesForSource, virtualAttributesForSourceLegacy, virtualAttributeVariablesForSourceLegacy
-
Constructor Details
-
EntitySourceAdapter
public EntitySourceAdapter()
-
-
Method Details
-
entitySourceId
return the entity source id- Returns:
- the source id for the entity source
-
typeOfGroups
type of groups to search on- Overrides:
typeOfGroups
in classGrouperSourceAdapter
- Returns:
- type of groups
-
getSubjectTypes
Gets the SubjectTypes supported by this source.SourceAdapter sa = new GrouperSourceAdapter(); Set types = sa.getSubjectTypes();
- Specified by:
getSubjectTypes
in interfaceSource
- Overrides:
getSubjectTypes
in classGrouperSourceAdapter
- Returns:
- Subject types supported by this source.
-
instance
instance- Returns:
- instance
-