fr.paris.lutece.plugins.contextinclude.business
Class ContextParamsDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.contextinclude.business.ContextParamsDAO
All Implemented Interfaces:
IContextParamsDAO

public class ContextParamsDAO
extends java.lang.Object
implements IContextParamsDAO

ContextParamsDAO


Constructor Summary
ContextParamsDAO()
           
 
Method Summary
 void delete(int nIdContext, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete parameters
 void insert(int nIdContext, java.lang.String strParamKey, java.lang.String strParamValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert parameters
 java.util.Map<java.lang.String,java.util.List<java.lang.String>> load(int nIdContext, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextParamsDAO

public ContextParamsDAO()
Method Detail

insert

public void insert(int nIdContext,
                   java.lang.String strParamKey,
                   java.lang.String strParamValue,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert parameters

Specified by:
insert in interface IContextParamsDAO
Parameters:
nIdContext - the id context
strParamKey - the parameter key
strParamValue - the parameter value
plugin - the plugin

delete

public void delete(int nIdContext,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete parameters

Specified by:
delete in interface IContextParamsDAO
Parameters:
nIdContext - the id context
plugin - the plugin

load

public java.util.Map<java.lang.String,java.util.List<java.lang.String>> load(int nIdContext,
                                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the parameters

Specified by:
load in interface IContextParamsDAO
Parameters:
nIdContext - the id context
plugin - the plugin
Returns:
a map of


Copyright © 2012 Mairie de Paris. All Rights Reserved.