public class CourseOfferingCodeGeneratorDBImpl extends Object implements CourseOfferingCodeGenerator
ACTIVITY_OFFERING_CODE_LIST_KEY, COURSE_OFFERING_CODE_KEY
Constructor and Description |
---|
CourseOfferingCodeGeneratorDBImpl() |
Modifier and Type | Method and Description |
---|---|
String |
calculateNextCode(List<String> codes) |
String |
generateActivityOfferingCode(Map<String,Object> generatorPropertiesMap)
In this implementation we're going to pass in a list of existing aoCodes into the map
|
String |
generateCourseOfferingInternalCode(List<CourseOfferingInfo> existingCourseOfferings) |
CodeGeneratorLocksDaoApi |
getCodeGeneratorLocksDao() |
protected String |
getNextCode(String source) |
void |
setCodeGeneratorLocksDao(CodeGeneratorLocksDaoApi codeGeneratorLocksDao) |
public CourseOfferingCodeGeneratorDBImpl()
public String generateActivityOfferingCode(Map<String,Object> generatorPropertiesMap)
generateActivityOfferingCode
in interface CourseOfferingCodeGenerator
generatorPropertiesMap
- A map containing the properties needed to generate the codespublic String generateCourseOfferingInternalCode(List<CourseOfferingInfo> existingCourseOfferings)
generateCourseOfferingInternalCode
in interface CourseOfferingCodeGenerator
public String calculateNextCode(List<String> codes)
protected String getNextCode(String source)
public CodeGeneratorLocksDaoApi getCodeGeneratorLocksDao()
public void setCodeGeneratorLocksDao(CodeGeneratorLocksDaoApi codeGeneratorLocksDao)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.