|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Discovery<E>
| Method Summary | |
|---|---|
ResultIterator<E> |
executePredefinedQuery(String name,
ParameterValue... parameterValues)
Execute a predefined query. |
HashSet |
getIdentifier(E resource,
String concept)
Get the identifier of a resource. |
RegistryDomainModel |
getRegistryDomainModel()
Get the current used registry domain model. |
E |
lookup(Class clazz,
Object id)
Look up an object within the registry. |
ResultIterator<E> |
lookupByConcept(String concept)
Lookup entities belonging to a specific concept. |
ResultIterator<E> |
query(XmlQuery query)
Query the registry. |
ResultIterator<E> |
queryBySpecificQL(String query,
String language)
Query the registry by a specific query language, like XQuery, XPath, SPARQL, HQL, SQL, etc. |
| Methods inherited from interface uk.ac.soton.itinnovation.registry.icomponent.access.CredentialRequired |
|---|
removeCredential, setCredential |
| Method Detail |
|---|
RegistryDomainModel getRegistryDomainModel()
throws DiscoveryException,
AccessException
AccessException
DiscoveryException
E lookup(Class clazz,
Object id)
throws DiscoveryException,
AccessException
id - identifier within the registry
DiscoveryException
AccessException
ResultIterator<E> lookupByConcept(String concept)
throws DiscoveryException,
AccessException
concept -
DiscoveryException
AccessException
HashSet getIdentifier(E resource,
String concept)
throws DiscoveryException,
AccessException
resource - concept - concept under which to look or empty ("") for searching the whole registry
DiscoveryException
AccessException
ResultIterator<E> query(XmlQuery query)
throws DiscoveryException,
AccessException,
ParsingException,
GeneratorException
query - query specified by a XmlQuery container.
DiscoveryException
AccessException
ParsingException
GeneratorException
ResultIterator<E> queryBySpecificQL(String query,
String language)
throws DiscoveryException,
AccessException,
ParsingException,
GeneratorException
If the query language is not supported by the concrete registry, an exception will be thrown.
query - representing the query in a specific query language.
DiscoveryException
AccessException
ParsingException
GeneratorException
ResultIterator<E> executePredefinedQuery(String name,
ParameterValue... parameterValues)
throws DiscoveryException,
AccessException
name - name of the queryparameterValues - values of parameters
DiscoveryException
AccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||