palio.modules.snmp.mibParser
Class MibFileItemDAO

java.lang.Object
  extended by palio.modules.snmp.mibParser.MibFileItemDAO

public class MibFileItemDAO
extends java.lang.Object


Constructor Summary
MibFileItemDAO(PalioConnectable connector)
           
 
Method Summary
 boolean clearDatabase()
           
 boolean clearDatabase(java.lang.String context)
           
 java.util.List<java.lang.String> getAllContextes()
           
 java.util.List<MibFileItem> getAllItems()
           
 java.util.List<MibFileItem> getAllItems(java.lang.String context)
           
 MibFileItem getItem(java.lang.String context, java.lang.String fileName)
           
 boolean removeItem(MibFileItem item)
           
 boolean saveItem(MibFileItem item)
           
 void setModuleLogger(org.apache.log4j.Logger logger)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MibFileItemDAO

public MibFileItemDAO(PalioConnectable connector)
Method Detail

setModuleLogger

public void setModuleLogger(org.apache.log4j.Logger logger)

saveItem

public boolean saveItem(MibFileItem item)
                 throws palio.PalioException
Throws:
palio.PalioException

clearDatabase

public boolean clearDatabase()
                      throws palio.PalioException
Throws:
palio.PalioException

clearDatabase

public boolean clearDatabase(java.lang.String context)
                      throws palio.PalioException
Throws:
palio.PalioException

removeItem

public boolean removeItem(MibFileItem item)
                   throws palio.PalioException
Throws:
palio.PalioException

getItem

public MibFileItem getItem(java.lang.String context,
                           java.lang.String fileName)
                    throws palio.PalioException
Throws:
palio.PalioException

getAllItems

public java.util.List<MibFileItem> getAllItems()
                                        throws palio.PalioException
Throws:
palio.PalioException

getAllItems

public java.util.List<MibFileItem> getAllItems(java.lang.String context)
                                        throws palio.PalioException
Throws:
palio.PalioException

getAllContextes

public java.util.List<java.lang.String> getAllContextes()
                                                 throws palio.PalioException
Throws:
palio.PalioException