public class CrmServiceNoop extends Object implements CrmService
| Constructor and Description |
|---|
CrmServiceNoop() |
| 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 |
getEndpoint() |
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
|
boolean |
isDebug() |
String |
performQuery(String rawQuery)
Convenience method to run various queries
|
void |
setDebug(boolean debug) |
void |
setEndpoint(String endpoint) |
public List<License> getLicensesForIdpAndSp(IdentityProvider identityProvider, String articleIdentifier) throws LmngException
CrmServicegetLicensesForIdpAndSp in interface CrmServiceidentityProvider - 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)public List<License> getLicensesForIdpAndSps(IdentityProvider identityProvider, List<String> articleIdentifiers) throws LmngException
getLicensesForIdpAndSps in interface CrmServiceLmngExceptionpublic List<Article> getArticlesForServiceProviders(List<String> serviceProviderEntityIds) throws LmngException
CrmServicegetArticlesForServiceProviders in interface CrmServiceserviceProviderEntityIds - list of ID's of serviceproviders to get the lmng article forLmngExceptionpublic String getInstitutionName(String guid)
CrmServicegetInstitutionName in interface CrmServiceguid - guid of the IDP to checkpublic Article getService(String guid)
CrmServicegetService in interface CrmServiceguid - guid of the articlepublic String getServiceName(String lmngId)
CrmServicegetServiceName in interface CrmServicepublic List<Account> getAccounts(boolean isInstitution)
CrmServicegetAccounts in interface CrmServicepublic String performQuery(String rawQuery)
CrmServiceperformQuery in interface CrmServicerawQuery - the fetch stringpublic void evictCache()
evictCache in interface CrmServicepublic String getEndpoint()
public void setEndpoint(String endpoint)
public boolean isDebug()
public void setDebug(boolean debug)
Copyright © 2013–2014 SURFnet bv, The Netherlands. All rights reserved.