org.kuali.student.r2.common.util
Class KSKeyGenerator
java.lang.Object
org.kuali.student.r2.common.util.KSKeyGenerator
public class KSKeyGenerator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KSKeyGenerator
public KSKeyGenerator()
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 prefixdtoName
- the DTO for which the name is being created, for e,g Terms will be named like FALL, SPRING, SUMMER etcatpUniqueIdentifier
- 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.