Class EntityDocsResource

All Implemented Interfaces:
RestResource

@Path("/entities/2.0/{name}/{pk}/entitydocs") public class EntityDocsResource extends AbstractEntityDocsResource
Provides the entity documents for the given entity. Entity documents need to be handled special because they are not secured by ACL rules like other resources.
  • Constructor Details

  • Method Details

    • getEntityDocuments

      @GET @Produces("application/json") public CollectionBean getEntityDocuments(@PathParam("name") String modelName, @PathParam("pk") String pk, @QueryParam("_offset") String offset, @QueryParam("_limit") String limit, @QueryParam("_sort") String sort, @QueryParam("_paths") String paths)
    • getCount

      @GET @Path("count") @Produces("application/json") public CountBean getCount(@PathParam("name") String modelName, @PathParam("pk") String pk)
    • getFolder

      @GET @Path("folder") @Produces("application/json") public EntityBean getFolder(@PathParam("name") String modelName, @PathParam("pk") String pk)
    • addEntityDoc

      @POST @Consumes("multipart/form-data") @Produces("application/json") public jakarta.ws.rs.core.Response addEntityDoc(@PathParam("name") String modelName, @PathParam("pk") String pk, InputStream file, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDisposition, @QueryParam("fieldname") String fieldname)