org.kuali.student.r2.common.util
Class KSKeyGenerator

java.lang.Object
  extended by org.kuali.student.r2.common.util.KSKeyGenerator

public class KSKeyGenerator
extends Object


Constructor Summary
KSKeyGenerator()
           
 
Method Summary
static String generateKey(String serviceName, String dtoName, String atpUniqueIdentifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KSKeyGenerator

public KSKeyGenerator()
Method Detail

generateKey

public static String generateKey(String serviceName,
                                 String dtoName,
                                 String atpUniqueIdentifier)
                          throws InvalidParameterException
Parameters:
serviceName - the name of the service that the create method is invoked on, for all class II services having the same base class I service the key will have same prefix
dtoName - the DTO for which the name is being created, for e,g Terms will be named like FALL, SPRING, SUMMER etc
atpUniqueIdentifier - convenient readable identifier, terms or academic calendar could have year and month etc, LUIs could have coursename+year
Returns:
Throws:
InvalidParameterException


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