Class NodeDataServiceImpl
java.lang.Object
ch.tocco.nice2.rest.documents.impl.resources.NodeDataServiceImpl
- All Implemented Interfaces:
NodeDataService
-
Constructor Summary
ConstructorDescriptionNodeDataServiceImpl
(Context context, RestSearchService restSearchService, ContentTreeService contentTreeService, NodeFactory nodeFactory, SearchService searchService) -
Method Summary
Modifier and TypeMethodDescriptionaddDocs
(ContentTreeNode parentNode, List<org.glassfish.jersey.media.multipart.FormDataBodyPart> files) getChildren
(SimpleEntityId parent, jakarta.ws.rs.core.UriInfo uriInfo) getChildrenCount
(SimpleEntityId parent, jakarta.ws.rs.core.UriInfo uriInfo) getDomains
(jakarta.ws.rs.core.UriInfo uriInfo) getDomainsCount
(jakarta.ws.rs.core.UriInfo uriInfo) getPath
(SimpleEntityId node, Set<SimpleEntityId> rootNodes) getSearchCount
(jakarta.ws.rs.core.UriInfo uriInfo) loadNode
(SimpleEntityId node) search
(jakarta.ws.rs.core.UriInfo uriInfo) @Nullable ContentTreeNode
tryLoadNode
(SimpleEntityId node)
-
Constructor Details
-
NodeDataServiceImpl
public NodeDataServiceImpl(Context context, RestSearchService restSearchService, ContentTreeService contentTreeService, NodeFactory nodeFactory, SearchService searchService)
-
-
Method Details
-
search
- Specified by:
search
in interfaceNodeDataService
-
getDomains
- Specified by:
getDomains
in interfaceNodeDataService
-
getChildren
- Specified by:
getChildren
in interfaceNodeDataService
-
getDomainsCount
- Specified by:
getDomainsCount
in interfaceNodeDataService
-
getSearchCount
- Specified by:
getSearchCount
in interfaceNodeDataService
-
getChildrenCount
- Specified by:
getChildrenCount
in interfaceNodeDataService
-
getPath
- Specified by:
getPath
in interfaceNodeDataService
-
addDocs
public List<ContentTreeNode> addDocs(ContentTreeNode parentNode, List<org.glassfish.jersey.media.multipart.FormDataBodyPart> files) - Specified by:
addDocs
in interfaceNodeDataService
-
loadNode
- Specified by:
loadNode
in interfaceNodeDataService
-
tryLoadNode
- Specified by:
tryLoadNode
in interfaceNodeDataService
-