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

java.lang.Object
  extended by fr.paris.lutece.plugins.insertajax.business.InsertAjaxHome

public class InsertAjaxHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for InsertAjax objects


Method Summary
static InsertAjax create(InsertAjax insertAjax, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of InsertAjax
static java.lang.String executeSql(java.lang.String strSql, fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
static java.util.Collection<InsertAjax> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns a collection of InsertAjax objects
static InsertAjax findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a InsertAjax whose identifier is specified in parameter
static java.util.Collection<InsertAjax> findEnabledInsertAjaxList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns a collection of InsertAjax objects with valid status
static java.util.Collection<Image> findImagesListOfWorkspace(int nIdWorksapce, fr.paris.lutece.portal.service.plugin.Plugin _plugin)
           
static void remove(InsertAjax insertAjax, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the InsertAjax whose identifier is specified in parameter
static InsertAjax update(InsertAjax insertAjax, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of the InsertAjax which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static InsertAjax create(InsertAjax insertAjax,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of InsertAjax

Parameters:
InsertAjax - The instance of the InsertAjax which contains the informations to store
plugin - The Plugin object
Returns:
The instance of InsertAjax which has been created with its primary key.

update

public static InsertAjax update(InsertAjax insertAjax,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the InsertAjax which is specified in parameter

Parameters:
InsertAjax - The instance of the InsertAjax which contains the data to store
plugin - The Plugin object
Returns:
The instance of the InsertAjax which has been updated

remove

public static void remove(InsertAjax insertAjax,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the InsertAjax whose identifier is specified in parameter

Parameters:
InsertAjax - The InsertAjax object to remove
plugin - The Plugin object

findByPrimaryKey

public static InsertAjax findByPrimaryKey(int nKey,
                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a InsertAjax whose identifier is specified in parameter

Parameters:
nKey - The Primary key of the InsertAjax
plugin - The Plugin object
Returns:
An instance of InsertAjax

findAll

public static java.util.Collection<InsertAjax> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of InsertAjax objects

Parameters:
plugin - The Plugin object
Returns:
A collection of InsertAjax

findEnabledInsertAjaxList

public static java.util.Collection<InsertAjax> findEnabledInsertAjaxList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of InsertAjax objects with valid status

Parameters:
plugin - The Plugin object
Returns:
A collection of InsertAjax

executeSql

public static java.lang.String executeSql(java.lang.String strSql,
                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)

findImagesListOfWorkspace

public static java.util.Collection<Image> findImagesListOfWorkspace(int nIdWorksapce,
                                                                    fr.paris.lutece.portal.service.plugin.Plugin _plugin)


Copyright © 2009 Mairie de Paris. All Rights Reserved.