public class ISLookUpImpl<D extends eu.dnetlib.domain.DriverResource> extends Object implements ISLookUp<D>
| Constructor and Description |
|---|
ISLookUpImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<D> |
fetch(eu.dnetlib.domain.SearchCriteria criteria)
Performs a search by criteria.
|
List<String> |
fetch(String XQuery)
Performs a direct XQuery search and returns a list of xml profiles that
match the criteria, without any processing.
|
D |
getById(String profileId)
Returns the resource profile with the given search id.
|
List<D> |
getByid(String[] profileIds)
Returns the resource profiles with the given ids.
|
D |
getUniqueResult(eu.dnetlib.domain.SearchCriteria criteria)
Performs a quick search and returns the unique result.
|
List<D> |
performQuickSearch(eu.dnetlib.domain.SearchCriteria criteria)
Uses the appropriate method in ISLookUp and performs a query without
using a result set.
|
void |
setConverter(ResourceToXmlConverter<D> converter) |
void |
setLookupLocator(ServiceLocator<eu.dnetlib.api.enabling.ISLookUpService> lookupLocator) |
public D getById(String profileId) throws ISLookUpException
ISLookUpgetById in interface ISLookUp<D extends eu.dnetlib.domain.DriverResource>profileId - the idISLookUpExceptionpublic List<D> getByid(String[] profileIds) throws ISLookUpException
ISLookUpgetByid in interface ISLookUp<D extends eu.dnetlib.domain.DriverResource>profileIds - the list of ids.ISLookUpExceptionpublic List<D> fetch(eu.dnetlib.domain.SearchCriteria criteria) throws ISLookUpException
ISLookUpfetch in interface ISLookUp<D extends eu.dnetlib.domain.DriverResource>criteria - the search criteria.ISLookUpExceptionpublic List<String> fetch(String XQuery) throws ISLookUpException
ISLookUpfetch in interface ISLookUp<D extends eu.dnetlib.domain.DriverResource>XQuery - the xquery.ISLookUpExceptionpublic List<D> performQuickSearch(eu.dnetlib.domain.SearchCriteria criteria) throws ISLookUpException
ISLookUpperformQuickSearch in interface ISLookUp<D extends eu.dnetlib.domain.DriverResource>criteria - the search criteria.ISLookUpExceptionpublic D getUniqueResult(eu.dnetlib.domain.SearchCriteria criteria) throws ISLookUpException
ISLookUpgetUniqueResult in interface ISLookUp<D extends eu.dnetlib.domain.DriverResource>criteria - the search criteria.ISLookUpException - if there is more than one result.public void setLookupLocator(ServiceLocator<eu.dnetlib.api.enabling.ISLookUpService> lookupLocator)
public void setConverter(ResourceToXmlConverter<D> converter)
Copyright © 2019. All rights reserved.