Class InternalDocumentsResource

java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.documents.impl.resources.InternalDocumentsResource
All Implemented Interfaces:
RestResource

@Path("/documents") public class InternalDocumentsResource extends AbstractRestResource
This class is used for dms related endpoints that should not be shown in the public swagger documentation.
  • Constructor Details

  • Method Details

    • getBreadcrumbs

      @GET @Produces("application/json") @Path("/breadcrumbs") public BreadcrumbsBean getBreadcrumbs()
    • getChildrenBreadcrumbs

      @GET @Produces("application/json") @Path("/{node-type}/{pk}/breadcrumbs") public BreadcrumbsBean getChildrenBreadcrumbs(@PathParam("node-type") String nodeType, @PathParam("pk") String pk, @QueryParam("rootnodes") String rootNodes)
    • createDeleteDialog

      @POST @Path("/delete/dialog") @Consumes("application/json") @Produces("application/json") public DeleteDialogResponseBean createDeleteDialog(DeleteRequestBean bean)
    • getEntityModelFolder

      @GET @Path("/entityModel/{entityModel}/folder") @Produces("application/json") public EntityBean getEntityModelFolder(@PathParam("entityModel") String entityModel)