public final class LinkHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Link |
create(Link link)
Create an instance of the link class
|
static Link |
findByPrimaryKey(int nKey)
Returns an instance of a link whose identifier is specified in parameter
|
static Collection<Link> |
getLinksList()
Load the data of all the link objects and returns them in form of a collection
|
static Collection<Link> |
getLinksListTag(int hashtag)
Load the data of all the links whose hashtag is specified in parameter and and returns them as a collection
|
static void |
remove(int nLinkId)
Remove the link whose identifier is specified in parameter
|
static Link |
update(Link link)
Update of the link which is specified in parameter
|
public static Link create(Link link)
link - The instance of the Link which contains the informations to storepublic static Link update(Link link)
link - The instance of the Link which contains the data to storepublic static void remove(int nLinkId)
nLinkId - The link Idpublic static Link findByPrimaryKey(int nKey)
nKey - The link primary keypublic static Collection<Link> getLinksList()
public static Collection<Link> getLinksListTag(int hashtag)
hashtag - The hashtagCopyright © 2016 City of Paris. All rights reserved.