org.apache.geronimo.samples.daytrader.ejb
Interface LocalAccount
- All Superinterfaces:
- javax.ejb.EJBLocalObject
- public interface LocalAccount
- extends javax.ejb.EJBLocalObject
Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
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.