Class FriendlyUrlHome
- java.lang.Object
-
- fr.paris.lutece.plugins.seo.business.FriendlyUrlHome
-
public final class FriendlyUrlHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for FriendlyUrl objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FriendlyUrlcreate(FriendlyUrl friendlyUrl)Create an instance of the friendlyUrl classstatic java.util.List<FriendlyUrl>findAll()Load the data of all the friendlyUrl objects and returns them in form of a collectionstatic FriendlyUrlfindByPrimaryKey(int nKey)Returns an instance of a friendlyUrl whose identifier is specified in parameterstatic voidremove(int nFriendlyUrlId)Remove the friendlyUrl whose identifier is specified in parameterstatic voidremoveAll()Remove all URLstatic FriendlyUrlupdate(FriendlyUrl friendlyUrl)Update of the friendlyUrl data specified in parameter
-
-
-
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
-
removeAll
public static void removeAll()
Remove all URL
-
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
-
-