org.apache.geronimo.samples.daytrader.ejb
Interface LocalAccount

All Superinterfaces:
EJBLocalObject

public interface LocalAccount
extends EJBLocalObject


Method Summary
 Integer getAccountID()
           
 BigDecimal getBalance()
           
 Collection getClosedOrders()
           
 Timestamp getCreationDate()
           
 AccountDataBean getDataBean()
           
 Collection getHoldingDataBeans()
           
 Collection getHoldings()
           
 Timestamp getLastLogin()
           
 int getLoginCount()
           
 int getLogoutCount()
           
 BigDecimal getOpenBalance()
           
 Collection getOrderDataBeans()
           
 Collection getOrders()
           
 LocalAccountProfile getProfile()
           
 AccountProfileDataBean getProfileDataBean()
           
 LocalAccountProfile getProfileForUpdate()
           
 void login(String password)
           
 void logout()
           
 void setBalance(BigDecimal balance)
           
 String toString()
           
 AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData)
           
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getAccountID

Integer getAccountID()

getLoginCount

int getLoginCount()

getLogoutCount

int getLogoutCount()

getLastLogin

Timestamp getLastLogin()

getCreationDate

Timestamp getCreationDate()

getBalance

BigDecimal getBalance()

setBalance

void setBalance(BigDecimal balance)

getOpenBalance

BigDecimal getOpenBalance()

getProfile

LocalAccountProfile getProfile()

getHoldings

Collection getHoldings()

getOrders

Collection getOrders()

login

void login(String password)

logout

void logout()

getClosedOrders

Collection getClosedOrders()
                           throws FinderException
Throws:
FinderException

getProfileForUpdate

LocalAccountProfile getProfileForUpdate()
                                        throws FinderException
Throws:
FinderException

updateAccountProfile

AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData)
                                            throws FinderException
Throws:
FinderException

getDataBean

AccountDataBean getDataBean()

getProfileDataBean

AccountProfileDataBean getProfileDataBean()

getHoldingDataBeans

Collection getHoldingDataBeans()

getOrderDataBeans

Collection getOrderDataBeans()

toString

String toString()
Overrides:
toString in class Object


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.