|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.business.CategoryDAO
public class CategoryDAO
class CategoryDAO
| Constructor Summary | |
|---|---|
CategoryDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
boolean |
isAssociateToForm(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
true if there is a form associate to the category |
Category |
load(int idKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the category from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.List<Category> |
select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all category returns them in a list |
void |
store(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the plugin
public void insert(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ICategoryDAOcategory - instance of the Category object to insertplugin - the plugin
public void store(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ICategoryDAOcategory - instance of the Category object to updateplugin - the plugin
public Category load(int idKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ICategoryDAOidKey - The identifier of the categoryplugin - the plugin
public java.util.List<Category> select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
select in interface ICategoryDAOplugin - the plugin
public void delete(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ICategoryDAOnIdCategory - The identifier of the categoryplugin - the plugin
public boolean isAssociateToForm(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
isAssociateToForm in interface ICategoryDAOnIdCategory - the key of the categoryplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||