org.LexGrid.LexBIG.caCore.webservice
Class LexEVSWSQueryImpl

java.lang.Object
  extended by org.springframework.remoting.jaxrpc.ServletEndpointSupport
      extended by 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


Field Summary
private static gov.nih.nci.system.applicationservice.ApplicationService applicationService
           
private static gov.nih.nci.system.util.ClassCache classCache
           
private static org.apache.log4j.Logger log
           
private  NestedObjectToCriteria nestedObjectToCriteriaTranslator
           
private  String version
           
 
Fields inherited from class org.springframework.remoting.jaxrpc.ServletEndpointSupport
logger
 
Constructor Summary
LexEVSWSQueryImpl()
           
 
Method Summary
 void destroy()
           
 List getAssociation(Object source, String associationName, int startIndex)
           
 int getMaximumRecordsPerQuery()
           
 int getRecordsPerQuery()
           
private  String getTargetClassName(String path)
           
 int getTotalNumberOfRecords(String targetClassName, Object criteria)
           
 String getVersion()
           
protected  void onInit()
           
 List query(String targetClassName, Object criteria, int startIndex)
           
 List queryObject(String targetClassName, Object criteria)
           
 
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
 

Field Detail

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
Constructor Detail

LexEVSWSQueryImpl

public LexEVSWSQueryImpl()
Method Detail

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)