|
||||||||||
| 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 |
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 IFriendlyUrlDAOfriendlyUrl - instance of the FriendlyUrl object to insertplugin - The plugin
public FriendlyUrl load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFriendlyUrlDAOnId - The identifier of the friendlyUrlplugin - The plugin
public void delete(int nFriendlyUrlId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFriendlyUrlDAOnFriendlyUrlId - The identifier of the friendlyUrlplugin - The plugin
public void store(FriendlyUrl friendlyUrl,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IFriendlyUrlDAOfriendlyUrl - The reference of the friendlyUrlplugin - The pluginpublic List<FriendlyUrl> selectFriendlyUrlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFriendlyUrlsList in interface IFriendlyUrlDAOplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||