public final class AccountHome extends Object
Modifier and Type | Method and Description |
---|---|
static Account |
create(Account account)
Create an instance of the Account class
|
static List<Account> |
findAll()
Load the data of all the Account objects and returns them in form of a collection
|
static Account |
findByPrimaryKey(int nKey)
Returns an instance of a Account whose identifier is specified in parameter
|
static void |
remove(int nAccountId)
Remove the Account whose identifier is specified in parameter
|
static Account |
update(Account account)
Update of the Account data specified in parameter
|
public static Account create(Account account)
account
- The instance of the Account which contains the informations to storepublic static Account update(Account account)
account
- The instance of the Account which contains the data to storepublic static void remove(int nAccountId)
nAccountId
- The Account Idpublic static Account findByPrimaryKey(int nKey)
nKey
- The Account primary keyCopyright © 2018 City of Paris. All rights reserved.