public class UUIDRegistrationGroupCodeGenerator extends Object implements RegistrationGroupCodeGenerator
Constructor and Description |
---|
UUIDRegistrationGroupCodeGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
generateRegistrationGroupCode(FormatOffering fo,
List<ActivityOfferingInfo> activities,
Map<String,Object> keyValues)
Generate a Registration Group Code.
|
void |
initializeGenerator(CourseOfferingService coService,
FormatOffering fo,
ContextInfo context,
Map<String,Object> keyValues)
Allows for an initialization phase in the registration group code generation phase to allow for, say,
stateful generation of registration group codes
|
public UUIDRegistrationGroupCodeGenerator()
public void initializeGenerator(CourseOfferingService coService, FormatOffering fo, ContextInfo context, Map<String,Object> keyValues)
RegistrationGroupCodeGenerator
initializeGenerator
in interface RegistrationGroupCodeGenerator
coService
- Course offering servicefo
- Format offeringkeyValues
- Allows for anything to be passed inpublic String generateRegistrationGroupCode(FormatOffering fo, List<ActivityOfferingInfo> activities, Map<String,Object> keyValues)
RegistrationGroupCodeGenerator
generateRegistrationGroupCode
in interface RegistrationGroupCodeGenerator
fo
- the format Offeringactivities
- The list of Activities in the registration groupkeyValues
- Allows for anything to be passed in by key-valuesCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.