fr.paris.lutece.plugins.myapps.modules.database.business
Class MyAppsDatabaseCategoryDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.myapps.modules.database.business.MyAppsDatabaseCategoryDAO
All Implemented Interfaces:
IMyAppsDatabaseCategoryDAO

public final class MyAppsDatabaseCategoryDAO
extends java.lang.Object
implements IMyAppsDatabaseCategoryDAO

MyAppsDatabaseCategoryDAO


Constructor Summary
MyAppsDatabaseCategoryDAO()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyAppsDatabaseCategoryDAO

public MyAppsDatabaseCategoryDAO()
Method Detail

insert

public void insert(MyAppsDatabaseCategory category,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IMyAppsDatabaseCategoryDAO
insert category

Specified by:
insert in interface IMyAppsDatabaseCategoryDAO
Parameters:
category - object
plugin - a plugin

load

public MyAppsDatabaseCategory load(java.lang.String strCodeCategory,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IMyAppsDatabaseCategoryDAO
return category object

Specified by:
load in interface IMyAppsDatabaseCategoryDAO
Parameters:
strCodeCategory - the strCodeCategory
plugin - teh plugin
Returns:
a category object

delete

public void delete(java.lang.String strCodeCategory,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IMyAppsDatabaseCategoryDAO
delete category by code

Specified by:
delete in interface IMyAppsDatabaseCategoryDAO
Parameters:
strCodeCategory - the code category
plugin - the plugin

store

public void store(MyAppsDatabaseCategory category,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IMyAppsDatabaseCategoryDAO
update a category

Specified by:
store in interface IMyAppsDatabaseCategoryDAO
Parameters:
category - a category object
plugin - a plugin

selectCategoryList

public java.util.List<MyAppsDatabaseCategory> selectCategoryList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IMyAppsDatabaseCategoryDAO
a List of category

Specified by:
selectCategoryList in interface IMyAppsDatabaseCategoryDAO
Parameters:
plugin - the plugin
Returns:
a List of category


Copyright © 2012 Mairie de Paris. All Rights Reserved.