org.LexGrid.LexBIG.caCore.webservice
Class LexEVSWSQueryImpl
java.lang.Object
org.springframework.remoting.jaxrpc.ServletEndpointSupport
org.LexGrid.LexBIG.caCore.webservice.LexEVSWSQueryImpl
- All Implemented Interfaces:
- gov.nih.nci.system.webservice.WSQuery, javax.xml.rpc.server.ServiceLifecycle
public class LexEVSWSQueryImpl
- extends org.springframework.remoting.jaxrpc.ServletEndpointSupport
- implements gov.nih.nci.system.webservice.WSQuery
Fields inherited from class org.springframework.remoting.jaxrpc.ServletEndpointSupport |
logger |
Methods inherited from class org.springframework.remoting.jaxrpc.ServletEndpointSupport |
getApplicationContext, getMessageSourceAccessor, getServletContext, getServletEndpointContext, getTempDir, getWebApplicationContext, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.log4j.Logger log
applicationService
private static gov.nih.nci.system.applicationservice.ApplicationService applicationService
classCache
private static gov.nih.nci.system.util.ClassCache classCache
nestedObjectToCriteriaTranslator
private NestedObjectToCriteria nestedObjectToCriteriaTranslator
version
private String version
LexEVSWSQueryImpl
public LexEVSWSQueryImpl()
destroy
public void destroy()
- Specified by:
destroy
in interface javax.xml.rpc.server.ServiceLifecycle
- Overrides:
destroy
in class org.springframework.remoting.jaxrpc.ServletEndpointSupport
onInit
protected void onInit()
throws javax.xml.rpc.ServiceException
- Overrides:
onInit
in class org.springframework.remoting.jaxrpc.ServletEndpointSupport
- Throws:
javax.xml.rpc.ServiceException
getVersion
public String getVersion()
- Specified by:
getVersion
in interface gov.nih.nci.system.webservice.WSQuery
getRecordsPerQuery
public int getRecordsPerQuery()
- Specified by:
getRecordsPerQuery
in interface gov.nih.nci.system.webservice.WSQuery
getMaximumRecordsPerQuery
public int getMaximumRecordsPerQuery()
- Specified by:
getMaximumRecordsPerQuery
in interface gov.nih.nci.system.webservice.WSQuery
getTotalNumberOfRecords
public int getTotalNumberOfRecords(String targetClassName,
Object criteria)
throws Exception
- Specified by:
getTotalNumberOfRecords
in interface gov.nih.nci.system.webservice.WSQuery
- Throws:
Exception
queryObject
public List queryObject(String targetClassName,
Object criteria)
throws Exception
- Specified by:
queryObject
in interface gov.nih.nci.system.webservice.WSQuery
- Throws:
Exception
query
public List query(String targetClassName,
Object criteria,
int startIndex)
throws Exception
- Specified by:
query
in interface gov.nih.nci.system.webservice.WSQuery
- Throws:
Exception
getAssociation
public List getAssociation(Object source,
String associationName,
int startIndex)
throws Exception
- Specified by:
getAssociation
in interface gov.nih.nci.system.webservice.WSQuery
- Throws:
Exception
getTargetClassName
private String getTargetClassName(String path)