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

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface LocalAccount
extends javax.ejb.EJBLocalObject


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

Method Detail

getAccountID

public java.lang.Integer getAccountID()

getLoginCount

public int getLoginCount()

getLogoutCount

public int getLogoutCount()

getLastLogin

public java.sql.Timestamp getLastLogin()

getCreationDate

public java.sql.Timestamp getCreationDate()

getBalance

public java.math.BigDecimal getBalance()

setBalance

public void setBalance(java.math.BigDecimal balance)

getOpenBalance

public java.math.BigDecimal getOpenBalance()

getProfile

public LocalAccountProfile getProfile()

getHoldings

public java.util.Collection getHoldings()

getOrders

public java.util.Collection getOrders()

login

public void login(java.lang.String password)

logout

public void logout()

getClosedOrders

public java.util.Collection getClosedOrders()
                                     throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

getProfileForUpdate

public LocalAccountProfile getProfileForUpdate()
                                        throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

updateAccountProfile

public AccountProfileDataBean updateAccountProfile(AccountProfileDataBean profileData)
                                            throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

getDataBean

public AccountDataBean getDataBean()

getProfileDataBean

public AccountProfileDataBean getProfileDataBean()

getHoldingDataBeans

public java.util.Collection getHoldingDataBeans()

getOrderDataBeans

public java.util.Collection getOrderDataBeans()

toString

public java.lang.String toString()


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