fr.paris.lutece.plugins.insertajax.business
Class InsertAjaxDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.insertajax.business.InsertAjaxDAO
All Implemented Interfaces:
IInsertAjaxDAO

public class InsertAjaxDAO
extends java.lang.Object
implements IInsertAjaxDAO

This class provides Data Access methods for InsertAjax objects


Constructor Summary
InsertAjaxDAO()
           
 
Method Summary
 void delete(InsertAjax insertAjax, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 java.lang.String executeSql(java.lang.String strSql, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Excute the sql query for the ajax call
 void insert(InsertAjax insertAjax, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 InsertAjax load(int nInsertAjaxId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of insertAjax from the table
 java.util.Collection<Image> loadImagesListOfWorkspace(int nIdWorkspace, fr.paris.lutece.portal.service.plugin.Plugin _plugin)
           
 java.util.Collection<InsertAjax> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of insertAjaxs
 java.util.Collection<InsertAjax> selectEnabledInsertAjaxList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of insertAjaxs
 void store(InsertAjax insertAjax, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertAjaxDAO

public InsertAjaxDAO()
Method Detail

insert

public void insert(InsertAjax insertAjax,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Specified by:
insert in interface IInsertAjaxDAO
Parameters:
insertAjax - The insertAjax object
plugin - The plugin

load

public InsertAjax load(int nInsertAjaxId,
                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of insertAjax from the table

Specified by:
load in interface IInsertAjaxDAO
Parameters:
ninsertAjaxId - The identifier of insertAjax
plugin - The plugin
Returns:
the instance of the insertAjax

delete

public void delete(InsertAjax insertAjax,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Specified by:
delete in interface IInsertAjaxDAO
Parameters:
insertAjax - The insertAjax object
plugin - The plugin

store

public void store(InsertAjax insertAjax,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Specified by:
store in interface IInsertAjaxDAO
Parameters:
insertAjax - The reference of insertAjax
plugin - The plugin

selectAll

public java.util.Collection<InsertAjax> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of insertAjaxs

Specified by:
selectAll in interface IInsertAjaxDAO
Parameters:
plugin - The plugin
Returns:
The Collection of the insertAjaxs

selectEnabledInsertAjaxList

public java.util.Collection<InsertAjax> selectEnabledInsertAjaxList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of insertAjaxs

Specified by:
selectEnabledInsertAjaxList in interface IInsertAjaxDAO
Parameters:
plugin - The plugin
Returns:
The Collection of the insertAjaxs

executeSql

public java.lang.String executeSql(java.lang.String strSql,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IInsertAjaxDAO
Excute the sql query for the ajax call

Specified by:
executeSql in interface IInsertAjaxDAO
Returns:

loadImagesListOfWorkspace

public java.util.Collection<Image> loadImagesListOfWorkspace(int nIdWorkspace,
                                                             fr.paris.lutece.portal.service.plugin.Plugin _plugin)
Specified by:
loadImagesListOfWorkspace in interface IInsertAjaxDAO


Copyright © 2009 Mairie de Paris. All Rights Reserved.