|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.surfnet.coin.csa.service.impl.CrmServiceNoop
public class CrmServiceNoop
No operation CrmService to be used in OpenConext
| Constructor Summary | |
|---|---|
CrmServiceNoop()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CrmServiceNoop()
| Method Detail |
|---|
public List<License> getLicensesForIdpAndSp(IdentityProvider identityProvider,
String articleIdentifier)
throws LmngException
CrmService
getLicensesForIdpAndSp 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 CrmServiceLmngException
public List<Article> getArticlesForServiceProviders(List<String> serviceProviderEntityIds)
throws LmngException
CrmService
getArticlesForServiceProviders in interface CrmServiceserviceProviderEntityIds - list of ID's of serviceproviders to get the lmng article for
LmngExceptionpublic String getInstitutionName(String guid)
CrmService
getInstitutionName in interface CrmServiceguid - guid of the IDP to check
public Article getService(String guid)
CrmService
getService in interface CrmServiceguid - guid of the article
public String getServiceName(String lmngId)
CrmService
getServiceName in interface CrmServicepublic List<Account> getAccounts(boolean isInstitution)
CrmService
getAccounts in interface CrmServicepublic String performQuery(String rawQuery)
CrmService
performQuery in interface CrmServicerawQuery - the fetch string
public void evictCache()
evictCache in interface CrmServicepublic String getEndpoint()
public void setEndpoint(String endpoint)
public boolean isDebug()
public void setDebug(boolean debug)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||