public final class CategoryHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Category |
create(Category category)
Create an instance of the category class
|
static Category |
findByPrimaryKey(int nKey)
Returns an instance of a category whose identifier is specified in parameter
|
static fr.paris.lutece.util.ReferenceList |
getCategories()
Gets categories as reference list
|
static Collection<Category> |
getCategorysList()
Load the data of all the category objects and returns them in form of a collection
|
static void |
remove(int nCategoryId)
Remove the category whose identifier is specified in parameter
|
static Category |
update(Category category)
Update of the category which is specified in parameter
|
public static Category create(Category category)
category - The instance of the Category which contains the informations to storepublic static Category update(Category category)
category - The instance of the Category which contains the data to storepublic static void remove(int nCategoryId)
nCategoryId - The category Idpublic static Category findByPrimaryKey(int nKey)
nKey - The category primary keypublic static Collection<Category> getCategorysList()
public static fr.paris.lutece.util.ReferenceList getCategories()
Copyright © 2015 City of Paris. All rights reserved.