net.sourceforge.apphere.dao
Interface PanDAO

All Known Subinterfaces:
TestImplMBean
All Known Implementing Classes:
TestImpl, TestPanDAO

public interface PanDAO

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

Method Summary
 int addPan(PanValue newPanVal)
           
 Pan getPan(int userId, int panId)
           
 java.util.List getPans(int userId)
           
 void removePan(int userId, int locationId)
           
 void updatePan(PanValue newVal)
           
 

Method Detail

getPan

public Pan getPan(int userId,
                  int panId)
           throws AppHereException
Throws:
AppHereException

addPan

public int addPan(PanValue newPanVal)
           throws AppHereException
Throws:
AppHereException

updatePan

public void updatePan(PanValue newVal)
               throws AppHereException
Throws:
AppHereException

removePan

public void removePan(int userId,
                      int locationId)
               throws AppHereException
Throws:
AppHereException

getPans

public java.util.List getPans(int userId)
                       throws AppHereException
Throws:
AppHereException