fr.paris.lutece.plugins.directory.business
Class DirectoryXslDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.DirectoryXslDAO
All Implemented Interfaces:
IDirectoryXslDAO

public final class DirectoryXslDAO
extends java.lang.Object
implements IDirectoryXslDAO

This class provides Data Access methods for Directory XSL objects


Constructor Summary
DirectoryXslDAO()
           
 
Method Summary
 void delete(int nIdDirectoryXsl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(DirectoryXsl directoryXsl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 DirectoryXsl load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of the DirectoryXsl from the table
 int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Generates a new primary key
 java.util.List<DirectoryXsl> selectList(DirectoryXslFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the xsl and returns them in form of a list
 void store(DirectoryXsl directoryXsl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the directoryXsl in the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryXslDAO

public DirectoryXslDAO()
Method Detail

newPrimaryKey

public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IDirectoryXslDAO
Generates a new primary key

Specified by:
newPrimaryKey in interface IDirectoryXslDAO
Parameters:
plugin - the plugin
Returns:
The new primary key

insert

public void insert(DirectoryXsl directoryXsl,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IDirectoryXslDAO
Insert a new record in the table.

Specified by:
insert in interface IDirectoryXslDAO
Parameters:
directoryXsl - instance of the DirectoryXsl object to insert
plugin - the plugin

load

public DirectoryXsl load(int nId,
                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IDirectoryXslDAO
Load the data of the DirectoryXsl from the table

Specified by:
load in interface IDirectoryXslDAO
Parameters:
nId - The identifier of the xsl
plugin - the plugin
Returns:
the instance of the DirectoryXsl

delete

public void delete(int nIdDirectoryXsl,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IDirectoryXslDAO
Delete a record from the table

Specified by:
delete in interface IDirectoryXslDAO
Parameters:
nIdDirectoryXsl - The identifier of the directory xsl
plugin - the plugin

store

public void store(DirectoryXsl directoryXsl,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IDirectoryXslDAO
Update the directoryXsl in the table

Specified by:
store in interface IDirectoryXslDAO
Parameters:
directoryXsl - instance of the DirectoryXsl object to update
plugin - the plugin

selectList

public java.util.List<DirectoryXsl> selectList(DirectoryXslFilter filter,
                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IDirectoryXslDAO
Load the data of all the xsl and returns them in form of a list

Specified by:
selectList in interface IDirectoryXslDAO
Parameters:
filter - the search filter
plugin - the plugin
Returns:
The List which contains the data of all the XSL


Copyright © 2012 Mairie de Paris. All Rights Reserved.