public interface ServiceMetaSearchDef
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.String> |
getServiceClasses()
Get the class types for all services that are stored.
|
java.util.ArrayList<java.lang.String> |
getServiceNames()
Get all child service names.
|
java.util.ArrayList<java.lang.String> |
getServiceNames(java.util.ArrayList<java.lang.String> thisServiceTypes,
boolean reciprocal)
Return all child service names for a list of service types.
|
java.util.ArrayList<java.lang.String> |
getServiceTypes()
Return all service types for all stored services.
|
org.licas_xml.abs.Element |
metaSearch(java.lang.String queryEngine,
int callTimeout,
org.licas_xml.abs.Element request,
ServiceLinks serverLinks)
Query the service metadata to find matching information.
|
java.util.ArrayList<java.lang.String> getServiceNames()
java.util.ArrayList<java.lang.String> getServiceNames(java.util.ArrayList<java.lang.String> thisServiceTypes, boolean reciprocal) throws LicasException
thisServiceTypes
- the service types list.reciprocal
- is false return all service names of the service types,
if true return all service names of all other types.LicasException
- if the service types input is null
.java.util.ArrayList<java.lang.String> getServiceTypes()
java.util.HashMap<java.lang.String,java.lang.String> getServiceClasses()
org.licas_xml.abs.Element metaSearch(java.lang.String queryEngine, int callTimeout, org.licas_xml.abs.Element request, ServiceLinks serverLinks) throws java.lang.Exception
request
element should
have the tag name of QueryConst
.QUERYMODEL
, or 'Query_Model'. This should
then contain a description of the query request. For this default model, the
XML request that is passed in needs to be parsed by a QueryParser
parser
into a QueryModel
object, of the 'licas_text' package. This is what the
default classes will then evaluate. The documentation describes the different
fields in more detail.queryEngine
- the query engine type. Required for a distributed query.callTimeout
- maximum time allowed for the call (in milliseconds).request
- the query request.serverLinks
- the ESB
links information.java.lang.Exception
- any error.