Package cn.vertxup.crud.api
Interface PostAgent
-
@EndPoint @Path("/api") public interface PostAgent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.vertx.core.json.JsonObjectcreate(String actor, io.vertx.core.json.JsonObject data)Booleanexisting(String actor, io.vertx.core.json.JsonObject criteria, String module)Booleanmissing(String actor, io.vertx.core.json.JsonObject criteria, String module)io.vertx.core.json.JsonObjectsearch(String actor, io.vertx.core.json.JsonObject data, String module, io.vertx.up.atom.secure.Vis view)
-
-
-
Method Detail
-
create
@POST @Path("/{actor}") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03bc\u03bf\u03bd\u03ac\u03b4\u03b1 \u03bc\u03ad\u03c4\u03c1\u03b7\u03c3\u03b7\u03c2/X-ADD") @Adjust(10000000) io.vertx.core.json.JsonObject create(@PathParam("actor") String actor, @BodyParam io.vertx.core.json.JsonObject data)
-
search
@POST @Path("/{actor}/search") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03bc\u03bf\u03bd\u03ac\u03b4\u03b1 \u03bc\u03ad\u03c4\u03c1\u03b7\u03c3\u03b7\u03c2/X-SEARCH") @Adjust(10000000) io.vertx.core.json.JsonObject search(@PathParam("actor") String actor, @BodyParam io.vertx.core.json.JsonObject data, @QueryParam("module") String module, @PointParam("view") io.vertx.up.atom.secure.Vis view)
-
existing
@POST @Path("/{actor}/existing") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03bc\u03bf\u03bd\u03ac\u03b4\u03b1 \u03bc\u03ad\u03c4\u03c1\u03b7\u03c3\u03b7\u03c2/X-EXISTING") @Adjust(10000000) Boolean existing(@PathParam("actor") String actor, @BodyParam io.vertx.core.json.JsonObject criteria, @QueryParam("module") String module)
-
missing
@POST @Path("/{actor}/missing") @Address("\u1f08\u03c4\u03bb\u03b1\u03bd\u03c4\u1f76\u03c2 \u03bd\u1fc6\u03c3\u03bf\u03c2://\u03bc\u03bf\u03bd\u03ac\u03b4\u03b1 \u03bc\u03ad\u03c4\u03c1\u03b7\u03c3\u03b7\u03c2/X-MISSING") @Adjust(10000000) Boolean missing(@PathParam("actor") String actor, @BodyParam io.vertx.core.json.JsonObject criteria, @QueryParam("module") String module)
-
-