org.kuali.student.common.assembly.util
Class IdTranslator

java.lang.Object
  extended by org.kuali.student.common.assembly.util.IdTranslator

public class IdTranslator
extends Object

Builds and issues SearchRequests parameterized with the information from LookupMetadata and the provided ID

Author:
Kuali Student Team

Field Summary
private  List<SearchParam> additionalParams
           
private static String ENUMERATION
           
(package private)  Logger LOG
           
private  SearchDispatcher searchDispatcher
           
 
Constructor Summary
IdTranslator(SearchDispatcher searchDispatcher)
           
 
Method Summary
private  SearchRequest buildSearchRequestById(LookupMetadata lookupMetadata, String searchId)
           
private  SearchParam createParam(String key, String value)
           
 IdTranslation getTranslation(LookupMetadata lookupMetadata, String id)
           
 String getTranslationForAtp(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENUMERATION

private static final String ENUMERATION
See Also:
Constant Field Values

additionalParams

private List<SearchParam> additionalParams

searchDispatcher

private SearchDispatcher searchDispatcher

LOG

final Logger LOG
Constructor Detail

IdTranslator

public IdTranslator(SearchDispatcher searchDispatcher)
             throws AssemblyException
Throws:
AssemblyException
Method Detail

buildSearchRequestById

private SearchRequest buildSearchRequestById(LookupMetadata lookupMetadata,
                                             String searchId)

createParam

private SearchParam createParam(String key,
                                String value)

getTranslation

public IdTranslation getTranslation(LookupMetadata lookupMetadata,
                                    String id)
                             throws AssemblyException
Throws:
AssemblyException

getTranslationForAtp

public String getTranslationForAtp(String value)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.