ch.hsr.bieridee.resourcehandler.interfaces
Interface IReadOnlyResource

All Known Implementing Classes:
BrandListResource, BrewerySizeResource, RecommendationResource, Resource42, TagListResourceForBeer, TimelineResource, UserListResource

public interface IReadOnlyResource

Represents a read only resource (might be a document or collection).


Method Summary
 org.restlet.representation.Representation retrieve()
          Retrieve a read only resource.
 

Method Detail

retrieve

@Get
org.restlet.representation.Representation retrieve()
                                                   throws WrongNodeTypeException,
                                                          org.neo4j.server.rest.web.NodeNotFoundException
Retrieve a read only resource.

Returns:
The resource representation.
Throws:
org.neo4j.server.rest.web.NodeNotFoundException
WrongNodeTypeException