Class UserService

java.lang.Object
cn.vertxup.rbac.service.business.UserService
All Implemented Interfaces:
UserStub

public class UserService extends Object implements UserStub
  • Constructor Details

    • UserService

      public UserService()
  • Method Details

    • fetchInformation

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> fetchInformation(String userId)
      Specified by:
      fetchInformation in interface UserStub
    • fetchOUser

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> fetchOUser(String userKey)
      Description copied from interface: UserStub
      Fetch ouser by client_id
      Specified by:
      fetchOUser in interface UserStub
    • updateInformation

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> updateInformation(String userId, io.vertx.core.json.JsonObject params)
      Description copied from interface: UserStub
      Update employee information
      Specified by:
      updateInformation in interface UserStub
    • createUser

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> createUser(io.vertx.core.json.JsonObject params)
      Description copied from interface: UserStub
      create user: SUser and OUser
      Specified by:
      createUser in interface UserStub
    • deleteUser

      public io.vertx.core.Future<Boolean> deleteUser(String userKey)
      Description copied from interface: UserStub
      delete user including related roles and groups
      Specified by:
      deleteUser in interface UserStub