接口 LoginLogService

  • 所有超级接口:
    net.guerlab.smart.platform.server.service.BaseFindService<LoginLog,​Long>, net.guerlab.smart.platform.server.service.ExampleGetter<LoginLog>
    所有已知实现类:
    LoginLogServiceImpl

    public interface LoginLogService
    extends net.guerlab.smart.platform.server.service.BaseFindService<LoginLog,​Long>
    登录记录服务
    作者:
    guer
    • 方法概要

      所有方法 实例方法 抽象方法 默认方法 
      修饰符和类型 方法 说明
      void addFailLog​(Long userId, String name, String loginIdentity, String loginType, String loginIp, String reason)
      添加登录失败记录
      void addSuccessLog​(Long userId, String name, String loginIdentity, String loginType, String loginIp)
      添加登录成功记录
      default Class<LoginLog> getEntityClass()
      获取实体类型
      • 从接口继承的方法 net.guerlab.smart.platform.server.service.BaseFindService

        selectAll, selectAll, selectById, selectByIdOptional, selectCount, selectCount, selectList, selectList, selectOne, selectOne, selectOneOptional, selectOneOptional, selectPage
      • 从接口继承的方法 net.guerlab.smart.platform.server.service.ExampleGetter

        getExample, getExample
    • 方法详细资料

      • addSuccessLog

        void addSuccessLog​(Long userId,
                           String name,
                           String loginIdentity,
                           String loginType,
                           String loginIp)
        添加登录成功记录
        参数:
        userId - 用户ID
        name - 姓名
        loginIdentity - 登录身份
        loginType - 登录方式
        loginIp - 登录ip
      • addFailLog

        void addFailLog​(Long userId,
                        String name,
                        String loginIdentity,
                        String loginType,
                        String loginIp,
                        String reason)
        添加登录失败记录
        参数:
        userId - 用户ID
        name - 姓名
        loginIdentity - 登录身份
        loginType - 登录方式
        loginIp - 登录ip
        reason - 成功标志
      • getEntityClass

        default Class<LoginLog> getEntityClass()
        获取实体类型
        指定者:
        getEntityClass 在接口中 net.guerlab.smart.platform.server.service.ExampleGetter<LoginLog>
        返回:
        实体类型