public final class HashtagHome extends Object
Modifier and Type | Method and Description |
---|---|
static Hashtag |
create(Hashtag hashtag)
Create an instance of the hashtag class
|
static Hashtag |
findByPrimaryKey(int nKey)
Returns an instance of a hashtag whose identifier is specified in parameter
|
static Collection<Hashtag> |
getHashtagsList()
Load the data of all the hashtag objects and returns them in form of a collection
|
static int |
getId(String strTag)
Returns an id whose content contains the Tag specified in parameter
|
static void |
remove(int nHashtagId)
Remove the hashtag whose identifier is specified in parameter
|
static Hashtag |
update(Hashtag hashtag)
Update of the hashtag which is specified in parameter
|
public static Hashtag create(Hashtag hashtag)
hashtag
- The instance of the Hashtag which contains the informations to storepublic static Hashtag update(Hashtag hashtag)
hashtag
- The instance of the Hashtag which contains the data to storepublic static void remove(int nHashtagId)
nHashtagId
- The hashtag Idpublic static Hashtag findByPrimaryKey(int nKey)
nKey
- The hashtag primary keypublic static Collection<Hashtag> getHashtagsList()
public static int getId(String strTag)
strTag
- The tagCopyright © 2016 City of Paris. All rights reserved.