|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.itinnovation.registry.component.xml.login.XmlCredentialRequiredAdapter<E>
uk.ac.soton.itinnovation.registry.component.xml.discovery.XmlDiscoveryFacility<E>
public class XmlDiscoveryFacility<E>
| Field Summary |
|---|
| Fields inherited from class uk.ac.soton.itinnovation.registry.component.xml.login.XmlCredentialRequiredAdapter |
|---|
credentialFacility, logger |
| Constructor Summary | |
|---|---|
XmlDiscoveryFacility()
|
|
| 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 class uk.ac.soton.itinnovation.registry.component.xml.login.XmlCredentialRequiredAdapter |
|---|
getAccess, removeCredential, setCredential |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uk.ac.soton.itinnovation.registry.icomponent.access.CredentialRequired |
|---|
removeCredential, setCredential |
| Constructor Detail |
|---|
public XmlDiscoveryFacility()
| Method Detail |
|---|
public RegistryDomainModel getRegistryDomainModel()
throws DiscoveryException,
AccessException
Discovery
getRegistryDomainModel in interface Discovery<E>DiscoveryException
AccessException
public HashSet getIdentifier(E resource,
String concept)
throws DiscoveryException,
AccessException
Discovery
getIdentifier in interface Discovery<E>concept - concept under which to look or empty ("") for searching the whole registry
DiscoveryException
AccessException
public E lookup(Class clazz,
Object id)
throws DiscoveryException,
AccessException
Discovery
lookup in interface Discovery<E>id - identifier within the registry
DiscoveryException
AccessException
public ResultIterator<E> lookupByConcept(String concept)
throws DiscoveryException,
AccessException
Discovery
lookupByConcept in interface Discovery<E>DiscoveryException
AccessException
public ResultIterator<E> executePredefinedQuery(String name,
ParameterValue... parameterValues)
throws DiscoveryException,
AccessException
Discovery
executePredefinedQuery in interface Discovery<E>name - name of the queryparameterValues - values of parameters
DiscoveryException
AccessException
public ResultIterator<E> queryBySpecificQL(String query,
String language)
throws DiscoveryException,
AccessException,
ParsingException,
GeneratorException
DiscoveryIf the query language is not supported by the concrete registry, an exception will be thrown.
queryBySpecificQL in interface Discovery<E>query - representing the query in a specific query language.
DiscoveryException
AccessException
ParsingException
GeneratorException
public ResultIterator<E> query(XmlQuery query)
throws DiscoveryException,
AccessException,
ParsingException,
GeneratorException
Discovery
query in interface Discovery<E>query - query specified by a XmlQuery container.
DiscoveryException
AccessException
ParsingException
GeneratorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||