|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.shorturl.business.ShortUrlHome
public final class ShortUrlHome
This class provides instances management methods (create, find, ...) for ShortUrl objects
| Method Summary | |
|---|---|
static ShortUrl |
create(ShortUrl shortener,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of the shortener class |
static ShortUrl |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a shortener whose identifier is specified in parameter |
static ShortUrl |
findByPrimaryKey(java.lang.String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a shortener whose identifier is specified in parameter |
static java.util.Collection<ShortUrl> |
getShortenersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the shortener objects and returns them in form of a collection |
static void |
remove(int nShortenerId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the shortener whose identifier is specified in parameter |
static ShortUrl |
update(ShortUrl shortener,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the shortener which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ShortUrl create(ShortUrl shortener,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
shortener - The instance of the ShortUrl which contains the informations to storeplugin - the Plugin
public static ShortUrl update(ShortUrl shortener,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
shortener - The instance of the ShortUrl which contains the data to storeplugin - the Plugin
public static void remove(int nShortenerId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nShortenerId - The shortener Idplugin - the Plugin
public static ShortUrl findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The shortener primary keyplugin - the Plugin
public static ShortUrl findByPrimaryKey(java.lang.String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The shortener primary keyplugin - the Plugin
public static java.util.Collection<ShortUrl> getShortenersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||