|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthu.diplomamunka.persistence.Handler
hu.diplomamunka.persistence.AccountHandler
public class AccountHandler
| Field Summary |
|---|
| Fields inherited from class hu.diplomamunka.persistence.Handler |
|---|
session |
| Constructor Summary | |
|---|---|
AccountHandler()
|
|
| Method Summary | |
|---|---|
void |
deleteAccount(Account a)
This method deletes an existing Account from the database account_table table |
Account |
getOneAccount(java.lang.Integer accId)
The method to get an Account by its Id |
Account |
insertAccount(Account a)
This method inserts a new Account into the database account_table table |
Account |
updateAccount(Account a)
This method updates an existing Account |
| Methods inherited from class hu.diplomamunka.persistence.Handler |
|---|
closeSession, getSession, getTransaction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccountHandler()
| Method Detail |
|---|
public Account insertAccount(Account a)
a - the new Account to insert
public Account updateAccount(Account a)
a - Account to update
public void deleteAccount(Account a)
a - Account to deletepublic Account getOneAccount(java.lang.Integer accId)
accId - of the requested Account
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||