org.kuali.rice.kim.dao
Interface PrincipalDao


public interface PrincipalDao

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

Method Summary
 Map<String,EntityName> getDefaultNamesForEntityIds(List<String> entityIds)
           
 Map<String,EntityNamePrincipalName> getDefaultNamesForPrincipalIds(List<String> principalIds)
           
 EntityDefault getEntityDefaultInfo(String entityId)
          Find entity objects based on the given criteria.
 EntityDefault getEntityDefaultInfoByPrincipalId(String principalId)
          entityid and principalId are treated as the same.
 EntityDefault getEntityDefaultInfoByPrincipalName(String principalName)
           
 Entity getEntityInfo(String entityId)
           
 Entity getEntityInfoByPrincipalId(String principalId)
          Fetches full entity info, populated from EDS, based on the Entity's principal id
 EntityPrivacyPreferences getEntityPrivacyPreferences(String entityId)
           
 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<EntityDefault> lookupEntityDefaultInfo(Map<String,String> searchCriteria, boolean unbounded)
           
 List<Entity> lookupEntityInfo(Map<String,String> searchCriteria, boolean unbounded)
           
<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)

getEntityDefaultInfo

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


getEntityInfo

Entity getEntityInfo(String entityId)

getEntityInfoByPrincipalId

Entity getEntityInfoByPrincipalId(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

getEntityDefaultInfoByPrincipalId

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

See Also:
getEntityDefaultInfo(String)

getEntityDefaultInfoByPrincipalName

EntityDefault getEntityDefaultInfoByPrincipalName(String principalName)

lookupEntityDefaultInfo

List<EntityDefault> lookupEntityDefaultInfo(Map<String,String> searchCriteria,
                                            boolean unbounded)

lookupEntityInfo

List<Entity> lookupEntityInfo(Map<String,String> searchCriteria,
                              boolean unbounded)

getEntityPrivacyPreferences

EntityPrivacyPreferences getEntityPrivacyPreferences(String entityId)

getDefaultNamesForPrincipalIds

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

getDefaultNamesForEntityIds

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


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