Class BeanFactoryImpl
java.lang.Object
ch.tocco.nice2.rest.documents.impl.resources.BeanFactoryImpl
- All Implemented Interfaces:
BeanFactory
-
Constructor Summary
ConstructorDescriptionBeanFactoryImpl
(DefaultDisplayService defaultDisplayService, TextResources textResources, IconService iconService, BinaryDataAccessor binaryDataAccessor, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptioncreateBreadcrumbsBean
(List<ContentTreeNode> nodePath, jakarta.ws.rs.core.UriInfo uriInfo, boolean insertRootItem) createCollectionBean
(Iterable<ContentTreeNode> children, jakarta.ws.rs.core.UriInfo uriInfo) createEntityBean
(ContentTreeNode contentTreeNode, jakarta.ws.rs.core.UriInfo uriInfo) jakarta.ws.rs.core.Response
createMultiStatusBeanResponse
(List<ContentTreeNode> createdDocs, jakarta.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
BeanFactoryImpl
public BeanFactoryImpl(DefaultDisplayService defaultDisplayService, TextResources textResources, IconService iconService, BinaryDataAccessor binaryDataAccessor, SecurityManager securityManager)
-
-
Method Details
-
createCollectionBean
public CollectionBean createCollectionBean(Iterable<ContentTreeNode> children, jakarta.ws.rs.core.UriInfo uriInfo) - Specified by:
createCollectionBean
in interfaceBeanFactory
-
createEntityBean
public EntityBean createEntityBean(ContentTreeNode contentTreeNode, jakarta.ws.rs.core.UriInfo uriInfo) - Specified by:
createEntityBean
in interfaceBeanFactory
-
createBreadcrumbsBean
public BreadcrumbsBean createBreadcrumbsBean(List<ContentTreeNode> nodePath, jakarta.ws.rs.core.UriInfo uriInfo, boolean insertRootItem) - Specified by:
createBreadcrumbsBean
in interfaceBeanFactory
-
createMultiStatusBeanResponse
public jakarta.ws.rs.core.Response createMultiStatusBeanResponse(List<ContentTreeNode> createdDocs, jakarta.ws.rs.core.UriInfo uriInfo) - Specified by:
createMultiStatusBeanResponse
in interfaceBeanFactory
-