|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.seo.business.FriendlyUrlDAO
public final class FriendlyUrlDAO
This class provides Data Access methods for FriendlyUrl objects
Constructor Summary | |
---|---|
FriendlyUrlDAO()
|
Method Summary | |
---|---|
void |
delete(int nFriendlyUrlId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(FriendlyUrl friendlyUrl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
FriendlyUrl |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the friendlyUrl from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.List<FriendlyUrl> |
selectFriendlyUrlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the friendlyUrls and returns them as a List |
void |
store(FriendlyUrl friendlyUrl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FriendlyUrlDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin
public void insert(FriendlyUrl friendlyUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IFriendlyUrlDAO
friendlyUrl
- instance of the FriendlyUrl object to insertplugin
- The pluginpublic FriendlyUrl load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IFriendlyUrlDAO
nId
- The identifier of the friendlyUrlplugin
- The plugin
public void delete(int nFriendlyUrlId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IFriendlyUrlDAO
nFriendlyUrlId
- The identifier of the friendlyUrlplugin
- The pluginpublic void store(FriendlyUrl friendlyUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IFriendlyUrlDAO
friendlyUrl
- The reference of the friendlyUrlplugin
- The pluginpublic java.util.List<FriendlyUrl> selectFriendlyUrlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFriendlyUrlsList
in interface IFriendlyUrlDAO
plugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |