类 AbstractCourseLimitContentProvider<T>
java.lang.Object
org.beangle.commons.dao.impl.BaseServiceImpl
org.openurp.edu.clazz.service.limit.impl.AbstractCourseLimitContentProvider<T>
- 所有已实现的接口:
RestrictionItemContentProvider<T>
public abstract class AbstractCourseLimitContentProvider<T>
extends org.beangle.commons.dao.impl.BaseServiceImpl
implements RestrictionItemContentProvider<T>
-
字段概要
字段从类继承的字段 org.beangle.commons.dao.impl.BaseServiceImpl
entityDao, eventMulticaster, logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getCascadeContents(Object[] content, String term, org.beangle.commons.collection.page.PageLimit limit, Map<RestrictionMeta, String> cascadeField) getCascadeContents(String content, String term, org.beangle.commons.collection.page.PageLimit limit, Map<RestrictionMeta, String> cascadeField) 级联获得content代表的entity集合以外的其他entity集合,比如专业、方向、班级、计划getContentMap(Object[] content) getContents(String content) 根据所给的内容,返回 identifier->entity 的Map
比如:
如果LimitItem是年级,那么返回 "2011"->"2011"
如果LimitItem是专业,那么返回 "专业ID" -> 专业protected Object[]getContentValues(String content) abstract RestrictionMetagetMeta()获得本Provider所对应的RestrictionMetagetOtherContents(Object[] content, String term, org.beangle.commons.collection.page.PageLimit limit) getOtherContents(String content, String term, org.beangle.commons.collection.page.PageLimit limit) 根据name和code查询,获得content代表的entity集合以外的其他entity,比如年级、学生类别、培养层次、院系等从类继承的方法 org.beangle.commons.dao.impl.BaseServiceImpl
getEntityDao, getEventMulticaster, publish, setEntityDao, setEventMulticaster从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.openurp.edu.clazz.service.limit.RestrictionItemContentProvider
getContentIdTitleMap
-
字段详细资料
-
converter
public static final org.beangle.commons.collection.MapConverter converter
-
-
构造器详细资料
-
AbstractCourseLimitContentProvider
public AbstractCourseLimitContentProvider()
-
-
方法详细资料
-
getContentValues
-
getCascadeContents
public List<T> getCascadeContents(String content, String term, org.beangle.commons.collection.page.PageLimit limit, Map<RestrictionMeta, String> cascadeField) 从接口复制的说明:RestrictionItemContentProvider级联获得content代表的entity集合以外的其他entity集合,比如专业、方向、班级、计划- 指定者:
getCascadeContents在接口中RestrictionItemContentProvider<T>- 参数:
content- 可以是用逗号分割的id,也可以直接是字符串,比如年级就是这样 ,2011,2012,2013,term- 用于作为查询条件的entity的name或者codelimit- 分页要求cascadeField- 级联查询所需要的数据,RestrictionItemMeta.id->content- 返回:
-
getCascadeContents
-
getContents
从接口复制的说明:RestrictionItemContentProvider根据所给的内容,返回 identifier->entity 的Map
比如:
如果LimitItem是年级,那么返回 "2011"->"2011"
如果LimitItem是专业,那么返回 "专业ID" -> 专业- 指定者:
getContents在接口中RestrictionItemContentProvider<T>- 参数:
content- 可以是用逗号分割的id,也可以直接是字符串,比如年级就是这样 ,2011,2012,2013,- 返回:
-
getOtherContents
public List<T> getOtherContents(String content, String term, org.beangle.commons.collection.page.PageLimit limit) 从接口复制的说明:RestrictionItemContentProvider根据name和code查询,获得content代表的entity集合以外的其他entity,比如年级、学生类别、培养层次、院系等- 指定者:
getOtherContents在接口中RestrictionItemContentProvider<T>- 参数:
content- 可以是用逗号分割的id,也可以直接是字符串,比如年级就是这样 ,2011,2012,2013,term- 用于作为查询条件的entity的name或者codelimit- 分页要求- 返回:
-
getOtherContents
-
getContentMap
-
getMeta
从接口复制的说明:RestrictionItemContentProvider获得本Provider所对应的RestrictionMeta- 指定者:
getMeta在接口中RestrictionItemContentProvider<T>- 返回:
-