|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.links.business.LinkHome
public final class LinkHome
This class provides instances management methods (create, find, ...) for Link objects
| Method Summary | |
|---|---|
static Link |
create(Link link)
Create the link wich is specified in parameter |
static void |
delete(int nLinkId)
Remove the link whose identifier is specified in parameter |
static java.util.Collection<Link> |
findByPortlet(int nPortletId)
Return a collection of all the links in a defined portlet |
static Link |
findByPrimaryKey(int nKey)
Returns an instance of link whose identifier is specified in parameter |
static fr.paris.lutece.portal.service.image.ImageResource |
getImageResource(int nLinkId)
|
static java.util.Collection<Link> |
getLinksList()
Return the list of all the links |
static void |
update(Link link)
Update the link wich 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 Link create(Link link)
link - The instance of link wich contains the data to store
public static Link findByPrimaryKey(int nKey)
nKey - The identifier (primary key) of the link
public static java.util.Collection<Link> getLinksList()
public static void update(Link link)
link - The instance of link wich contains the data to storepublic static void delete(int nLinkId)
nLinkId - The identifier of the link to removepublic static java.util.Collection<Link> findByPortlet(int nPortletId)
nPortletId - The identifier of the portlet
public static fr.paris.lutece.portal.service.image.ImageResource getImageResource(int nLinkId)
nLinkId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||