net.sourceforge.apphere.dao.mbeanclient
Class TestPanDAO

java.lang.Object
  extended bynet.sourceforge.apphere.dao.mbeanclient.TestPanDAO
All Implemented Interfaces:
PanDAO

public class TestPanDAO
extends java.lang.Object
implements PanDAO

Author:
Dewi Roberts Chimera - Institute for Socio-Technical Innovation and Research University of Essex

Constructor Summary
TestPanDAO()
           
 
Method Summary
 int addPan(PanValue newPan)
           
 Pan getPan(int userId, int panId)
           
 java.util.List getPans(int userId)
           
 void removePan(int userId, int deviceId)
           
 void updatePan(PanValue device)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPanDAO

public TestPanDAO()
Method Detail

addPan

public int addPan(PanValue newPan)
           throws AppHereException
Specified by:
addPan in interface PanDAO
Throws:
AppHereException

updatePan

public void updatePan(PanValue device)
               throws AppHereException
Specified by:
updatePan in interface PanDAO
Throws:
AppHereException

removePan

public void removePan(int userId,
                      int deviceId)
               throws AppHereException
Specified by:
removePan in interface PanDAO
Throws:
AppHereException

getPans

public java.util.List getPans(int userId)
                       throws AppHereException
Specified by:
getPans in interface PanDAO
Throws:
AppHereException

getPan

public Pan getPan(int userId,
                  int panId)
           throws AppHereException
Specified by:
getPan in interface PanDAO
Throws:
AppHereException