.. java:import:: java.io IOException .. java:import:: java.security NoSuchAlgorithmException .. java:import:: java.sql SQLException .. java:import:: org.caosdb.server CaosDBException .. java:import:: org.caosdb.server.database.backend.implementation MySQL.ConnectionException .. java:import:: org.caosdb.server.entity.container RetrieveContainer .. java:import:: org.caosdb.server.jobs.core ResolveNames .. java:import:: org.caosdb.server.resource AbstractCaosDBServerResource .. java:import:: org.caosdb.server.transaction Retrieve .. java:import:: org.jdom2 Document .. java:import:: org.jdom2 Element .. java:import:: org.restlet.representation Representation RetrieveEntityResource ====================== .. java:package:: org.caosdb.server.resource.transaction :noindex: .. java:type:: public abstract class RetrieveEntityResource extends AbstractCaosDBServerResource Handles GET requests for different subclasses which all have in common that they retrieve Entities (plus other information in some cases). :author: Timm Fitschen Methods ------- handleRetrieveContainer ^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: protected void handleRetrieveContainer(RetrieveContainer container) :outertype: RetrieveEntityResource Parse the segment which specifies the entities which are to be retrieved. The segments are being treated as names here. The \ :java:ref:`ResolveNames`\ job is responsible for detecting whether the name is actually an id. httpGetInChildClass ^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override protected final Representation httpGetInChildClass() throws ConnectionException, IOException, SQLException, CaosDBException, NoSuchAlgorithmException, Exception :outertype: RetrieveEntityResource Handle the GET request.