fr.paris.lutece.plugins.wrapper.business
Interface IWrapperDAO

All Known Implementing Classes:
WrapperDAO

public interface IWrapperDAO

wrapperInterface

Author:
lenaini

Method Summary
 void delete(Wrapper wrapper, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(Wrapper wrapper, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Wrapper load(int nWrapperId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of Wrapper from the table
 java.util.Collection<Wrapper> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of wrappers
 Wrapper selectEnabledWrapper(int nWrapperId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of enabled Wrapper from the table
 java.util.Collection<Wrapper> selectEnabledWrapperList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of wrappers with valid status
 void store(Wrapper wrapper, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

delete

void delete(Wrapper wrapper,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
wrapper - The Wrapper object
plugin - The plugin

insert

void insert(Wrapper wrapper,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
wrapper - The wrapper object
plugin - The plugin

load

Wrapper load(int nWrapperId,
             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of Wrapper from the table

Parameters:
nWrapperId - The identifier of Wrapper
plugin - The plugin
Returns:
the instance of the Wrapper

selectEnabledWrapper

Wrapper selectEnabledWrapper(int nWrapperId,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of enabled Wrapper from the table

Parameters:
nWrapperId - The identifier of Wrapper
plugin - The plugin
Returns:
the instance of the Wrapper

selectAll

java.util.Collection<Wrapper> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of wrappers

Parameters:
plugin - The plugin
Returns:
The Collection of the Wrappers

selectEnabledWrapperList

java.util.Collection<Wrapper> selectEnabledWrapperList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of wrappers with valid status

Parameters:
plugin - The plugin
Returns:
The Collection of the Wrappers

store

void store(Wrapper wrapper,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
wrapper - The reference of wrapper
plugin - The plugin


Copyright © 2011 Mairie de Paris. All Rights Reserved.