public class InformationExchangerImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements InformationExchanger
| Constructor and Description |
|---|
InformationExchangerImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
createDBSourceInfo(DBSourceP dbSource) |
String |
createGenericOnIS(String name,
String typeName,
String body)
stores the settings within a new resource on IS
|
String |
deleteDBSourceInfo(DBSourceP dbInfo) |
String |
getBodyByName(String name) |
String |
getBodyByType(String type)
Expects to have only one Generic Resource by that type on IS.
|
String |
getDBPropsByName(String dbName,
String propsName) |
DBSourceP[] |
getDBSourcesInfo() |
String[] |
getDBTypes() |
String[] |
getPropsNames(String dbName) |
void |
init() |
boolean |
removeGenericFromIS(String genResName,
String dbName,
String typeName) |
String |
updateDBSourceInfo(DBSourceP dbInfo) |
boolean |
updateGenericOnIS(String genResName,
String dbName,
String typeName,
String body)
updates the settings within an existing resource on IS
|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic boolean updateGenericOnIS(String genResName, String dbName, String typeName, String body) throws Exception
updateGenericOnIS in interface InformationExchangerscope - the scope to search withinname - the name of the generic resourcetypeName - the type of the generic resourcebody - the xml within the body of the generic resourceExceptionpublic boolean removeGenericFromIS(String genResName, String dbName, String typeName) throws Exception
removeGenericFromIS in interface InformationExchangerExceptionpublic String createGenericOnIS(String name, String typeName, String body)
createGenericOnIS in interface InformationExchangerscope - the scope to search withinname - the name of the generic resourcetypeName - the type of the generic resourcebody - the xml within the body of the generic resourcepublic String getBodyByName(String name)
getBodyByName in interface InformationExchangerscope - name - public String getBodyByType(String type) throws TransformerException
getBodyByType in interface InformationExchangertype - TransformerExceptionpublic String[] getPropsNames(String dbName) throws Exception
getPropsNames in interface InformationExchangerExceptionpublic String getDBPropsByName(String dbName, String propsName) throws Exception
getDBPropsByName in interface InformationExchangerExceptionpublic String[] getDBTypes()
getDBTypes in interface InformationExchangerpublic DBSourceP[] getDBSourcesInfo() throws MalformedURLException
getDBSourcesInfo in interface InformationExchangerMalformedURLExceptionpublic String createDBSourceInfo(DBSourceP dbSource)
createDBSourceInfo in interface InformationExchangerpublic String updateDBSourceInfo(DBSourceP dbInfo)
updateDBSourceInfo in interface InformationExchangerpublic String deleteDBSourceInfo(DBSourceP dbInfo)
deleteDBSourceInfo in interface InformationExchangerCopyright © 2014. All Rights Reserved.