@Path(value="/hello")
public interface HelloRepository
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAll()
Deletes all entities.
|
Hellos |
findAll()
Finds all entities.
|
Collection<? extends HelloEntity> |
findByHelloObjectMessage(String message)
find entities that contains the corresponding to message.
|
<S extends HelloEntity> |
save(S entity)
Save an entity.
|
Collection<? extends HelloEntity> findByHelloObjectMessage(String message)
message - the message to find entities@POST @Consumes(value="application/xml") <S extends HelloEntity> S save(S entity)
entity - entity to save@GET @Produces(value="application/xml") Hellos findAll()
@DELETE void deleteAll()
Copyright © 2013–2015 Osgiliath. All rights reserved.