|
||||||||||
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.AccountHome
public final class AccountHome
This class provides instances management methods (create, find, ...) for Account objects
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Account create(Account account)
account
- The instance of the Account which contains the informations to store
public static Account update(Account account)
account
- The instance of the Account which contains the data to store
public static void remove(int nAccountId)
nAccountId
- The Account Idpublic static Account findByPrimaryKey(int nKey)
nKey
- The Account primary key
public static List<Account> findAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |