Class InternalDocumentsResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.documents.impl.resources.InternalDocumentsResource
- All Implemented Interfaces:
RestResource
This class is used for dms related endpoints that should not be shown in the public swagger documentation.
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionInternalDocumentsResource
(BeanFactory beanFactory, NodeDataService nodeDataService, DeleteDialogBeanService deleteDialogBeanService, SecurityManager securityManager, PersistenceService persistenceService) -
Method Summary
Modifier and TypeMethodDescriptiongetChildrenBreadcrumbs
(String nodeType, String pk, String rootNodes) getEntityModelFolder
(String entityModel) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
InternalDocumentsResource
public InternalDocumentsResource(BeanFactory beanFactory, NodeDataService nodeDataService, DeleteDialogBeanService deleteDialogBeanService, SecurityManager securityManager, PersistenceService persistenceService)
-
-
Method Details
-
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)
-