nl.surfnet.coin.shared.log
Class ApiCallLogServiceImpl

java.lang.Object
  extended by nl.surfnet.coin.shared.log.ApiCallLogServiceImpl
All Implemented Interfaces:
ApiCallLogService

public class ApiCallLogServiceImpl
extends Object
implements ApiCallLogService

JDBC implementation for ApiCallLogService


Constructor Summary
ApiCallLogServiceImpl(DataSource dataSource)
           
ApiCallLogServiceImpl(org.springframework.jdbc.core.JdbcTemplate template)
           
 
Method Summary
 List<ApiCallLog> findApiCallLog(String serviceProvider)
           
 List<String> findServiceProviders()
           
 void saveApiCallLog(ApiCallLog log)
          Log the Api request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiCallLogServiceImpl

public ApiCallLogServiceImpl(DataSource dataSource)

ApiCallLogServiceImpl

public ApiCallLogServiceImpl(org.springframework.jdbc.core.JdbcTemplate template)
Method Detail

saveApiCallLog

public void saveApiCallLog(ApiCallLog log)
Description copied from interface: ApiCallLogService
Log the Api request

Specified by:
saveApiCallLog in interface ApiCallLogService
Parameters:
log - the ApiCallLog to be inserted

findApiCallLog

public List<ApiCallLog> findApiCallLog(String serviceProvider)
Specified by:
findApiCallLog in interface ApiCallLogService
Parameters:
serviceProvider - the entityid of the serviceProvider
Returns:
all ApicCallLog instances for a SP

findServiceProviders

public List<String> findServiceProviders()
Specified by:
findServiceProviders in interface ApiCallLogService
Returns:
all id's of the ServiceProviders


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.