fr.paris.lutece.plugins.directory.business.attribute
Class DirectoryAttributeDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.attribute.DirectoryAttributeDAO
All Implemented Interfaces:
IDirectoryAttributeDAO

public class DirectoryAttributeDAO
extends java.lang.Object
implements IDirectoryAttributeDAO

DirectoryAttributeDAO


Constructor Summary
DirectoryAttributeDAO()
           
 
Method Summary
 void insert(int nIdDirectory, java.lang.String strAttributeKey, java.lang.Object attributeValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Create the attributes of the directory
 java.util.Map<java.lang.String,java.lang.Object> load(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the attributes of the directory
 void remove(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the attributes of the directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryAttributeDAO

public DirectoryAttributeDAO()
Method Detail

load

public java.util.Map<java.lang.String,java.lang.Object> load(int nIdDirectory,
                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the attributes of the directory

Specified by:
load in interface IDirectoryAttributeDAO
Parameters:
nIdDirectory - the id directory
plugin - the plugin
Returns:
a map of key - value

insert

public void insert(int nIdDirectory,
                   java.lang.String strAttributeKey,
                   java.lang.Object attributeValue,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create the attributes of the directory

Specified by:
insert in interface IDirectoryAttributeDAO
Parameters:
nIdDirectory - the id directory
strAttributeKey - the attribute key
attributeValue - the attribute value
plugin - the plugin

remove

public void remove(int nIdDirectory,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the attributes of the directory

Specified by:
remove in interface IDirectoryAttributeDAO
Parameters:
nIdDirectory - the id directory
plugin - the plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.