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 Category |
findByTitle(String strTitle)
Returns an instance of a category whose title is specified in parameter
|
static List<Category> |
getCategorysList()
Load the data of all the category objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getCategorysReferenceList()
Load the data of all the category objects and returns them as a referenceList
|
static List<Integer> |
getIdCategorysList()
Load the id of all the category objects and returns them as a list
|
static void |
remove(int nKey)
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 nKey)
nKey - The category Idpublic static Category findByPrimaryKey(int nKey)
nKey - The category primary keypublic static List<Category> getCategorysList()
public static List<Integer> getIdCategorysList()
public static fr.paris.lutece.util.ReferenceList getCategorysReferenceList()
Copyright © 2017 City of Paris. All rights reserved.