nl.surfnet.coin.csa.service.impl
Interface CrmUtil

All Known Implementing Classes:
LmngUtil

public interface CrmUtil


Method Summary
 String getLmngRequestEnvelope()
           
 String getLmngSoapRequestForAllAccount(boolean isInstitution, String endpoint)
           
 String getLmngSoapRequestForIdpAndSp(String institutionId, List<String> serviceIds, Date validOn, String endpoint)
           
 String getLmngSoapRequestForSps(Collection<String> serviceIds, String endpoint)
           
 boolean isValidGuid(String guid)
           
 List<Account> parseAccountsResult(String webserviceResult, boolean writeResponseToFile)
           
 List<Article> parseArticlesResult(String webserviceResult, boolean writeResponseToFile)
           
 List<License> parseLicensesResult(String webserviceResult, boolean writeResponseToFile)
           
 String parseResultInstitute(String webserviceResult, boolean writeResponseToFile)
           
 void writeIO(String filename, String content)
           
 

Method Detail

parseArticlesResult

List<Article> parseArticlesResult(String webserviceResult,
                                  boolean writeResponseToFile)
                                  throws ParserConfigurationException,
                                         SAXException,
                                         IOException,
                                         ParseException
Throws:
ParserConfigurationException
SAXException
IOException
ParseException

parseLicensesResult

List<License> parseLicensesResult(String webserviceResult,
                                  boolean writeResponseToFile)
                                  throws ParserConfigurationException,
                                         SAXException,
                                         IOException,
                                         ParseException
Throws:
ParserConfigurationException
SAXException
IOException
ParseException

parseAccountsResult

List<Account> parseAccountsResult(String webserviceResult,
                                  boolean writeResponseToFile)
                                  throws ParserConfigurationException,
                                         SAXException,
                                         IOException,
                                         ParseException
Throws:
ParserConfigurationException
SAXException
IOException
ParseException

parseResultInstitute

String parseResultInstitute(String webserviceResult,
                            boolean writeResponseToFile)
                            throws ParserConfigurationException,
                                   SAXException,
                                   IOException,
                                   ParseException
Throws:
ParserConfigurationException
SAXException
IOException
ParseException

isValidGuid

boolean isValidGuid(String guid)

getLmngSoapRequestForIdpAndSp

String getLmngSoapRequestForIdpAndSp(String institutionId,
                                     List<String> serviceIds,
                                     Date validOn,
                                     String endpoint)
                                     throws IOException
Throws:
IOException

writeIO

void writeIO(String filename,
             String content)

getLmngSoapRequestForSps

String getLmngSoapRequestForSps(Collection<String> serviceIds,
                                String endpoint)
                                throws IOException
Throws:
IOException

getLmngSoapRequestForAllAccount

String getLmngSoapRequestForAllAccount(boolean isInstitution,
                                       String endpoint)
                                       throws IOException
Throws:
IOException

getLmngRequestEnvelope

String getLmngRequestEnvelope()
                              throws IOException
Throws:
IOException


Copyright © 2013 SURFnet bv, The Netherlands. All Rights Reserved.