|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.phraseanet.business.account.AccountDAO
public final class AccountDAO
This class provides Data Access methods for Account objects
| Constructor Summary | |
|---|---|
AccountDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nAccountId,
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 nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Account from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.List<Account> |
selectAccountsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the Accounts and returns them as a List |
void |
store(Account account,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the account record in the table |
void |
updateToken(Account account,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the token record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccountDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Account account,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IAccountDAOaccount - instance of the Account object to insertplugin - The plugin
public Account load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IAccountDAOnId - The identifier of the Accountplugin - The plugin
public void delete(int nAccountId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IAccountDAOnAccountId - The identifier of the Accountplugin - The plugin
public void store(Account account,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IAccountDAOaccount - The reference of the Accountplugin - The plugin
public void updateToken(Account account,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
account - The reference of the Accountplugin - The pluginpublic java.util.List<Account> selectAccountsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAccountsList in interface IAccountDAOplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||