| Constructor and Description |
|---|
SecurityAwareLookupImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<R> |
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.
|
R |
getById(String id)
Returns the resource profile with the given search id.
|
List<R> |
getByid(String[] ids)
Returns the resource profiles with the given ids.
|
R |
getUniqueResult(eu.dnetlib.domain.SearchCriteria criteria)
Performs a quick search and returns the unique result.
|
List<R> |
performQuickSearch(eu.dnetlib.domain.SearchCriteria criteria)
Uses the appropriate method in ISLookUp and performs a query without
using a result set.
|
void |
setLookUp(ISLookUp<R> lookUp) |
void |
setSecurityLookUp(ISLookUp<eu.dnetlib.domain.enabling.SecurityProfile> securityLookUp) |
public List<R> fetch(eu.dnetlib.domain.SearchCriteria criteria) throws ISLookUpException
ISLookUpfetch in interface ISLookUp<R extends eu.dnetlib.domain.SecureDriverResource>criteria - the search criteria.ISLookUpExceptionpublic List<String> fetch(String XQuery) throws ISLookUpException
ISLookUpfetch in interface ISLookUp<R extends eu.dnetlib.domain.SecureDriverResource>XQuery - the xquery.ISLookUpExceptionpublic R getById(String id) throws ISLookUpException
ISLookUpgetById in interface ISLookUp<R extends eu.dnetlib.domain.SecureDriverResource>id - the idISLookUpExceptionpublic List<R> getByid(String[] ids) throws ISLookUpException
ISLookUpgetByid in interface ISLookUp<R extends eu.dnetlib.domain.SecureDriverResource>ids - the list of ids.ISLookUpExceptionpublic R getUniqueResult(eu.dnetlib.domain.SearchCriteria criteria) throws ISLookUpException
ISLookUpgetUniqueResult in interface ISLookUp<R extends eu.dnetlib.domain.SecureDriverResource>criteria - the search criteria.ISLookUpException - if there is more than one result.public List<R> performQuickSearch(eu.dnetlib.domain.SearchCriteria criteria) throws ISLookUpException
ISLookUpperformQuickSearch in interface ISLookUp<R extends eu.dnetlib.domain.SecureDriverResource>criteria - the search criteria.ISLookUpExceptionpublic void setSecurityLookUp(ISLookUp<eu.dnetlib.domain.enabling.SecurityProfile> securityLookUp)
Copyright © 2017. All rights reserved.