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

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.attribute.DirectoryAttributeHome

public final class DirectoryAttributeHome
extends Object

DirectoryAttributeHome


Method Summary
static void create(int nIdDirectory, Map<String,Object> mapAttributes)
          Create the attribute of the directory
static void create(int nIdDirectory, String strAttributeKey, Object attributeValue)
          Create an attribute of the directory
static Map<String,Object> findByPrimaryKey(int nIdDirectory)
          Load the attributes of the directory
static void remove(int nIdDirectory)
          Remove the attributes of the directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findByPrimaryKey

public static Map<String,Object> findByPrimaryKey(int nIdDirectory)
Load the attributes of the directory

Parameters:
nIdDirectory - the id directory
Returns:
a map of key - value

create

public static void create(int nIdDirectory,
                          String strAttributeKey,
                          Object attributeValue)
Create an attribute of the directory

Parameters:
directoryAttributes - the directory attributes

create

public static void create(int nIdDirectory,
                          Map<String,Object> mapAttributes)
Create the attribute of the directory

Parameters:
nIdDirectory - the id directory
mapAttributes - the map of attributes

remove

public static void remove(int nIdDirectory)
Remove the attributes of the directory

Parameters:
nIdDirectory - the id directory


Copyright © 2013 Mairie de Paris. All Rights Reserved.