Class FriendlyUrlHome
java.lang.Object
fr.paris.lutece.plugins.seo.business.FriendlyUrlHome
This class provides instances management methods (create, find, ...) for FriendlyUrl objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic FriendlyUrlcreate(FriendlyUrl friendlyUrl) Create an instance of the friendlyUrl classstatic 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 voidRemove all URLstatic FriendlyUrlupdate(FriendlyUrl friendlyUrl) Update of the friendlyUrl data specified in parameter
-
Method Details
-
create
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
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
Returns an instance of a friendlyUrl whose identifier is specified in parameter- Parameters:
nKey- The friendlyUrl primary key- Returns:
- an instance of 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
-