类 AbstractCourseLimitContentProvider<T>

java.lang.Object
org.beangle.commons.dao.impl.BaseServiceImpl
org.openurp.edu.clazz.service.limit.impl.AbstractCourseLimitContentProvider<T>
所有已实现的接口:
RestrictionItemContentProvider<T>
直接已知子类:
AbstractCourseLimitEntityProvider, CourseLimitGradeProvider

public abstract class AbstractCourseLimitContentProvider<T> extends org.beangle.commons.dao.impl.BaseServiceImpl implements RestrictionItemContentProvider<T>
  • 字段详细资料

    • converter

      public static final org.beangle.commons.collection.MapConverter converter
  • 构造器详细资料

    • AbstractCourseLimitContentProvider

      public AbstractCourseLimitContentProvider()
  • 方法详细资料

    • getContentValues

      protected Object[] getContentValues(String content)
    • 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或者code
      limit - 分页要求
      cascadeField - 级联查询所需要的数据,RestrictionItemMeta.id->content
      返回:
    • getCascadeContents

      protected abstract List<T> getCascadeContents(Object[] content, String term, org.beangle.commons.collection.page.PageLimit limit, Map<RestrictionMeta,String> cascadeField)
    • getContents

      public Map<String,T> getContents(String content)
      从接口复制的说明: 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或者code
      limit - 分页要求
      返回:
    • getOtherContents

      protected abstract List<T> getOtherContents(Object[] content, String term, org.beangle.commons.collection.page.PageLimit limit)
    • getContentMap

      protected abstract Map<String,T> getContentMap(Object[] content)
    • getMeta

      public abstract RestrictionMeta getMeta()
      从接口复制的说明: RestrictionItemContentProvider
      获得本Provider所对应的RestrictionMeta
      指定者:
      getMeta 在接口中 RestrictionItemContentProvider<T>
      返回: