org.jasig.portal.groups
Class EntityGroupNameFinder

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

public class EntityGroupNameFinder
extends Object
implements IEntityNameFinder

Reference implementation of IEntityNameFinder for IEntityGroup.

Version:
$Revision: 19776 $
Author:
Alex Vigdor

Constructor Summary
protected EntityGroupNameFinder()
           
 
Method Summary
 String getName(String key)
          Given the key, returns the entity's name.
 Map getNames(String[] keys)
          Given an array of keys, returns the names of the entities.
 Class getType()
          Returns the entity type for this IEntityFinder.
static IEntityNameFinder singleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityGroupNameFinder

protected EntityGroupNameFinder()
Method Detail

singleton

public static IEntityNameFinder singleton()

getName

public String getName(String key)
               throws Exception
Given the key, returns the entity's name.

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

getNames

public Map getNames(String[] keys)
             throws Exception
Given an array of keys, returns the names of the entities.

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

getType

public Class getType()
Returns the entity type for this IEntityFinder.

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


Copyright © 2010 Jasig. All Rights Reserved.