fr.paris.lutece.plugins.workflow.business
Class IconDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.business.IconDAO
All Implemented Interfaces:
IIconDAO

public class IconDAO
extends java.lang.Object
implements IIconDAO

class IconDAO


Constructor Summary
IconDAO()
           
 
Method Summary
 void delete(int nIdIcon, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the Icon Object
 void insert(fr.paris.lutece.portal.business.workflow.Icon icon, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 fr.paris.lutece.portal.business.workflow.Icon load(int nIdIcon, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the icon Object
 java.util.List<fr.paris.lutece.portal.business.workflow.Icon> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          select all Icons
 void store(fr.paris.lutece.portal.business.workflow.Icon icon, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update record in the table.
 void storeMetadata(fr.paris.lutece.portal.business.workflow.Icon icon, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update icon metadata in the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconDAO

public IconDAO()
Method Detail

insert

public void insert(fr.paris.lutece.portal.business.workflow.Icon icon,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IIconDAO
Insert a new record in the table.

Specified by:
insert in interface IIconDAO
Parameters:
icon - instance of the Icon object to insert
plugin - the plugin

store

public void store(fr.paris.lutece.portal.business.workflow.Icon icon,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IIconDAO
update record in the table.

Specified by:
store in interface IIconDAO
Parameters:
icon - instance of the Icon object to update
plugin - the plugin

storeMetadata

public void storeMetadata(fr.paris.lutece.portal.business.workflow.Icon icon,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IIconDAO
update icon metadata in the table.

Specified by:
storeMetadata in interface IIconDAO
Parameters:
icon - instance of the Icon object to update
plugin - the plugin

load

public fr.paris.lutece.portal.business.workflow.Icon load(int nIdIcon,
                                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IIconDAO
Load the icon Object

Specified by:
load in interface IIconDAO
Parameters:
nIdIcon - the icon id
plugin - the plugin
Returns:
the icon Object

delete

public void delete(int nIdIcon,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IIconDAO
Delete the Icon Object

Specified by:
delete in interface IIconDAO
Parameters:
nIdIcon - theicon id
plugin - the plugin

selectAll

public java.util.List<fr.paris.lutece.portal.business.workflow.Icon> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IIconDAO
select all Icons

Specified by:
selectAll in interface IIconDAO
Parameters:
plugin - the plugin
Returns:
a list of Icon


Copyright © 2011 Mairie de Paris. All Rights Reserved.