|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.graphite.business.CategoryHome
public final class CategoryHome
This class provides instances management methods (create, find, ...) for Category objects
| Method Summary | |
|---|---|
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 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Category create(Category category)
category - The instance of the Category which contains the informations to store
public static Category update(Category category)
category - The instance of the Category which contains the data to store
public static void remove(int nCategoryId)
nCategoryId - The category Idpublic static Category findByPrimaryKey(int nKey)
nKey - The category primary key
public static Collection<Category> getCategorysList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||