|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.system.applicationservice.impl.ApplicationServiceImpl
org.LexGrid.LexBIG.caCore.applicationservice.impl.LexEVSApplicationServiceImpl
public class LexEVSApplicationServiceImpl
Main implementation class of LexEVSAPI. This class implements but the DataService and the Distributed portions of the LexEVSAPI.
Field Summary | |
---|---|
protected ApplicationContext |
appContext
|
Constructor Summary | |
---|---|
LexEVSApplicationServiceImpl(LexEVSClassCache classCache,
Validator validator)
|
|
LexEVSApplicationServiceImpl(Validator validator)
|
Method Summary | ||
---|---|---|
protected
|
convertToListProxy(java.util.Collection originalList,
java.lang.Object query,
java.lang.String classname,
java.lang.Integer start,
QueryOptions options)
|
|
java.lang.Object |
executeRemotely(java.lang.Object object,
java.lang.String methodName,
java.lang.String[] parameterClasses,
java.lang.Object[] args)
Execute the given method on the specified LexBig object. |
|
java.lang.Object |
executeSecurely(java.lang.String methodName,
java.lang.annotation.Annotation[] annotations,
java.lang.String[] parameterClasses,
java.lang.Object[] args,
java.util.HashMap tokens)
Execute securely. |
|
java.util.List<java.lang.Object> |
getAssociation(java.lang.Object source,
java.lang.String associationName)
Retrieves an associated object for the example object specified by the source parameter. |
|
java.util.List<java.lang.Object> |
getAssociation(java.lang.Object source,
java.lang.String associationName,
QueryOptions queryOptions)
Retrieves an associated object for the example object specified by the source parameter. |
|
protected LexEVSClassCache |
getClassCache()
|
|
CodedNodeSet |
getCodingSchemeConcepts(java.lang.String codingScheme,
CodingSchemeVersionOrTag versionOrTag)
|
|
CodedNodeSet |
getCodingSchemeConcepts(java.lang.String codingScheme,
CodingSchemeVersionOrTag versionOrTag,
boolean activeOnly)
Deprecated. Not implemented here since it is deprecated in the LexBIGService interface. |
|
protected DAO |
getDAO(java.lang.String classname)
|
|
Filter |
getFilter(java.lang.String name)
|
|
ExtensionDescriptionList |
getFilterExtensions()
|
|
GenericExtension |
getGenericExtension(java.lang.String name)
|
|
ExtensionDescriptionList |
getGenericExtensions()
|
|
GridCQLToDetachedCriteria |
getGridCQLToDetachedCriteriaTranslator()
|
|
HistoryService |
getHistoryService(java.lang.String codingScheme)
|
|
java.util.Date |
getLastUpdateTime()
|
|
LexEVSConceptDomainServices |
getLexEVSConceptDomainServices()
|
|
LexEVSPickListDefinitionServices |
getLexEVSPickListDefinitionServices()
|
|
LexEVSValueSetDefinitionServices |
getLexEVSValueSetDefinitionServices()
|
|
ModuleDescriptionList |
getMatchAlgorithms()
|
|
NestedObjectToCriteria |
getNestedObjectToCriteriaTranslator()
|
|
CodedNodeGraph |
getNodeGraph(java.lang.String codingScheme,
CodingSchemeVersionOrTag versionOrTag,
java.lang.String relationsName)
|
|
CodedNodeSet |
getNodeSet(java.lang.String codingScheme,
CodingSchemeVersionOrTag versionOrTag,
LocalNameList localNameList)
|
|
PaginationHelper |
getPaginationHelper()
|
|
QBEPathToDetachedCriteria |
getQbePathToDetachedCriteriaTranslator()
|
|
java.lang.Integer |
getQueryRowCount(java.lang.Object criteria,
java.lang.String targetClassName)
Returns the number of records that meet the search criteria. |
|
java.lang.Integer |
getQueryRowCount(java.lang.Object criteria,
java.lang.String targetClassName,
QueryOptions queryOptions)
Returns the number of records that meet the search criteria. |
|
RemoteResourceManager |
getRemoteResourceManager()
|
|
SDKCQLToDetachedCriteria |
getSdkCQLToDetachedCriteriaTranslator()
|
|
LexBIGServiceManager |
getServiceManager(java.lang.Object credentials)
|
|
LexBIGServiceMetadata |
getServiceMetadata()
|
|
Sort |
getSortAlgorithm(java.lang.String name)
|
|
SortDescriptionList |
getSortAlgorithms(SortContext context)
|
|
CodingSchemeRenderingList |
getSupportedCodingSchemes()
|
|
boolean |
isUpdateClientProxyTarget()
|
|
protected
|
privateQuery(java.lang.Object criteria,
java.lang.String targetClassName,
QueryOptions queryOptions)
|
|
|
query(CQLQuery cqlQuery)
Retrieves the result from the data source using the CQL query. |
|
|
query(CQLQuery cqlQuery,
QueryOptions queryOptions)
Retrieves the result from the data source using the CQL query. |
|
|
query(CQLQuery cqlQuery,
java.lang.String targetClassName)
Retrieves the result from the data source using the CQL query. |
|
|
query(CQLQuery cqlQuery,
java.lang.String targetClassName,
QueryOptions queryOptions)
Retrieves the result from the data source using the CQL query. |
|
|
query(DetachedCriteria detachedCriteria)
Retrieves the result from the data source using the CQL query. |
|
|
query(DetachedCriteria detachedCriteria,
QueryOptions queryOptions)
Retrieves the result from the data source using the CQL query. |
|
|
query(DetachedCriteria detachedCriteria,
java.lang.String targetClassName)
Retrieves the result from the data source using the CQL query. |
|
|
query(DetachedCriteria detachedCriteria,
java.lang.String targetClassName,
QueryOptions queryOptions)
Retrieves the result from the data source using the CQL query. |
|
|
query(gov.nih.nci.cagrid.cqlquery.CQLQuery cqlQuery)
Retrieves the result from the data source using the CQL query. |
|
|
query(gov.nih.nci.cagrid.cqlquery.CQLQuery cqlQuery,
QueryOptions queryOptions)
Retrieves the result from the data source using the CQL query. |
|
|
query(java.lang.Object criteria,
java.lang.Integer firstRow,
java.lang.String targetClassName)
Used by the infrastructure to get next chunk of records in the result set. |
|
|
query(java.lang.Object criteria,
java.lang.Integer firstRow,
java.lang.String targetClassName,
QueryOptions queryOptions)
Used by the infrastructure to get next chunk of records in the result set. |
|
protected Response |
query(Request request,
LexEVSDAO dao)
|
|
protected Response |
query(Request request,
LexEVSDAO dao,
boolean lazyLoad,
int resultPageSize)
|
|
java.lang.Boolean |
registerSecurityToken(java.lang.String vocabulary,
SecurityToken token)
Register Security Token |
|
CodingScheme |
resolveCodingScheme(java.lang.String codingScheme,
CodingSchemeVersionOrTag versionOrTag)
|
|
java.lang.String |
resolveCodingSchemeCopyright(java.lang.String codingScheme,
CodingSchemeVersionOrTag versionOrTag)
|
|
|
search(java.lang.Class targetClass,
java.util.List objList)
Retrieves the result from the data source using the Query by Example. |
|
|
search(java.lang.Class targetClass,
java.util.List objList,
QueryOptions queryOptions)
Retrieves the result from the data source using the Query by Example. |
|
|
search(java.lang.Class targetClass,
java.lang.Object obj)
Retrieves the result from the data source using the Query by Example. |
|
|
search(java.lang.Class targetClass,
java.lang.Object obj,
QueryOptions queryOptions)
Retrieves the result from the data source using the Query by Example. |
|
|
search(java.lang.Class targetClass,
java.lang.Object obj,
java.lang.String eagerFetchAssociation,
QueryOptions queryOptions)
|
|
|
search(java.lang.String path,
java.util.List objList)
Retrieves the result from the data source using a Nested Search Criteria. |
|
|
search(java.lang.String path,
java.util.List objList,
QueryOptions queryOptions)
Retrieves the result from the data source using a Nested Search Criteria. |
|
|
search(java.lang.String path,
java.lang.Object obj)
Retrieves the result from the data source using the Nested Search Criteria. |
|
|
search(java.lang.String path,
java.lang.Object obj,
QueryOptions queryOptions)
Retrieves the result from the data source using the Nested Search Criteria. |
|
void |
setGridCQLToDetachedCriteriaTranslator(GridCQLToDetachedCriteria gridCQLToDetachedCriteriaTranslator)
|
|
void |
setNestedObjectToCriteriaTranslator(NestedObjectToCriteria nestedObjectToCriteriaTranslator)
|
|
void |
setPaginationHelper(PaginationHelper paginationHelper)
|
|
void |
setQbePathToDetachedCriteriaTranslator(QBEPathToDetachedCriteria qbePathToDetachedCriteriaTranslator)
|
|
void |
setRemoteResourceManager(RemoteResourceManager remoteResourceManager)
|
|
void |
setSdkCQLToDetachedCriteriaTranslator(SDKCQLToDetachedCriteria sdkCQLToDetachedCriteriaTranslator)
|
|
void |
setUpdateClientProxyTarget(boolean updateClientProxyTarget)
|
Methods inherited from class gov.nih.nci.system.applicationservice.impl.ApplicationServiceImpl |
---|
convertToListProxy, getMaxRecordsCount, privateQuery |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gov.nih.nci.system.applicationservice.ApplicationService |
---|
getMaxRecordsCount |
Field Detail |
---|
protected ApplicationContext appContext
Constructor Detail |
---|
public LexEVSApplicationServiceImpl(LexEVSClassCache classCache, Validator validator) throws ApplicationException
ApplicationException
public LexEVSApplicationServiceImpl(Validator validator) throws ApplicationException
ApplicationException
Method Detail |
---|
public java.lang.Object executeRemotely(java.lang.Object object, java.lang.String methodName, java.lang.String[] parameterClasses, java.lang.Object[] args) throws ApplicationException
executeRemotely
in interface LexEVSApplicationService
object
- - ObjectmethodName
- - StringparameterClasses
- -String[]args
- - Object[]
ApplicationException
- the application exceptionpublic java.lang.Object executeSecurely(java.lang.String methodName, java.lang.annotation.Annotation[] annotations, java.lang.String[] parameterClasses, java.lang.Object[] args, java.util.HashMap tokens) throws java.lang.Exception
executeSecurely
in interface LexEVSApplicationService
object
- the objectmethodName
- the method nameannotations
- annotations used by this methodparameterClasses
- the parameter classesargs
- the args
java.lang.Exception
- the exceptionpublic java.lang.Boolean registerSecurityToken(java.lang.String vocabulary, SecurityToken token) throws java.lang.Exception
vocabulary
- the Stringtoken
- the SecurityToken
java.lang.Exception
- the exceptionpublic java.util.List<java.lang.Object> getAssociation(java.lang.Object source, java.lang.String associationName, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
source
parameter.
getAssociation
in interface LexEVSDataService
queryOptions
- Specific Options to be used while processing this query.
ApplicationException
public java.util.List<java.lang.Object> getAssociation(java.lang.Object source, java.lang.String associationName) throws ApplicationException
ApplicationService
source
parameter.
getAssociation
in interface ApplicationService
getAssociation
in class ApplicationServiceImpl
ApplicationException
ApplicationService.getAssociation(java.lang.Object, java.lang.String)
public <E> java.util.List<E> search(java.lang.Class targetClass, java.lang.Object obj, java.lang.String eagerFetchAssociation, QueryOptions queryOptions) throws ApplicationException
ApplicationException
public <E> java.util.List<E> search(java.lang.Class targetClass, java.lang.Object obj) throws ApplicationException
ApplicationService
targetClass
specifies
the object that the user intends to fetch after executing the query. The targetClass
should be
same as the example object or associated object for the example object. The example query is converted into
the data source specific query language. For the Object Relational Mapping based persistence tier, the example
query structure is converted in the Hibernate Query Language (HQL). Hibernate converts the HQL into SQL and
executes it against the relational database.
The retrieved results are converted into a list which may not be completely loaded. If the retrieved results
are more than the maximum number of supported records as indicated by ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
search
in interface ApplicationService
search
in class ApplicationServiceImpl
ApplicationException
ApplicationService.search(java.lang.Class, java.lang.Object)
public <E> java.util.List<E> search(java.lang.Class targetClass, java.lang.Object obj, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
targetClass
specifies
the object that the user intends to fetch after executing the query. The targetClass
should be
same as the example object or associated object for the example object. The example query is converted into
the data source specific query language. For the Object Relational Mapping based persistence tier, the example
query structure is converted in the Hibernate Query Language (HQL). Hibernate converts the HQL into SQL and
executes it against the relational database.
The retrieved results are converted into a list which may not be completely loaded. If the retrieved results
are more than the maximum number of supported records as indicated by ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
search
in interface LexEVSDataService
queryOptions
- Specific Options to be used while processing this query.
ApplicationException
public <E> java.util.List<E> search(java.lang.Class targetClass, java.util.List objList) throws ApplicationException
ApplicationService
targetClass
specifies
the object that the user intends to fetch after executing the query. The targetClass
should be
same as the object specified in the objList or associated object for the example object. Also, all the objects
in the objList
has to be of the same type. The example query is converted into the data source
specific query language. For the Object Relational Mapping based persistence tier, the example query structure
is converted in the Hibernate Query Language (HQL). Hibernate converts the HQL into SQL and executes it against
the relational database.
The retrieved results are converted into a list which may not be completely loaded. If the retrieved results
are more than the maximum number of supported records as indicated by ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
search
in interface ApplicationService
search
in class ApplicationServiceImpl
ApplicationException
ApplicationService.search(java.lang.Class, java.util.List)
public <E> java.util.List<E> search(java.lang.Class targetClass, java.util.List objList, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
targetClass
specifies
the object that the user intends to fetch after executing the query. The targetClass
should be
same as the object specified in the objList or associated object for the example object. Also, all the objects
in the objList
has to be of the same type. The example query is converted into the data source
specific query language. For the Object Relational Mapping based persistence tier, the example query structure
is converted in the Hibernate Query Language (HQL). Hibernate converts the HQL into SQL and executes it against
the relational database.
The retrieved results are converted into a list which may not be completely loaded. If the retrieved results
are more than the maximum number of supported records as indicated by ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
search
in interface LexEVSDataService
queryOptions
- Specific Options to be used while processing this query.
ApplicationException
public <E> java.util.List<E> search(java.lang.String path, java.lang.Object obj, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
path
specifies
the list of objects (separated by commas) which should be used to reach the target object from the example object
passed as obj
, or the associated object for the example object. Internally, the Nested Search Criteria
is converted into the data source specific query language. For the Object Relational Mapping based persistence
tier, the query structure is first converted into the Hibernate Query Language (HQL). Hibernate then converts the HQL into
SQL and executes it against the relational database.
The retrieved results are converted into a list which may not be completely loaded. If the retrieved results
are more than the maximum number of supported records as indicated by ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
search
in interface LexEVSDataService
queryOptions
- Specific Options to be used while processing this query.
ApplicationException
public <E> java.util.List<E> search(java.lang.String path, java.lang.Object obj) throws ApplicationException
ApplicationService
path
specifies
the list of objects (separated by commas) which should be used to reach the target object from the example object
passed as obj
, or the associated object for the example object. Internally, the Nested Search Criteria
is converted into the data source specific query language. For the Object Relational Mapping based persistence
tier, the query structure is first converted into the Hibernate Query Language (HQL). Hibernate then converts the HQL into
SQL and executes it against the relational database.
The retrieved results are converted into a list which may not be completely loaded. If the retrieved results
are more than the maximum number of supported records as indicated by ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
search
in interface ApplicationService
search
in class ApplicationServiceImpl
ApplicationException
ApplicationService.search(java.lang.String, java.lang.Object)
public <E> java.util.List<E> query(CQLQuery cqlQuery, java.lang.String targetClassName, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
Note: The targetClassName
parameter will not be interpreted by the system. This parameter
will be determined from the CQLQuery.
query
in interface LexEVSDataService
ApplicationException
#query(CQLQuery)}
public <E> java.util.List<E> query(CQLQuery cqlQuery, java.lang.String targetClassName) throws ApplicationException
ApplicationService
ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
Note: The targetClassName
parameter will not be interpreted by the system. This parameter
will be determined from the CQLQuery.
query
in interface ApplicationService
query
in class ApplicationServiceImpl
ApplicationException
gov.nih.nci.system.applicationservice.ApplicationService#query(org.hibernate.criterion.DetachedCriteria, java.lang.String)
public <E> java.util.List<E> query(CQLQuery cqlQuery, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
query
in interface LexEVSDataService
queryOptions
- Specific Options to be used while processing this query.
ApplicationException
public <E> java.util.List<E> query(CQLQuery cqlQuery) throws ApplicationException
ApplicationService
ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
query
in interface ApplicationService
query
in class ApplicationServiceImpl
ApplicationException
public <E> java.util.List<E> query(gov.nih.nci.cagrid.cqlquery.CQLQuery cqlQuery) throws ApplicationException
ApplicationService
ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
query
in interface ApplicationService
query
in class ApplicationServiceImpl
ApplicationException
public <E> java.util.List<E> query(gov.nih.nci.cagrid.cqlquery.CQLQuery cqlQuery, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
query
in interface LexEVSDataService
queryOptions
- Specific Options to be used while processing this query.
ApplicationException
public <E> java.util.List<E> query(DetachedCriteria detachedCriteria, java.lang.String targetClassName) throws ApplicationException
ApplicationService
ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
Note: The targetClassName
parameter will not be interpreted by the system. This parameter
will be determined from the CQLQuery.
query
in interface ApplicationService
query
in class ApplicationServiceImpl
ApplicationException
gov.nih.nci.system.applicationservice.ApplicationService#query(org.hibernate.criterion.DetachedCriteria, java.lang.String)
public <E> java.util.List<E> query(DetachedCriteria detachedCriteria, java.lang.String targetClassName, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
Note: The targetClassName
parameter will not be interpreted by the system. This parameter
will be determined from the CQLQuery.
query
in interface LexEVSDataService
ApplicationException
#query(CQLQuery)}
public <E> java.util.List<E> query(DetachedCriteria detachedCriteria) throws ApplicationException
ApplicationService
ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
query
in interface ApplicationService
query
in class ApplicationServiceImpl
ApplicationException
public <E> java.util.List<E> query(DetachedCriteria detachedCriteria, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
query
in interface LexEVSDataService
queryOptions
- Specific Options to be used while processing this query.
ApplicationException
public <E> java.util.List<E> query(java.lang.Object criteria, java.lang.Integer firstRow, java.lang.String targetClassName) throws ApplicationException
ApplicationService
ApplicationService.getMaxRecordsCount()
to determine what should be the start of next chunk.
query
in interface ApplicationService
query
in class ApplicationServiceImpl
ApplicationException
ApplicationService.query(java.lang.Object, java.lang.Integer, java.lang.String)
public <E> java.util.List<E> query(java.lang.Object criteria, java.lang.Integer firstRow, java.lang.String targetClassName, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
ApplicationService.getMaxRecordsCount()
to determine what should be the start of next chunk.
query
in interface LexEVSDataService
ApplicationException
public <E> java.util.List<E> search(java.lang.String path, java.util.List objList) throws ApplicationException
ApplicationService
path
specifies
the list of objects (separated by commas), which should be used to reach the target object from the example objects
passed in the objList
or associated object for the example object. The Nested Search Criteria
is converted into the data source specific query language. For the Object Relational Mapping based persistence
tier, the query structure is first converted into the Hibernate Query Language (HQL). Hibernate then converts the HQL into
SQL and executes it against the relational database.
The retrieved results are converted into a list which may not be completely loaded. If the retrieved results
are more than the maximum number of supported records as indicated by ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
search
in interface ApplicationService
search
in class ApplicationServiceImpl
ApplicationException
ApplicationService.search(java.lang.String, java.util.List)
public <E> java.util.List<E> search(java.lang.String path, java.util.List objList, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
path
specifies
the list of objects (separated by commas), which should be used to reach the target object from the example objects
passed in the objList
or associated object for the example object. The Nested Search Criteria
is converted into the data source specific query language. For the Object Relational Mapping based persistence
tier, the query structure is first converted into the Hibernate Query Language (HQL). Hibernate then converts the HQL into
SQL and executes it against the relational database.
The retrieved results are converted into a list which may not be completely loaded. If the retrieved results
are more than the maximum number of supported records as indicated by ApplicationService.getMaxRecordsCount()
then the
result set will be partially loaded. The client framework will execute a subsequent query (transparent to the
client application) against the ApplicationService
to load the remaining results in the chunk
no greater than value specified by ApplicationService.getMaxRecordsCount()
.
search
in interface LexEVSDataService
queryOptions
- Specific Options to be used while processing this query.
ApplicationException
public java.lang.Integer getQueryRowCount(java.lang.Object criteria, java.lang.String targetClassName) throws ApplicationException
ApplicationService
ApplicationService.getMaxRecordsCount()
getQueryRowCount
in interface ApplicationService
getQueryRowCount
in class ApplicationServiceImpl
ApplicationException
ApplicationService.getQueryRowCount(java.lang.Object, java.lang.String)
public java.lang.Integer getQueryRowCount(java.lang.Object criteria, java.lang.String targetClassName, QueryOptions queryOptions) throws ApplicationException
LexEVSDataService
ApplicationService.getMaxRecordsCount()
getQueryRowCount
in interface LexEVSDataService
queryOptions
- Specific Options to be used while processing this query.
ApplicationException
protected <E> java.util.List<E> convertToListProxy(java.util.Collection originalList, java.lang.Object query, java.lang.String classname, java.lang.Integer start, QueryOptions options)
protected <E> java.util.List<E> privateQuery(java.lang.Object criteria, java.lang.String targetClassName, QueryOptions queryOptions) throws ApplicationException
ApplicationException
protected Response query(Request request, LexEVSDAO dao) throws java.lang.Exception
java.lang.Exception
protected Response query(Request request, LexEVSDAO dao, boolean lazyLoad, int resultPageSize) throws java.lang.Exception
java.lang.Exception
@Deprecated public CodedNodeSet getCodingSchemeConcepts(java.lang.String codingScheme, CodingSchemeVersionOrTag versionOrTag, boolean activeOnly) throws LBException
codingScheme
- the coding scheme StringversionOrTag
- the version or tag StringactiveOnly
- the active only boolean
LBException
- the LB exceptionpublic CodedNodeSet getCodingSchemeConcepts(java.lang.String codingScheme, CodingSchemeVersionOrTag versionOrTag) throws LBException
LBException
public Filter getFilter(java.lang.String name) throws LBException
LBException
public ExtensionDescriptionList getFilterExtensions()
public GenericExtension getGenericExtension(java.lang.String name) throws LBException
LBException
public ExtensionDescriptionList getGenericExtensions()
public HistoryService getHistoryService(java.lang.String codingScheme) throws LBException
LBException
public java.util.Date getLastUpdateTime() throws LBInvocationException
LBInvocationException
public ModuleDescriptionList getMatchAlgorithms()
public CodedNodeGraph getNodeGraph(java.lang.String codingScheme, CodingSchemeVersionOrTag versionOrTag, java.lang.String relationsName) throws LBException
LBException
public LexBIGServiceManager getServiceManager(java.lang.Object credentials) throws LBException
LBException
public LexBIGServiceMetadata getServiceMetadata() throws LBException
LBException
public Sort getSortAlgorithm(java.lang.String name) throws LBException
LBException
public SortDescriptionList getSortAlgorithms(SortContext context)
public CodingSchemeRenderingList getSupportedCodingSchemes() throws LBInvocationException
LBInvocationException
public CodingScheme resolveCodingScheme(java.lang.String codingScheme, CodingSchemeVersionOrTag versionOrTag) throws LBException
LBException
public java.lang.String resolveCodingSchemeCopyright(java.lang.String codingScheme, CodingSchemeVersionOrTag versionOrTag) throws LBException
LBException
public CodedNodeSet getNodeSet(java.lang.String codingScheme, CodingSchemeVersionOrTag versionOrTag, LocalNameList localNameList) throws LBException
LBException
public LexEVSConceptDomainServices getLexEVSConceptDomainServices()
getLexEVSConceptDomainServices
in interface LexEVSDistributed
public LexEVSValueSetDefinitionServices getLexEVSValueSetDefinitionServices()
getLexEVSValueSetDefinitionServices
in interface LexEVSDistributed
public LexEVSPickListDefinitionServices getLexEVSPickListDefinitionServices()
getLexEVSPickListDefinitionServices
in interface LexEVSDistributed
protected LexEVSClassCache getClassCache()
getClassCache
in class ApplicationServiceImpl
protected DAO getDAO(java.lang.String classname) throws ApplicationException
getDAO
in class ApplicationServiceImpl
ApplicationException
public NestedObjectToCriteria getNestedObjectToCriteriaTranslator()
public void setNestedObjectToCriteriaTranslator(NestedObjectToCriteria nestedObjectToCriteriaTranslator)
public GridCQLToDetachedCriteria getGridCQLToDetachedCriteriaTranslator()
public void setGridCQLToDetachedCriteriaTranslator(GridCQLToDetachedCriteria gridCQLToDetachedCriteriaTranslator)
public QBEPathToDetachedCriteria getQbePathToDetachedCriteriaTranslator()
public void setQbePathToDetachedCriteriaTranslator(QBEPathToDetachedCriteria qbePathToDetachedCriteriaTranslator)
public SDKCQLToDetachedCriteria getSdkCQLToDetachedCriteriaTranslator()
public void setSdkCQLToDetachedCriteriaTranslator(SDKCQLToDetachedCriteria sdkCQLToDetachedCriteriaTranslator)
public PaginationHelper getPaginationHelper()
public void setPaginationHelper(PaginationHelper paginationHelper)
public boolean isUpdateClientProxyTarget()
public void setUpdateClientProxyTarget(boolean updateClientProxyTarget)
public RemoteResourceManager getRemoteResourceManager()
public void setRemoteResourceManager(RemoteResourceManager remoteResourceManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |