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

java.lang.Object
  extended by fr.paris.lutece.plugins.myapps.modules.database.business.MyAppsDatabaseCategoryHome

public final class MyAppsDatabaseCategoryHome
extends java.lang.Object

MyAppsDatabaseCategoryHome


Method Summary
static void create(MyAppsDatabaseCategory myAppsCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of myAppsCategory
static MyAppsDatabaseCategory findByPrimaryKey(java.lang.String strCodeCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a myAppsCategory whose identifier is specified in parameter
static java.util.Collection<MyAppsDatabaseCategory> getMyAppsCategoryList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads the data of all the myAppsCategory and returns them in form of a collection
static fr.paris.lutece.util.ReferenceList getMyAppsCategoryRefList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
           
static void remove(java.lang.String strCodeCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the category whose identifier is specified in parameter
static void update(MyAppsDatabaseCategory myAppsCategory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of the myAppsCategory 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

create

public static void create(MyAppsDatabaseCategory myAppsCategory,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of myAppsCategory

Parameters:
myAppsCategory - The instance of the category which contains the informations to store
plugin - the Plugin

update

public static void update(MyAppsDatabaseCategory myAppsCategory,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the myAppsCategory which is specified in parameter

Parameters:
myAppsCategoryr - The instance of the myAppsCategory which contains the data to store
plugin - the Plugin

remove

public static void remove(java.lang.String strCodeCategory,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the category whose identifier is specified in parameter

Parameters:
strCodeCategory - the category code
plugin - the Plugin

findByPrimaryKey

public static MyAppsDatabaseCategory findByPrimaryKey(java.lang.String strCodeCategory,
                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a myAppsCategory whose identifier is specified in parameter

Parameters:
nMyAppsUserId - The myAppsUser primary key
plugin - the Plugin
Returns:
an instance of MyAppsUser

getMyAppsCategoryList

public static java.util.Collection<MyAppsDatabaseCategory> getMyAppsCategoryList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the myAppsCategory and returns them in form of a collection

Parameters:
plugin - the Plugin
Returns:
the collection which contains the data of all the myAppsCategory

getMyAppsCategoryRefList

public static fr.paris.lutece.util.ReferenceList getMyAppsCategoryRefList(fr.paris.lutece.portal.service.plugin.Plugin plugin)


Copyright © 2012 Mairie de Paris. All Rights Reserved.