Class AbstractEntityDocsResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.entity.impl.resources.entities.AbstractEntityDocsResource
- All Implemented Interfaces:
RestResource
- Direct Known Subclasses:
EntityDocsResource
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BinaryFactory
protected final Context
protected final DataModel
protected final EntityDocumentsService
protected final NodeFactory
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractEntityDocsResource
(DataModel dataModel, Context context, BinaryFactory binaryFactory, EntityDocumentsService entityDocumentsService, NodeFactory nodeFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkEntityModel
(String entityModel) protected void
checkFieldModel
(String entityModel, String fieldname) protected jakarta.ws.rs.core.Response
doAddEntityDoc
(String modelName, String pk, InputStream file, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String fieldname) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Field Details
-
dataModel
-
context
-
binaryFactory
-
entityDocumentsService
-
nodeFactory
-
-
Constructor Details
-
AbstractEntityDocsResource
protected AbstractEntityDocsResource(DataModel dataModel, Context context, BinaryFactory binaryFactory, EntityDocumentsService entityDocumentsService, NodeFactory nodeFactory)
-
-
Method Details
-
doAddEntityDoc
protected jakarta.ws.rs.core.Response doAddEntityDoc(String modelName, String pk, InputStream file, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String fieldname) -
checkEntityModel
-
checkFieldModel
-