1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.student.enrollment.class2.courseoffering.refdata;
18
19 import org.kuali.rice.core.api.criteria.PredicateFactory;
20 import org.kuali.rice.core.api.criteria.QueryByCriteria;
21 import org.kuali.student.common.util.UUIDHelper;
22 import org.kuali.student.enrollment.courseoffering.dto.ActivityOfferingInfo;
23 import org.kuali.student.enrollment.courseoffering.dto.SeatPoolDefinitionInfo;
24 import org.kuali.student.enrollment.courseoffering.infc.SeatPoolDefinition;
25 import org.kuali.student.enrollment.courseoffering.service.CourseOfferingService;
26 import org.kuali.student.enrollment.lui.service.LuiService;
27 import org.kuali.student.r2.common.dto.ContextInfo;
28 import org.kuali.student.r2.common.util.constants.LuiServiceConstants;
29
30 import java.util.ArrayList;
31 import java.util.List;
32
33
34
35
36
37
38 public class SeatPoolGenerator {
39 CourseOfferingService coService;
40 LuiService luiService;
41
42 List<String> atpIds = new ArrayList<String>();
43
44 public SeatPoolGenerator() {
45 atpIds.add("kuali.atp.2011Fall");
46 atpIds.add("kuali.atp.2012Spring");
47 atpIds.add("kuali.atp.2011Summer1");
48 atpIds.add("kuali.atp.2011Spring");
49 atpIds.add("kuali.atp.2012Winter");
50 atpIds.add("kuali.atp.2011Winter");
51 atpIds.add("kuali.atp.2012Summer1");
52 atpIds.add("kuali.atp.2012Fall");
53 }
54 public void setCoService(CourseOfferingService coService) {
55 this.coService = coService;
56 }
57
58 public void generateSeatpool() throws Exception {
59 ContextInfo contextInfo = new ContextInfo();
60
61
62
63
64
65
66 for (int i = 0; i < 500; i++) {
67 System.err.println(UUIDHelper.genStringUUID());
68 }
69 assert (Boolean.TRUE);
70 }
71
72 }