fr.paris.lutece.plugins.myapps.business.parameter
Class MyAppsParameterDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.myapps.business.parameter.MyAppsParameterDAO
All Implemented Interfaces:
IMyAppsParameterDAO

public class MyAppsParameterDAO
extends java.lang.Object
implements IMyAppsParameterDAO

MyAppsParameterDAO


Constructor Summary
MyAppsParameterDAO()
           
 
Method Summary
 fr.paris.lutece.util.ReferenceItem load(java.lang.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

MyAppsParameterDAO

public MyAppsParameterDAO()
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 IMyAppsParameterDAO
Parameters:
plugin - Plugin
Returns:
a list of ReferenceItem

load

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

Specified by:
load in interface IMyAppsParameterDAO
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 IMyAppsParameterDAO
Parameters:
param - the parameter
plugin - Plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.