fr.paris.lutece.plugins.quicklinks.business
Class EntryTextHome

java.lang.Object
  extended by fr.paris.lutece.plugins.quicklinks.business.EntryTextHome

public final class EntryTextHome
extends java.lang.Object

class EntryTextHome


Method Summary
static IEntry create(EntryText entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
static IEntry load(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a EntryText whose identifier is specified in parameter
static void remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the EntryText specified by identifier
static void update(EntryText entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update The EntryText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

load

public static IEntry load(IEntry entry,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a EntryText whose identifier is specified in parameter

Parameters:
entry - The EntryText to load
plugin - the Plugin
Returns:
an instance of EntryText

create

public static IEntry create(EntryText entry,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
entry - The Instance of the object EntryText
plugin - The Plugin using this data access service
Returns:
The EntryText

remove

public static void remove(int nId,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the EntryText specified by identifier

Parameters:
nId - The identifier
plugin - The Plugin using this data access service

update

public static void update(EntryText entry,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update The EntryText

Parameters:
entry - The EntryText to update
plugin - The Plugin using this data access service


Copyright © 2009 Mairie de Paris. All Rights Reserved.