eu.scape_project.watch.dao
Class RequestDAO
java.lang.Object
eu.scape_project.watch.dao.AbstractDO
eu.scape_project.watch.dao.RequestDAO
public final class RequestDAO
- extends AbstractDO
Data Access Object for synchronous requests.
- Author:
- Luis Faria
Methods inherited from class eu.scape_project.watch.dao.AbstractDO |
addDOListener, count, delete, delete, findById, fireOnRemoved, fireOnUpdated, query, removeDOListener, save, save |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static RequestDAO getInstance()
- Get singleton instance.
- Returns:
- The singleton instance
query
public List<? extends thewebsemantic.binding.RdfBean<?>> query(RequestTarget target,
String query,
int start,
int max)
- Make a synchronous request to the KB.
- Parameters:
target
- The request targetquery
- The request querystart
- The index of the first item to retrievemax
- The maximum number of items to retrieve
- Returns:
- A list of resources, of the type defined in the target, filtered by
the above constraints
Copyright © 2012. All Rights Reserved.