|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICategoryDAO
ICategoryDAO Interface
Method Summary | |
---|---|
void |
delete(int nIdCategory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
int |
insert(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Category |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.Collection<Category> |
selectCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the category objects and returns them as a collection |
Category |
selectFirstCategory(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the first category |
void |
store(Category category,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
Method Detail |
---|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin
int insert(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
category
- instance of the Category object to insertplugin
- the Plugin
void store(Category category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
category
- the reference of the Categoryplugin
- the Pluginvoid delete(int nIdCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdCategory
- int identifier of the Category to deleteplugin
- the PluginCategory load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the categoryplugin
- the Plugin
java.util.Collection<Category> selectCategoriesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the Plugin
Category selectFirstCategory(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |