fr.paris.lutece.plugins.phraseanet.business.account
Interface IAccountDAO

All Known Implementing Classes:
AccountDAO

public interface IAccountDAO

IAccountDAO Interface


Method Summary
 void delete(int nIdAccount, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(Account account, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Account load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 List<Account> selectAccountsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the Account objects and returns them as a List
 void store(Account account, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

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

Parameters:
account - instance of the Account object to insert
plugin - the Plugin

store

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

Parameters:
account - the reference of the Account
plugin - the Plugin

delete

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

Parameters:
nIdAccount - int identifier of the Account to delete
plugin - the Plugin

load

Account load(int nKey,
             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
nKey - The identifier of the Account
plugin - the Plugin
Returns:
The instance of the Account

selectAccountsList

List<Account> selectAccountsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the Account objects and returns them as a List

Parameters:
plugin - the Plugin
Returns:
The List which contains the data of all the Account objects


Copyright © 2013 Mairie de Paris. All Rights Reserved.