fr.paris.lutece.plugins.seo.business
Class FriendlyUrlHome

java.lang.Object
  extended by fr.paris.lutece.plugins.seo.business.FriendlyUrlHome

public final class FriendlyUrlHome
extends java.lang.Object

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


Method Summary
static FriendlyUrl create(FriendlyUrl friendlyUrl)
          Create an instance of the friendlyUrl class
static java.util.List<FriendlyUrl> findAll()
          Load the data of all the friendlyUrl objects and returns them in form of a collection
static FriendlyUrl findByPrimaryKey(int nKey)
          Returns an instance of a friendlyUrl whose identifier is specified in parameter
static void remove(int nFriendlyUrlId)
          Remove the friendlyUrl whose identifier is specified in parameter
static FriendlyUrl update(FriendlyUrl friendlyUrl)
          Update of the friendlyUrl data 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 FriendlyUrl create(FriendlyUrl friendlyUrl)
Create an instance of the friendlyUrl class

Parameters:
friendlyUrl - The instance of the FriendlyUrl which contains the informations to store
Returns:
The instance of friendlyUrl which has been created with its primary key.

update

public static FriendlyUrl update(FriendlyUrl friendlyUrl)
Update of the friendlyUrl data specified in parameter

Parameters:
friendlyUrl - The instance of the FriendlyUrl which contains the data to store
Returns:
The instance of the friendlyUrl which has been updated

remove

public static void remove(int nFriendlyUrlId)
Remove the friendlyUrl whose identifier is specified in parameter

Parameters:
nFriendlyUrlId - The friendlyUrl Id

findByPrimaryKey

public static FriendlyUrl findByPrimaryKey(int nKey)
Returns an instance of a friendlyUrl whose identifier is specified in parameter

Parameters:
nKey - The friendlyUrl primary key
Returns:
an instance of FriendlyUrl

findAll

public static java.util.List<FriendlyUrl> findAll()
Load the data of all the friendlyUrl objects and returns them in form of a collection

Returns:
the list which contains the data of all the friendlyUrl objects


Copyright © 2012 Mairie de Paris. All Rights Reserved.