Class ResourceService

java.lang.Object
cn.vertxup.rbac.service.business.ResourceService
All Implemented Interfaces:
ResourceStub

public class ResourceService extends Object implements ResourceStub
  • Constructor Details

    • ResourceService

      public ResourceService()
  • Method Details

    • fetchResource

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> fetchResource(String resourceId)
      Description copied from interface: ResourceStub
      Fetch resource + action by key
      Specified by:
      fetchResource in interface ResourceStub
    • createResource

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> createResource(io.vertx.core.json.JsonObject params)
      Description copied from interface: ResourceStub
      create resource + action
      Specified by:
      createResource in interface ResourceStub
    • updateResource

      public io.vertx.core.Future<io.vertx.core.json.JsonObject> updateResource(String resourceId, io.vertx.core.json.JsonObject params)
      Description copied from interface: ResourceStub
      Update resource + action
      Specified by:
      updateResource in interface ResourceStub
    • deleteResource

      public io.vertx.core.Future<Boolean> deleteResource(String resourceId)
      Description copied from interface: ResourceStub
      delete resource + action
      Specified by:
      deleteResource in interface ResourceStub