fr.paris.lutece.plugins.whatsnew.business.parameter
Class WhatsNewParameterDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.whatsnew.business.parameter.WhatsNewParameterDAO
All Implemented Interfaces:
IWhatsNewParameterDAO

public class WhatsNewParameterDAO
extends Object
implements IWhatsNewParameterDAO

WhatsNewParameterDAO


Constructor Summary
WhatsNewParameterDAO()
           
 
Method Summary
 fr.paris.lutece.util.ReferenceItem load(String strParameterKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the parameter value
 fr.paris.lutece.util.ReferenceList selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load all the default values
 void store(fr.paris.lutece.util.ReferenceItem param, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhatsNewParameterDAO

public WhatsNewParameterDAO()
Method Detail

selectAll

public fr.paris.lutece.util.ReferenceList selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all the default values

Specified by:
selectAll in interface IWhatsNewParameterDAO
Parameters:
plugin - Plugin
Returns:
a list of ReferenceItem

load

public fr.paris.lutece.util.ReferenceItem load(String strParameterKey,
                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the parameter value

Specified by:
load in interface IWhatsNewParameterDAO
Parameters:
strParameterKey - the parameter key
plugin - Plugin
Returns:
The parameter value

store

public void store(fr.paris.lutece.util.ReferenceItem param,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the parameter

Specified by:
store in interface IWhatsNewParameterDAO
Parameters:
param - the parameter
plugin - Plugin


Copyright © 2013 Mairie de Paris. All Rights Reserved.