public class IDMapperService
extends org.restlet.Application
Use -DserverURL=http:// to change the URL to the server. It defaults
to http://bridgedb.org/wiki/BridgeWebservice
and must be overwritten for custom installations.
| Modifier and Type | Field and Description |
|---|---|
static String |
CONF_GDBS |
File |
configFile |
static String |
PAR_DATASOURCES |
static String |
PAR_DEST_SYSTEM |
static String |
PAR_ID |
static String |
PAR_ORGANISM |
static String |
PAR_QUERY |
static String |
PAR_SOURCE_SYSTEM |
static String |
PAR_SYSTEM |
static String |
PAR_TARGET_ATTR_NAME |
static String |
PAR_TARGET_LIMIT |
static String |
PAR_TARGET_SYSTEM |
static String |
URL_ATTRIBUTE_SEARCH
URL pattern for searching by attribute.
|
static String |
URL_ATTRIBUTE_SET
URL pattern for getting the supported attribute set.
|
static String |
URL_ATTRIBUTES
URL pattern for getting attributes of an xref.
|
static String |
URL_BACK_PAGE_TEXT
URL pattern for getting backpage HTML.
|
static String |
URL_CONFIG
URL pattern for getting the server configuration.
|
static String |
URL_CONTENTS
URL pattern for getting a list of species loaded in the server.
|
static String |
URL_DATASOURCES
URL pattern for getting the datasources.txt file
|
static String |
URL_HOME
URL pattern to redirect to home page.
|
static String |
URL_IS_FREE_SEARCH_SUPPORTED
URL pattern for finding out if free search is supported.
|
static String |
URL_IS_MAPPING_SUPPORTED
URL pattern to find out if a mapping is supported.
|
static String |
URL_NO_MATCH
URL pattern to catch a misformed query.
|
static String |
URL_PROPERTIES
URL pattern for getting IDMapper properties.
|
static String |
URL_SEARCH
URL pattern for searching xrefs.
|
static String |
URL_SUPPORTED_SOURCE_DATASOURCES
URL pattern for getting the supported source datasources for this database.
|
static String |
URL_SUPPORTED_TARGET_DATASOURCES
URL pattern for getting the supported target datasources for this database.
|
static String |
URL_XREF_EXISTS
URL pattern for finding out if an xref exists in the database.
|
static String |
URL_XREFS
URL pattern for mapping xrefs.
|
| Constructor and Description |
|---|
IDMapperService(File aConfigFile,
boolean transitive) |
| Modifier and Type | Method and Description |
|---|---|
org.restlet.Restlet |
createRoot() |
GdbProvider |
getGdbProvider() |
void |
start() |
createInboundRoot, createOutboundRoot, getConnectorService, getConverterService, getCurrent, getDecoderService, getFinderClass, getInboundRoot, getMetadataService, getOutboundRoot, getRangeService, getRole, getRoles, getRoot, getServices, getStatusService, getTaskService, getTunnelService, handle, setClientRoot, setConnectorService, setContext, setConverterService, setCurrent, setDecoderService, setFinderClass, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setRangeService, setRoles, setRoot, setRoot, setStatusService, setTaskService, setTunnelService, stoppublic static final String CONF_GDBS
public static final String PAR_ORGANISM
public static final String PAR_ID
public static final String PAR_SYSTEM
public static final String PAR_QUERY
public static final String PAR_DATASOURCES
public static final String PAR_TARGET_SYSTEM
public static final String PAR_TARGET_ATTR_NAME
public static final String PAR_TARGET_LIMIT
public static final String PAR_SOURCE_SYSTEM
public static final String PAR_DEST_SYSTEM
public final File configFile
public static final String URL_HOME
{blank}
public static final String URL_NO_MATCH
{unmatched patter}
public static final String URL_XREFS
/{organism}/xrefs/{system}/{id}[?dataSource={dsName}]
public static final String URL_SEARCH
/{organism}/search/{query}[?limit={limit}]
public static final String URL_XREF_EXISTS
/{organism}/xrefExists/{system}/{id}
public static final String URL_PROPERTIES
/{organism}/properties
public static final String URL_SUPPORTED_SOURCE_DATASOURCES
/{organism}/sourceDataSources
public static final String URL_SUPPORTED_TARGET_DATASOURCES
/{organism}/targetDataSources
public static final String URL_IS_FREE_SEARCH_SUPPORTED
/{organism}/isFreeSearchSupported
public static final String URL_IS_MAPPING_SUPPORTED
/{organism}/isMappingSupported/{source_system}/{target_system}
public static final String URL_ATTRIBUTE_SEARCH
/{organism}/attributeSearch/{query}?[limit={limit}][&attrName={attrName}]
public static final String URL_ATTRIBUTES
public static final String URL_ATTRIBUTE_SET
/{organism}/attributeSet
public static final String URL_CONFIG
/config
Config.getConfig(),
Constant Field Valuespublic static final String URL_CONTENTS
/contents
Contents.getContents(),
Constant Field Valuespublic static final String URL_BACK_PAGE_TEXT
public static final String URL_DATASOURCES
public IDMapperService(File aConfigFile, boolean transitive)
public void start()
throws Exception
start in class org.restlet.ApplicationExceptionpublic org.restlet.Restlet createRoot()
createRoot in class org.restlet.Applicationpublic GdbProvider getGdbProvider()
Copyright © 2006–2019 BridgeDb project. All rights reserved.