org.jasig.portal.groups
Class PersonDirNameFinder

java.lang.Object
  extended by org.jasig.portal.groups.PersonDirNameFinder
All Implemented Interfaces:
IEntityNameFinder

public class PersonDirNameFinder
extends Object
implements IEntityNameFinder

Implementation of IEntityNameFinder for IPersons by looking up displayName from an IPersonAttributeDao.

Version:
$Revision: 19776 $
Author:
Alex Vigdor

Method Summary
 String getName(String key)
          Given the key, returns the entity's name.
 Map<String,String> getNames(String[] keys)
          Given an array of keys, returns the names of the entities.
 Class<IPerson> getType()
          Returns the entity type for this IEntityFinder.
static IEntityNameFinder singleton()
          Deprecated. as of uP 2.5 instead use PersonDirNameFinderFactory
 String toString()
          Returns a String that represents the value of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public String getName(String key)
Description copied from interface: IEntityNameFinder
Given the key, returns the entity's name.

Specified by:
getName in interface IEntityNameFinder
Parameters:
key - java.lang.String

getNames

public Map<String,String> getNames(String[] keys)
Description copied from interface: IEntityNameFinder
Given an array of keys, returns the names of the entities.

Specified by:
getNames in interface IEntityNameFinder
Parameters:
keys - java.lang.String[]

getType

public Class<IPerson> getType()
Description copied from interface: IEntityNameFinder
Returns the entity type for this IEntityFinder.

Specified by:
getType in interface IEntityNameFinder
Returns:
java.lang.Class

singleton

@Deprecated
public static IEntityNameFinder singleton()
Deprecated. as of uP 2.5 instead use PersonDirNameFinderFactory

Get a static singleton instance of this class backed by PersonDirectory.

Returns:
singleton PersonDirNameFinder backed by PersonDirectory

toString

public String toString()
Returns a String that represents the value of this object.

Overrides:
toString in class Object
Returns:
a string representation of the receiver


Copyright © 2010 Jasig. All Rights Reserved.