Interface IDataProvider
-
- All Known Implementing Classes:
NoOpDataProvider,NullDataProvider
public interface IDataProviderUsed during message parsing to provide external data.- Since:
- 6/7/16
- Author:
- bruce.skingle, lukasz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResolutionResultsgetFinTagPresentation(List<InstrumentResolution> criteria)Retrieve financial tag information based on list of instrument resolution listIUserPresentationgetUserPresentation(Long uid)Retrieve user information object based on UIDIUserPresentationgetUserPresentation(String emailAddress)Retrieve user information object based on user emailvoidvalidateURI(URI uri)Check an URI against a whitelist of supported protocols.
-
-
-
Method Detail
-
getUserPresentation
IUserPresentation getUserPresentation(String emailAddress) throws InvalidInputException
Retrieve user information object based on user email- Parameters:
emailAddress- Email of the user whose information to retrieve- Returns:
- User presentation object
- Throws:
InvalidInputException
-
getUserPresentation
IUserPresentation getUserPresentation(Long uid) throws InvalidInputException
Retrieve user information object based on UID- Parameters:
uid- UID of the user whose information to retrieve- Returns:
- User presentation object
- Throws:
InvalidInputException
-
validateURI
void validateURI(URI uri) throws InvalidInputException, ProcessingException
Check an URI against a whitelist of supported protocols.- Parameters:
uri- the URI to check- Throws:
InvalidInputException- thrown if the URI protocol is not supportedProcessingException- thrown on a malformed URI or a backend error
-
getFinTagPresentation
ResolutionResults getFinTagPresentation(List<InstrumentResolution> criteria) throws InvalidInputException
Retrieve financial tag information based on list of instrument resolution list- Parameters:
criteria- List of instrument resolution criteria- Returns:
- Resolution results
- Throws:
InvalidInputException
-
-