public final class LinkHome extends Object
| Modifier and Type | Method and Description |
|---|---|
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 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 Collection<Link> |
getLinksList()
Return the list of all the links
|
static void |
update(Link link)
Update the link wich is specified in parameter
|
public static Link create(Link link)
link - The instance of link wich contains the data to storepublic static Link findByPrimaryKey(int nKey)
nKey - The identifier (primary key) of the linkpublic static 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 Collection<Link> findByPortlet(int nPortletId)
nPortletId - The identifier of the portletpublic static fr.paris.lutece.portal.service.image.ImageResource getImageResource(int nLinkId)
nLinkId - Copyright © 2021 City of Paris. All rights reserved.