Package cn.vertxup.rbac.api
Interface RuleAgent
@EndPoint
@Path("/api")
public interface RuleAgent
- Author:
- Lang
-
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.Future<io.vertx.core.json.JsonObject>fetchInitials(String owner, io.vertx.core.json.JsonObject region, io.vertx.up.atom.secure.Vis view) io.vertx.core.Future<io.vertx.core.json.JsonObject>fetchRegion(String key) io.vertx.core.Future<io.vertx.core.json.JsonArray>fetchRegions(String type) io.vertx.core.Future<io.vertx.core.json.JsonObject>saveRegion(String path, io.vertx.core.json.JsonObject viewData)
-
Method Details
-
fetchRegions
@GET @Path("/authority/region/:type") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-RULE/FETCH/REGION") io.vertx.core.Future<io.vertx.core.json.JsonArray> fetchRegions(@PathParam("type") String type) -
fetchRegion
@GET @Path("/authority/region-d/:key") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-RULE/FETCH/REGION-DEFINE") io.vertx.core.Future<io.vertx.core.json.JsonObject> fetchRegion(@PathParam("key") String key) -
fetchInitials
@POST @Path("/authority/region-v/:owner") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-RULE/FETCH/REGION-VALUES") io.vertx.core.Future<io.vertx.core.json.JsonObject> fetchInitials(@PathParam("owner") String owner, @BodyParam io.vertx.core.json.JsonObject region, @PointParam("view") io.vertx.up.atom.secure.Vis view) -
saveRegion
@POST @Path("/authority/region/:path") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u0391\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1/X-RULE/SAVING/SINGLE") io.vertx.core.Future<io.vertx.core.json.JsonObject> saveRegion(@PathParam("path") String path, @BodyParam io.vertx.core.json.JsonObject viewData)
-