fr.paris.lutece.plugins.myapps.modules.database.business
Interface IMyAppsDatabaseCategoryDAO

All Known Implementing Classes:
MyAppsDatabaseCategoryDAO

public interface IMyAppsDatabaseCategoryDAO


Method Summary
 void delete(java.lang.String strCodeCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          delete category by code
 void insert(MyAppsDatabaseCategory category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          insert category
 MyAppsDatabaseCategory load(java.lang.String strCodeCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          return category object
 java.util.List<MyAppsDatabaseCategory> selectCategoryList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          a List of category
 void store(MyAppsDatabaseCategory category, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update a category
 

Method Detail

insert

void insert(MyAppsDatabaseCategory category,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert category

Parameters:
category - object
plugin - a plugin

load

MyAppsDatabaseCategory load(java.lang.String strCodeCategory,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
return category object

Parameters:
strCodeCategory - the strCodeCategory
plugin - teh plugin
Returns:
a category object

delete

void delete(java.lang.String strCodeCategory,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete category by code

Parameters:
strCodeCategory - the code category
plugin - the plugin

store

void store(MyAppsDatabaseCategory category,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
update a category

Parameters:
category - a category object
plugin - a plugin

selectCategoryList

java.util.List<MyAppsDatabaseCategory> selectCategoryList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
a List of category

Parameters:
plugin - the plugin
Returns:
a List of category


Copyright © 2012 Mairie de Paris. All Rights Reserved.