org.silverpeas.connecteurJDBC.mock
Class MockableConnecteurJDBCService

java.lang.Object
  extended by org.silverpeas.connecteurJDBC.mock.MockableConnecteurJDBCService
All Implemented Interfaces:
ConnecteurJDBCService

@Named
public class MockableConnecteurJDBCService
extends Object
implements ConnecteurJDBCService


Constructor Summary
MockableConnecteurJDBCService()
           
 
Method Summary
 ConnecteurJDBCConnectionInfoPK addConnection(ConnecteurJDBCConnectionInfoDetail detail)
           
 ConnecteurJDBCConnectionInfoDetail getConnection(ConnecteurJDBCConnectionInfoPK pk)
           
 Collection<ConnecteurJDBCConnectionInfoDetail> getConnectionList(ConnecteurJDBCConnectionInfoPK pk)
           
 void removeConnection(ConnecteurJDBCConnectionInfoPK pk)
           
 void setRealService(ConnecteurJDBCService realService)
           
 void updateConnection(ConnecteurJDBCConnectionInfoDetail detail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockableConnecteurJDBCService

public MockableConnecteurJDBCService()
Method Detail

setRealService

public void setRealService(ConnecteurJDBCService realService)

getConnectionList

public Collection<ConnecteurJDBCConnectionInfoDetail> getConnectionList(ConnecteurJDBCConnectionInfoPK pk)
                                                                 throws com.stratelia.webactiv.persistence.PersistenceException
Specified by:
getConnectionList in interface ConnecteurJDBCService
Throws:
com.stratelia.webactiv.persistence.PersistenceException

removeConnection

public void removeConnection(ConnecteurJDBCConnectionInfoPK pk)
                      throws com.stratelia.webactiv.persistence.PersistenceException
Specified by:
removeConnection in interface ConnecteurJDBCService
Throws:
com.stratelia.webactiv.persistence.PersistenceException

getConnection

public ConnecteurJDBCConnectionInfoDetail getConnection(ConnecteurJDBCConnectionInfoPK pk)
                                                 throws com.stratelia.webactiv.persistence.PersistenceException
Specified by:
getConnection in interface ConnecteurJDBCService
Throws:
com.stratelia.webactiv.persistence.PersistenceException

addConnection

public ConnecteurJDBCConnectionInfoPK addConnection(ConnecteurJDBCConnectionInfoDetail detail)
                                             throws com.stratelia.webactiv.persistence.PersistenceException
Specified by:
addConnection in interface ConnecteurJDBCService
Throws:
com.stratelia.webactiv.persistence.PersistenceException

updateConnection

public void updateConnection(ConnecteurJDBCConnectionInfoDetail detail)
                      throws com.stratelia.webactiv.persistence.PersistenceException
Specified by:
updateConnection in interface ConnecteurJDBCService
Throws:
com.stratelia.webactiv.persistence.PersistenceException


Copyright © 2016 Silverpeas. All Rights Reserved.