Class RightsService

java.lang.Object
cn.vertxup.rbac.service.business.RightsService
All Implemented Interfaces:
RightsStub

public class RightsService extends Object implements RightsStub
Author:
Lang
  • Constructor Details

    • RightsService

      public RightsService()
  • Method Details

    • saveRoles

      public io.vertx.core.Future<io.vertx.core.json.JsonArray> saveRoles(String roleId, io.vertx.core.json.JsonArray data)
      Description copied from interface: RightsStub
      Update role perm relation information
      Specified by:
      saveRoles in interface RightsStub
    • removeRoles

      public io.vertx.core.Future<Boolean> removeRoles(String roleId)
      Specified by:
      removeRoles in interface RightsStub
    • fetchAsync

      public io.vertx.core.Future<io.vertx.core.json.JsonArray> fetchAsync(String sigma)
      Specified by:
      fetchAsync in interface RightsStub
    • saveDefinition

      public io.vertx.core.Future<io.vertx.core.json.JsonArray> saveDefinition(io.vertx.core.json.JsonArray permissions, SPermSet permSet)
      Specified by:
      saveDefinition in interface RightsStub