Class PermService

java.lang.Object
cn.vertxup.rbac.service.business.PermService
All Implemented Interfaces:
PermStub

public class PermService extends Object implements PermStub
Author:
Lang
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.vertx.core.Future<io.vertx.core.json.JsonObject>
    createAsync(io.vertx.core.json.JsonObject body)
     
    io.vertx.core.Future<Boolean>
    deleteAsync(String key, String userKey)
     
    io.vertx.core.Future<io.vertx.core.json.JsonObject>
     
    io.vertx.core.Future<io.vertx.core.json.JsonObject>
    searchAsync(io.vertx.core.json.JsonObject query, String sigma)
     
    io.vertx.core.Future<io.vertx.core.json.JsonObject>
    syncAsync(io.vertx.core.json.JsonArray removed, io.vertx.core.json.JsonObject relation, String userKey)
     
    io.vertx.core.Future<io.vertx.core.json.JsonArray>
    syncAsync(io.vertx.core.json.JsonArray permissions, String roleId)
     
    io.vertx.core.Future<io.vertx.core.json.JsonObject>
    updateAsync(String key, io.vertx.core.json.JsonObject body)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PermService

      public PermService()
  • Method Details

    • syncAsync

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> syncAsync(io.vertx.core.json.JsonArray removed, io.vertx.core.json.JsonObject relation, String userKey)
      Specified by:
      syncAsync in interface PermStub
    • syncAsync

      public io.vertx.core.Future<io.vertx.core.json.JsonArray> syncAsync(io.vertx.core.json.JsonArray permissions, String roleId)
      Specified by:
      syncAsync in interface PermStub
    • searchAsync

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> searchAsync(io.vertx.core.json.JsonObject query, String sigma)
      Specified by:
      searchAsync in interface PermStub
    • fetchAsync

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> fetchAsync(String key)
      Specified by:
      fetchAsync in interface PermStub
    • createAsync

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> createAsync(io.vertx.core.json.JsonObject body)
      Specified by:
      createAsync in interface PermStub
    • updateAsync

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> updateAsync(String key, io.vertx.core.json.JsonObject body)
      Specified by:
      updateAsync in interface PermStub
    • deleteAsync

      public io.vertx.core.Future<Boolean> deleteAsync(String key, String userKey)
      Specified by:
      deleteAsync in interface PermStub