com.silverpeas.mydb.control.ejb
Class MyDBBmEJB

java.lang.Object
  extended by com.silverpeas.mydb.control.ejb.MyDBBmEJB
All Implemented Interfaces:
MyDBBm

public class MyDBBmEJB
extends Object
implements MyDBBm

MyDB EJB-tier controller of the MVC.

Author:
Antoine HEDIN

Constructor Summary
MyDBBmEJB()
           
 
Method Summary
 MyDBConnectionInfoPK addConnection(MyDBConnectionInfoDetail detail)
           
 MyDBConnectionInfoDetail getConnection(MyDBConnectionInfoPK pk)
           
 Collection<MyDBConnectionInfoDetail> getConnectionList(MyDBConnectionInfoPK pk)
           
 void removeConnection(MyDBConnectionInfoPK pk)
           
 void updateConnection(MyDBConnectionInfoDetail detail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyDBBmEJB

public MyDBBmEJB()
Method Detail

getConnectionList

public Collection<MyDBConnectionInfoDetail> getConnectionList(MyDBConnectionInfoPK pk)
                                                       throws com.stratelia.webactiv.persistence.PersistenceException
Specified by:
getConnectionList in interface MyDBBm
Throws:
com.stratelia.webactiv.persistence.PersistenceException

getConnection

public MyDBConnectionInfoDetail getConnection(MyDBConnectionInfoPK pk)
                                       throws com.stratelia.webactiv.persistence.PersistenceException
Specified by:
getConnection in interface MyDBBm
Throws:
com.stratelia.webactiv.persistence.PersistenceException

addConnection

public MyDBConnectionInfoPK addConnection(MyDBConnectionInfoDetail detail)
                                   throws com.stratelia.webactiv.persistence.PersistenceException
Specified by:
addConnection in interface MyDBBm
Throws:
com.stratelia.webactiv.persistence.PersistenceException

updateConnection

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

removeConnection

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


Copyright © 2016 Silverpeas. All Rights Reserved.