类 BaseRoleService<T extends BaseRole>

java.lang.Object
cool.scx.core.base.BasicService<Entity>
cool.scx.core.base.BaseModelService<T>
cool.scx.ext.organization.base.BaseRoleService<T>
直接已知子类:
RoleService

public abstract class BaseRoleService<T extends BaseRole> extends cool.scx.core.base.BaseModelService<T>
RoleService
版本:
1.1.2
作者:
scx567888
  • 字段概要

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

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

    构造器
    构造器
    说明
    Constructor for CoreRoleService.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    addRoleListWithUserID(Long userID, List<Long> roleIDs)
    saveRoleListWithUserID
    void
    findDeptByUserID.
    根据 用户获取 角色
    getUserRoleByUserIDs(cool.scx.sql.SQL userIDs)
    getUserRoleByUserIDs

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

    add, add, add, add, buildGetSQL, buildGetSQLWithAlias, buildListSQL, buildListSQLWithAlias, count, count, delete, delete, get, get, get, get, list, list, 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
  • 构造器详细资料

    • BaseRoleService

      public BaseRoleService(UserRoleService userRoleService)

      Constructor for CoreRoleService.

      参数:
      userRoleService - a UserRoleService object.
  • 方法详细资料

    • getRoleListByUser

      public List<T> getRoleListByUser(BaseUser user)
      根据 用户获取 角色
      参数:
      user - a BaseUser object
      返回:
      a List object
    • getUserRoleByUserIDs

      public List<UserRole> getUserRoleByUserIDs(cool.scx.sql.SQL userIDs)
      getUserRoleByUserIDs
      参数:
      userIDs - a
      返回:
      a List object
    • findDeptByUserID

      public List<UserRole> findDeptByUserID(Long userID)

      findDeptByUserID.

      参数:
      userID - a Long object
      返回:
      a List object
    • addRoleListWithUserID

      public void addRoleListWithUserID(Long userID, List<Long> roleIDs)
      saveRoleListWithUserID
      参数:
      userID - a Long object
      roleIDs - a String object
    • deleteByUserID

      public void deleteByUserID(Long id)
      参数:
      id - a Long object