接口 CourseLimitService
- 所有已知实现类:
CourseLimitServiceImpl
public interface CourseLimitService
-
方法概要
修饰符和类型方法说明builder()获得构建器builder(Enrollment teachclass) 获得默认条件组的构建器extractAttendDeparts(Enrollment teachclass) 提取教学班中的上课院系extractAttendDeparts(Restriction group) extractDirections(Enrollment teachclass) 提取教学班中的方向extractDirections(Restriction group) extractEducations(Enrollment teachclass) 提交培养层次extractEducations(Restriction group) extractGender(Enrollment teachclass) 已过时。extractGender(Restriction group) 已过时。extractGrade(Enrollment teachclass) 提交教学班中的年级extractGrade(Restriction group) extractLonelyTakers(Enrollment teachclass) 获得教学任务中不属于任务中任何一个行政班的选课记录extractMajors(Enrollment teachclass) 提取教学班中的专业extractMajors(Restriction group) extractPossibleCourseTakers(Clazz clazz) 如果教学任务已经有人选了,则直接返回已经选课的人
如果没有人选,那么返回所有行政班中的人extractSquades(Enrollment teachclass) 提取教学任务中的行政班extractSquades(Restriction group) extractStdTypes(Enrollment teachclass) 提取教学班中的学生类别extractStdTypes(Restriction group) booleanisAutoName(Clazz clazz) 判断教学班名称是否自动命名voidlimitEnrollment(boolean operator, Enrollment teachclass, String... grades) <T extends org.beangle.commons.entity.Entity<?>>
voidlimitEnrollment(boolean operator, Enrollment teachclass, T... entities) voidmerge(Long mergeType, Enrollment target, Enrollment source) 已过时。voidmergeAll(Enrollment target, Enrollment source) 已过时。Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, List<Department>>> xtractAttendDepartLimit(Enrollment teachclass) org.beangle.commons.lang.tuple.Pair<Boolean,List<Department>> Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, List<Direction>>> xtractDirectionLimit(Enrollment teachclass) xtractDirectionLimit(Restriction group) Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, List<EducationLevel>>> xtractEducationLimit(Enrollment teachclass) org.beangle.commons.lang.tuple.Pair<Boolean,List<EducationLevel>> xtractEducationLimit(Restriction group) Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, List<String>>> xtractGradeLimit(Enrollment teachclass) xtractGradeLimit(Restriction group) xtractLimitGroup(Restriction group) Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, List<Major>>> xtractMajorLimit(Enrollment teachclass) xtractMajorLimit(Restriction group) Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, List<Squad>>> xtractSquadLimit(Enrollment teachclass) xtractSquadLimit(Restriction group) Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, List<StdType>>> xtractStdTypeLimit(Enrollment teachclass) xtractStdTypeLimit(Restriction group)
-
方法详细资料
-
mergeAll
已过时。source中的restrictions统统合并到target中- 参数:
target-source-
-
merge
已过时。source中的某个restriction合并到target中- 参数:
mergeType-target-source-
-
xtractEducationLimit
Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, xtractEducationLimitList<EducationLevel>>> (Enrollment teachclass) -
xtractEducationLimit
org.beangle.commons.lang.tuple.Pair<Boolean,List<EducationLevel>> xtractEducationLimit(Restriction group) -
xtractSquadLimit
Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, xtractSquadLimitList<Squad>>> (Enrollment teachclass) -
xtractSquadLimit
-
xtractGradeLimit
Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, xtractGradeLimitList<String>>> (Enrollment teachclass) -
xtractGradeLimit
-
xtractStdTypeLimit
Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, xtractStdTypeLimitList<StdType>>> (Enrollment teachclass) -
xtractStdTypeLimit
-
xtractAttendDepartLimit
Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, xtractAttendDepartLimitList<Department>>> (Enrollment teachclass) -
xtractAttendDepartLimit
org.beangle.commons.lang.tuple.Pair<Boolean,List<Department>> xtractAttendDepartLimit(Restriction group) -
xtractMajorLimit
Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, xtractMajorLimitList<Major>>> (Enrollment teachclass) -
xtractMajorLimit
-
xtractDirectionLimit
Map<Restriction,org.beangle.commons.lang.tuple.Pair<Boolean, xtractDirectionLimitList<Direction>>> (Enrollment teachclass) -
xtractDirectionLimit
org.beangle.commons.lang.tuple.Pair<Boolean,List<Direction>> xtractDirectionLimit(Restriction group) -
limitEnrollment
-
limitEnrollment
<T extends org.beangle.commons.entity.Entity<?>> void limitEnrollment(boolean operator, Enrollment teachclass, T... entities) -
extractEducations
提交培养层次- 参数:
teachclass-- 返回:
-
extractEducations
-
extractSquades
提取教学任务中的行政班- 参数:
teachclass-- 返回:
-
extractSquades
-
extractGrade
提交教学班中的年级- 参数:
teachclass-- 返回:
-
extractGrade
-
extractStdTypes
提取教学班中的学生类别- 参数:
teachclass-- 返回:
-
extractStdTypes
-
extractMajors
提取教学班中的专业- 参数:
teachclass-- 返回:
-
extractMajors
-
extractDirections
提取教学班中的方向- 参数:
teachclass-- 返回:
-
extractDirections
-
extractAttendDeparts
提取教学班中的上课院系- 参数:
teachclass-- 返回:
-
extractAttendDeparts
-
extractGender
已过时。提取教学班中的性别- 参数:
teachclass-- 返回:
-
extractGender
已过时。 -
builder
RestrictionBuilder builder()获得构建器- 返回:
-
builder
获得默认条件组的构建器- 返回:
-
extractLonelyTakers
获得教学任务中不属于任务中任何一个行政班的选课记录- 参数:
teachclass-- 返回:
-
extractPossibleCourseTakers
如果教学任务已经有人选了,则直接返回已经选课的人
如果没有人选,那么返回所有行政班中的人- 参数:
teachclass-- 返回:
-
isAutoName
判断教学班名称是否自动命名- 参数:
clazz-- 返回:
-
xtractLimitGroup
-