Class AbstractRelationResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.entity.impl.resources.entities.AbstractRelationResource
- All Implemented Interfaces:
RestResource
- Direct Known Subclasses:
RelationResource
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Context
protected final DataModel
protected final EntityBeanRebinder
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractRelationResource
(DataModel dataModel, Context context, EntityBeanRebinder entityBeanRebinder) -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Response
doAddEntity
(String modelName, String pk, String relationName, EntityBean entityBean) protected jakarta.ws.rs.core.Response
doSetEntities
(String modelName, String pk, String relationName, EntityBean[] entityBeans) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Field Details
-
dataModel
-
context
-
entityBeanRebinder
-
-
Constructor Details
-
AbstractRelationResource
protected AbstractRelationResource(DataModel dataModel, Context context, EntityBeanRebinder entityBeanRebinder)
-
-
Method Details
-
doAddEntity
protected jakarta.ws.rs.core.Response doAddEntity(String modelName, String pk, String relationName, EntityBean entityBean) -
doSetEntities
protected jakarta.ws.rs.core.Response doSetEntities(String modelName, String pk, String relationName, EntityBean[] entityBeans)
-