public interface CrmService
| Modifier and Type | Method and Description |
|---|---|
void |
evictCache() |
List<Account> |
getAccounts(boolean isInstitution)
Get all institutions
|
List<Article> |
getArticlesForServiceProviders(List<String> serviceProviderEntityIds)
Get articles for the given serviceProviders.
|
String |
getInstitutionName(String guid)
Get the name of the institution in LMNG belonging to given GUID
|
List<License> |
getLicensesForIdpAndSp(IdentityProvider identityProvider,
String articleIdentifier)
Gets a list with Licenses for the given
identityProvider and services (lmngIdentifiers) which are valid on the given day
|
List<License> |
getLicensesForIdpAndSps(IdentityProvider identityProvider,
List<String> articleIdentifiers) |
Article |
getService(String guid)
Get LMNG article by article ID
|
String |
getServiceName(String lmngId)
Get the name of the service/product in LMNG belonging to given GUID
|
String |
performQuery(String rawQuery)
Convenience method to run various queries
|
List<License> getLicensesForIdpAndSp(IdentityProvider identityProvider, String articleIdentifier) throws LmngException
identityProvider - the identityProvider to get the licenses forarticleIdentifier - lmngIdentifier (belonging to SP's) where the licenses are for.LmngException - If connection or call fails (rethrows all exceptions)List<License> getLicensesForIdpAndSps(IdentityProvider identityProvider, List<String> articleIdentifiers) throws LmngException
LmngExceptionList<Article> getArticlesForServiceProviders(List<String> serviceProviderEntityIds) throws LmngException
serviceProviderEntityIds - list of ID's of serviceproviders to get the lmng article forLmngExceptionString getInstitutionName(String guid)
guid - guid of the IDP to checkArticle getService(String guid)
guid - guid of the articleString getServiceName(String lmngId)
lmngId - List<Account> getAccounts(boolean isInstitution)
String performQuery(String rawQuery)
rawQuery - the fetch stringvoid evictCache()
Copyright © 2013 SURFnet bv, The Netherlands. All Rights Reserved.