类 UserInfoModelService<M extends UserInfoModel>

java.lang.Object
cool.scx.core.base.BasicService<Entity>
cool.scx.core.base.BaseModelService<M>
cool.scx.ext.organization.auth.UserInfoModelService<M>
直接已知子类:
AccountService

public abstract class UserInfoModelService<M extends UserInfoModel> extends cool.scx.core.base.BaseModelService<M>

Abstract UserInfoModelService class.

版本:
1.11.8
作者:
scx567888
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected final UserService
    userService

    从类继承的字段 cool.scx.core.base.BasicService

    countResultHandler, entityBeanListHandler, entityClass, scxDaoTableInfo
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    protected
    Constructor for UserInfoModelService.
  • 方法概要

    修饰符和类型
    方法
    说明
    final List<M>
    fillUserField(List<M> oldList, cool.scx.core.base.Query query)
    填充 list 中的 user 字段
    final M
    根据用户查询 信息
    final M
    getByUserWithoutUserField.
    list(cool.scx.core.base.Query query, cool.scx.core.base.SelectFilter selectFilter)
    final List<M>
    listByUser(List<User> userList)
    根据用户查询 信息

    从类继承的方法 cool.scx.core.base.BaseModelService

    add, add, add, add, buildGetSQL, buildGetSQLWithAlias, buildListSQL, buildListSQLWithAlias, count, count, delete, delete, get, get, get, get, list, list, list, revokeDelete, revokeDelete, update, update, update, update

    从类继承的方法 cool.scx.core.base.BasicService

    _buildSelectSQL, _buildSelectSQLWithAlias, _count, _delete, _insert, _insertBatch, _scxDaoTableInfo, _select, _truncate, _update, autoTransaction, autoTransaction

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • userService

      protected final UserService userService
      userService
  • 构造器详细资料

    • UserInfoModelService

      protected UserInfoModelService(UserService userService)

      Constructor for UserInfoModelService.

      参数:
      userService - a UserService object
  • 方法详细资料

    • list

      public List<M> list(cool.scx.core.base.Query query, cool.scx.core.base.SelectFilter selectFilter)

      重写 list 方法以使用 userID 填充 user 对象

      覆盖:
      list 在类中 cool.scx.core.base.BaseModelService<M extends UserInfoModel>
    • getByUser

      public final M getByUser(User user)
      根据用户查询 信息
      参数:
      user - user
      返回:
      list
    • getByUserWithoutUserField

      public final M getByUserWithoutUserField(User user)

      getByUserWithoutUserField.

      参数:
      user - a User object
      返回:
      a M object
    • listByUser

      public final List<M> listByUser(List<User> userList)
      根据用户查询 信息
      参数:
      userList - userList
      返回:
      list
    • fillUserField

      public final List<M> fillUserField(List<M> oldList, cool.scx.core.base.Query query)
      填充 list 中的 user 字段
      参数:
      oldList - 旧 list
      query - a
      返回:
      填充后的 list