org.kuali.rice.kim.dao
Interface LdapPrincipalDao

All Known Implementing Classes:
LdapPrincipalDaoImpl

public interface LdapPrincipalDao

Interface class with public methods for accessing LDAP data store for entity information

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 Map<String,org.springframework.ldap.core.ContextMapper> getContextMappers()
           
 Map<String,EntityNamePrincipalName> getDefaultNamesForEntityIds(List<String> entityIds)
           
 Map<String,EntityNamePrincipalName> getDefaultNamesForPrincipalIds(List<String> principalIds)
           
 Entity getEntity(String entityId)
           
 Entity getEntityByPrincipalId(String principalId)
          Fetches full entity info, populated from EDS, based on the Entity's principal id
 Entity getEntityByPrincipalName(String principalName)
           
 EntityDefault getEntityDefault(String entityId)
          Find entity objects based on the given criteria.
 EntityDefault getEntityDefaultByPrincipalId(String principalId)
          entityid and principalId are treated as the same.
 EntityDefault getEntityDefaultByPrincipalName(String principalName)
           
 EntityPrivacyPreferences getEntityPrivacyPreferences(String entityId)
           
 Constants getKimConstants()
           
 org.springframework.ldap.core.LdapTemplate getLdapTemplate()
           
 Principal getPrincipal(String principalId)
          In EDS, the principalId, principalName, and entityId will all be the same.
 Principal getPrincipalByName(String principalName)
          In EDS, the principalId, principalName, and entityId will all be the same.
 List<String> lookupEntityIds(Map<String,String> searchCriteria)
           
<T> List<T>
search(Class<T> type, Map<String,Object> criteria)
           
 void setLdapTemplate(org.springframework.ldap.core.LdapTemplate template)
           
 

Method Detail

getLdapTemplate

org.springframework.ldap.core.LdapTemplate getLdapTemplate()

setLdapTemplate

void setLdapTemplate(org.springframework.ldap.core.LdapTemplate template)

getPrincipal

Principal getPrincipal(String principalId)
In EDS, the principalId, principalName, and entityId will all be the same.


getPrincipalByName

Principal getPrincipalByName(String principalName)
In EDS, the principalId, principalName, and entityId will all be the same.


search

<T> List<T> search(Class<T> type,
                   Map<String,Object> criteria)

getEntityDefault

EntityDefault getEntityDefault(String entityId)
Find entity objects based on the given criteria.


getEntity

Entity getEntity(String entityId)

getEntityByPrincipalId

Entity getEntityByPrincipalId(String principalId)
Fetches full entity info, populated from EDS, based on the Entity's principal id

Parameters:
principalId - the principal id to look the entity up for
Returns:
the corresponding entity info

getEntityByPrincipalName

Entity getEntityByPrincipalName(String principalName)

getEntityDefaultByPrincipalId

EntityDefault getEntityDefaultByPrincipalId(String principalId)
entityid and principalId are treated as the same.

See Also:
getEntityDefault(String)

getEntityDefaultByPrincipalName

EntityDefault getEntityDefaultByPrincipalName(String principalName)

lookupEntityIds

List<String> lookupEntityIds(Map<String,String> searchCriteria)

getEntityPrivacyPreferences

EntityPrivacyPreferences getEntityPrivacyPreferences(String entityId)

getDefaultNamesForPrincipalIds

Map<String,EntityNamePrincipalName> getDefaultNamesForPrincipalIds(List<String> principalIds)

getDefaultNamesForEntityIds

Map<String,EntityNamePrincipalName> getDefaultNamesForEntityIds(List<String> entityIds)

getContextMappers

Map<String,org.springframework.ldap.core.ContextMapper> getContextMappers()

getKimConstants

Constants getKimConstants()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.