Request to create the specified entity.
Request to create the specified entity.
Response:
if the operation was successful.
Some(entity)
Request to delete the entity with the specified ID.
Request to delete the entity with the specified ID.
Repsonse:
if the operation was successful.
Some(id)
Request to read all specified entities
Response: Iterable with all entities, wrapped via CRUDService.wrapListResponse
Request to read all specified entities
Response: Iterable with all entities, wrapped via CRUDService.wrapListResponse
Request to read the entity with the specified ID.
Request to read the entity with the specified ID.
Response: Option[EntityType]
The ID of the requested entity
Request to update the specified entity.
Request to update the specified entity.
Repsonse:
if the update was successful, Some(entity)
if
the entity to be updated does not exist.
None
Entity to be updated
Request to return all entities.
Request to return all entities.
Response: Iterable with all entities, wrapped via CRUDService.wrapListResponse
Defines the message types for CRUD services.