fr.paris.lutece.portal.business.xsl
Class XslExportDAO

java.lang.Object
  extended by fr.paris.lutece.portal.business.xsl.XslExportDAO
All Implemented Interfaces:
IXslExportDAO

public final class XslExportDAO
extends Object
implements IXslExportDAO

This class provides Data Access methods for XSL objects


Constructor Summary
XslExportDAO()
           
 
Method Summary
 void delete(int nIdXslExport)
          Delete a record from the table
 void insert(XslExport xslExport)
          Insert a new record in the table.
 XslExport load(int nId)
          Load the data of the XslExport from the table
 int newPrimaryKey()
          Generates a new primary key
 List<XslExport> selectList()
          Get the list of Xsl Export.
 List<XslExport> selectListByPlugin(Plugin plugin)
          Get the list of Xsl Export associated to a specified plugin.
 void store(XslExport xslExport)
          Update the xslExport in the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XslExportDAO

public XslExportDAO()
Method Detail

newPrimaryKey

public int newPrimaryKey()
Generates a new primary key

Specified by:
newPrimaryKey in interface IXslExportDAO
Returns:
The new primary key

insert

public void insert(XslExport xslExport)
Insert a new record in the table.

Specified by:
insert in interface IXslExportDAO
Parameters:
xslExport - instance of the XslExport object to insert

load

public XslExport load(int nId)
Load the data of the XslExport from the table

Specified by:
load in interface IXslExportDAO
Parameters:
nId - The identifier of the xsl
Returns:
the instance of the XslExport

delete

public void delete(int nIdXslExport)
Delete a record from the table

Specified by:
delete in interface IXslExportDAO
Parameters:
nIdXslExport - The identifier of the directory xsl

store

public void store(XslExport xslExport)
Update the xslExport in the table

Specified by:
store in interface IXslExportDAO
Parameters:
xslExport - instance of the XslExport object to update

selectList

public List<XslExport> selectList()
Get the list of Xsl Export.

Specified by:
selectList in interface IXslExportDAO
Returns:
The list of all Xsl Export.

selectListByPlugin

public List<XslExport> selectListByPlugin(Plugin plugin)
Get the list of Xsl Export associated to a specified plugin.

Specified by:
selectListByPlugin in interface IXslExportDAO
Parameters:
plugin - The plugin
Returns:
The list of Xsl Export associated with the given plugin.


Copyright © 2014 Mairie de Paris. All Rights Reserved.