com.ibm.commerce.payment.objects
Class AccountAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.payment.objects.AccountAccessBean
All Implemented Interfaces:
AccountAccessBeanData

public class AccountAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AccountAccessBeanData

Each row of this table represents a business account between a Buyer organization and a Seller organization. A business account can be used to organize various trading agreements, and to specify special trading terms and conditions. This access bean corresponds to the database table 'ACCOUNT'.

See Also:
Serialized Form

Constructor Summary
AccountAccessBean()
Zero argument constructor used to initialize the access bean.
AccountAccessBean(javax.ejb.EJBObject o)
constructor
AccountAccessBean(java.lang.String newName, java.lang.Long newMemberId)
Creates an instance of an Account with the specified newName for the specified member.
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findActiveAccountsByBuyerOrgAndStore(java.lang.Long buyerOrgEntityId, java.lang.Integer storeId)
Retrieves all the active Accounts that the Store has with the specified Buyer organization.
AccountAccessBean findByNameAndMemberId(java.lang.String name, java.lang.Long memberId)
Retrieves the Account with the specified name and member ID.
java.util.Enumeration findByStoreIdSortByColumn(java.lang.Integer storeId, java.lang.String sortByColumn)
Retrieves all the Accounts for the Store sorted by the specified column.
java.util.Enumeration findMarkForDeleteAccountsByStoreId(java.lang.Integer storeId)
Retrieves all the Accounts for the specified Store that have been marked for delete.
boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
java.lang.String getAccountId()
This method provides access to the ACCOUNT.ACCOUNT_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getAccountIdInEJBType()
This method provides access to the ACCOUNT.ACCOUNT_ID column of DB2 type BIGINT NOT NULL.
ParticipantAccessBean[] getAccountLevelParticipants()
The method returns an array of ParticipantAccessBean representing all participants that the current account has.
java.lang.String getComments()
This method accesses a non-CMP field
java.lang.String getCurrency()
This method provides access to the ACCOUNT.CURRENCY column of DB2 type CHAR(3).
java.lang.String getDefaultContract()
This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.Integer getDefaultContractInEJBType()
This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL DEFAULT 0.
TradingDescriptionAccessBean getDescription(java.lang.Integer language_id)
Retrieves the TradingDescriptionAccessBean representing the account description with the specified language ID.
java.lang.String getMarkForDelete()
This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.Integer getMarkForDeleteInEJBType()
This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.String getMemberId()
This method provides access to the ACCOUNT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getMemberIdInEJBType()
This method provides access to the ACCOUNT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getName()
This method provides access to the ACCOUNT.NAME column of DB2 type VARCHAR(200) NOT NULL.
java.lang.Long getOwner()
This method accesses a non-CMP field
java.lang.String getState()
This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.Integer getStateInEJBType()
This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.String getStoreId()
This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER.
java.lang.Integer getStoreIdInEJBType()
This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER.
java.lang.String getTimeActivated()
This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP.
java.sql.Timestamp getTimeActivatedInEJBType()
This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP.
java.lang.String getTimeApproved()
This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP.
java.sql.Timestamp getTimeApprovedInEJBType()
This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP.
java.lang.String getTimeCreated()
This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP.
java.sql.Timestamp getTimeCreatedInEJBType()
This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP.
java.lang.String getTimeUpdated()
This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP.
java.sql.Timestamp getTimeUpdatedInEJBType()
This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAccountId(java.lang.Long newValue)
This method accesses a non-CMP field
void setAccountId(java.lang.String newValue)
This method accesses a non-CMP field
void setComments(java.lang.String newValue)
This method accesses a non-CMP field
void setCurrency(java.lang.String newValue)
This method accesses a non-CMP field
void setDefaultContract(java.lang.Integer newValue)
This method accesses a non-CMP field
void setDefaultContract(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_accountId(java.lang.String newValue)
Set the primary key for this object
void setMarkForDelete(java.lang.Integer newValue)
This method accesses a non-CMP field
void setMarkForDelete(java.lang.String newValue)
This method accesses a non-CMP field
void setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field
void setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
void setName(java.lang.String newValue)
This method accesses a non-CMP field
void setState(java.lang.Integer newValue)
This method accesses a non-CMP field
void setState(java.lang.String newValue)
This method accesses a non-CMP field
void setStoreId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setStoreId(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeActivated(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeActivated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setTimeApproved(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeApproved(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setTimeCreated(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setTimeUpdated(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeUpdated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

AccountAccessBean

public AccountAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.payment.objects.Account com.ibm.commerce.payment.objimpl.AccountHomeBase.findByPrimaryKey(com.ibm.commerce.payment.objects.AccountKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_accountId( java.lang.Long )

AccountAccessBean

public AccountAccessBean(javax.ejb.EJBObject o)
                  throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

AccountAccessBean

public AccountAccessBean(java.lang.String newName,
                         java.lang.Long newMemberId)
                  throws javax.ejb.CreateException,
                         javax.ejb.FinderException,
                         javax.naming.NamingException,
                         java.rmi.RemoteException

Creates an instance of an Account with the specified newName for the specified member.

Parameters:
newName - The newName of the Account. This newName must be unique for the given member.
newMemberId - The ID of the member who owns the Account.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

findByNameAndMemberId

public AccountAccessBean findByNameAndMemberId(java.lang.String name,
                                               java.lang.Long memberId)
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

Retrieves the Account with the specified name and member ID.

The SQL query used to fetch the requested row for this Account is:

SELECT * FROM ACCOUNT T1 WHERE T1.NAME=? AND T1.MEMBER_ID=?

Parameters:
name - The name of the Account.
memberId - The ID of the member who owns the Account.
Returns:
The AccountAccessBean representing the retrieved Account.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findActiveAccountsByBuyerOrgAndStore

public java.util.Enumeration findActiveAccountsByBuyerOrgAndStore(java.lang.Long buyerOrgEntityId,
                                                                  java.lang.Integer storeId)
                                                           throws java.rmi.RemoteException,
                                                                  javax.ejb.FinderException,
                                                                  javax.naming.NamingException

Retrieves all the active Accounts that the Store has with the specified Buyer organization.

The SQL query used to fetch all the required rows is:

SELECT * FROM ACCOUNT T1 WHERE T1.ACCOUNT_ID IN (SELECT PARTICIPNT.TRADING_ID FROM PARTICIPNT WHERE PARTICIPNT.TERMCOND_ID IS NULL AND PARTICIPNT.PARTROLE_ID=5 AND PARTICIPNT.MEMBER_ID=?) AND T1.STATE=3 AND T1.MARKFORDELETE=0 AND T1.STORE_ID=?

Parameters:
buyerOrgEntityId - The ID of the Buyer organization.
storeId - The ID of the Store.
Returns:
An Enumeration of all the AccountAccessBeans representing rows of the Account table that satisfy the above query.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreIdSortByColumn

public java.util.Enumeration findByStoreIdSortByColumn(java.lang.Integer storeId,
                                                       java.lang.String sortByColumn)
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

Retrieves all the Accounts for the Store sorted by the specified column.

The SQL query used to fetch the required rows is:

SELECT * FROM ACCOUNT T1 WHERE T1.STORE_ID=? ORDER BY ?

Parameters:
storeId - The ID of the Store.
sortByColumn - The name of the table column.
Returns:
An Enumeration of AccountAccessBeans representing rows of the Account table that satisfy the above query.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findMarkForDeleteAccountsByStoreId

public java.util.Enumeration findMarkForDeleteAccountsByStoreId(java.lang.Integer storeId)
                                                         throws java.rmi.RemoteException,
                                                                javax.ejb.FinderException,
                                                                javax.naming.NamingException

Retrieves all the Accounts for the specified Store that have been marked for delete.

The SQL query used to fetch all the required rows is:

SELECT * FROM ACCOUNT T1 WHERE T1.STORE_ID=? AND T1.MARKFORDELETE=1

Parameters:
storeId - ID of the Store.
Returns:
An Enumeration of the AccountAccessBeans representing rows of the Account table that satisfy the above query.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_accountId

public void setInitKey_accountId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTimeApproved

public java.lang.String getTimeApproved()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getTimeApproved in interface AccountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTimeApprovedInEJBType

public java.sql.Timestamp getTimeApprovedInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTimeApproved

public void setTimeApproved(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTimeApproved in interface AccountAccessBeanData

setTimeApproved

public void setTimeApproved(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getTimeActivated

public java.lang.String getTimeActivated()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP.

The following is a description of this column:

Time Account is activated.

Specified by:
getTimeActivated in interface AccountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTimeActivatedInEJBType

public java.sql.Timestamp getTimeActivatedInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP.

The following is a description of this column:

Time Account is activated.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTimeActivated

public void setTimeActivated(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTimeActivated in interface AccountAccessBeanData

setTimeActivated

public void setTimeActivated(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getState

public java.lang.String getState()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

State of the Account. Only the following states are used:&l

Specified by:
getState in interface AccountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStateInEJBType

public java.lang.Integer getStateInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

State of the Account. Only the following states are used:&l

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setState

public void setState(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setState in interface AccountAccessBeanData

setState

public void setState(java.lang.Integer newValue)
This method accesses a non-CMP field

getDefaultContract

public java.lang.String getDefaultContract()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

Indicates if purchases using Store default contract is allowed. Valid values are as follows:&l

Specified by:
getDefaultContract in interface AccountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDefaultContractInEJBType

public java.lang.Integer getDefaultContractInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

Indicates if purchases using Store default contract is allowed. Valid values are as follows:&l

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDefaultContract

public void setDefaultContract(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDefaultContract in interface AccountAccessBeanData

setDefaultContract

public void setDefaultContract(java.lang.Integer newValue)
This method accesses a non-CMP field

getAccountId

public java.lang.String getAccountId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the ACCOUNT.ACCOUNT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

This column contains the primary key: Account ID. Foreign key to the TRADING table.

Specified by:
getAccountId in interface AccountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getAccountIdInEJBType

public java.lang.Long getAccountIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the ACCOUNT.ACCOUNT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

This column contains the primary key: Account ID. Foreign key to the TRADING table.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAccountId

public void setAccountId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setAccountId in interface AccountAccessBeanData

setAccountId

public void setAccountId(java.lang.Long newValue)
This method accesses a non-CMP field

getTimeUpdated

public java.lang.String getTimeUpdated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP.

The following is a description of this column:

Time Account is updated.

Specified by:
getTimeUpdated in interface AccountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTimeUpdatedInEJBType

public java.sql.Timestamp getTimeUpdatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP.

The following is a description of this column:

Time Account is updated.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTimeUpdated

public void setTimeUpdated(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTimeUpdated in interface AccountAccessBeanData

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getMarkForDelete

public java.lang.String getMarkForDelete()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

Indicates if a business account is marked for deletion. Valid values are as follows:&l

Specified by:
getMarkForDelete in interface AccountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMarkForDeleteInEJBType

public java.lang.Integer getMarkForDeleteInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

Indicates if a business account is marked for deletion. Valid values are as follows:&l

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMarkForDelete

public void setMarkForDelete(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMarkForDelete in interface AccountAccessBeanData

setMarkForDelete

public void setMarkForDelete(java.lang.Integer newValue)
This method accesses a non-CMP field

getCurrency

public java.lang.String getCurrency()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the ACCOUNT.CURRENCY column of DB2 type CHAR(3).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getCurrency in interface AccountAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCurrency

public void setCurrency(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setCurrency in interface AccountAccessBeanData

getStoreId

public java.lang.String getStoreId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER.

The following is a description of this column:

Store in which Account is first created.

Specified by:
getStoreId in interface AccountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStoreIdInEJBType

public java.lang.Integer getStoreIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER.

The following is a description of this column:

Store in which Account is first created.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStoreId

public void setStoreId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStoreId in interface AccountAccessBeanData

setStoreId

public void setStoreId(java.lang.Integer newValue)
This method accesses a non-CMP field

getComments

public java.lang.String getComments()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getComments in interface AccountAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setComments

public void setComments(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setComments in interface AccountAccessBeanData

getMemberId

public java.lang.String getMemberId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the ACCOUNT.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the Account. Foreign key to the MEMBER table.

Specified by:
getMemberId in interface AccountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberIdInEJBType

public java.lang.Long getMemberIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the ACCOUNT.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the Account. Foreign key to the MEMBER table.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberId

public void setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMemberId in interface AccountAccessBeanData

setMemberId

public void setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field

getTimeCreated

public java.lang.String getTimeCreated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP.

The following is a description of this column:

Time Account is created.

Specified by:
getTimeCreated in interface AccountAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTimeCreatedInEJBType

public java.sql.Timestamp getTimeCreatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP.

The following is a description of this column:

Time Account is created.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTimeCreated

public void setTimeCreated(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTimeCreated in interface AccountAccessBeanData

setTimeCreated

public void setTimeCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

This method provides access to the ACCOUNT.NAME column of DB2 type VARCHAR(200) NOT NULL.

The following is a description of this column:

Account name for the business account.

Specified by:
getName in interface AccountAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

public void setName(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setName in interface AccountAccessBeanData

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

getAccountLevelParticipants

public ParticipantAccessBean[] getAccountLevelParticipants()
                                                    throws javax.naming.NamingException,
                                                           javax.ejb.FinderException,
                                                           javax.ejb.CreateException,
                                                           java.rmi.RemoteException

The method returns an array of ParticipantAccessBean representing all participants that the current account has.

Returns:
an array of ParticipantAccessBean objects representing rows that match the search criteria.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getDescription

public TradingDescriptionAccessBean getDescription(java.lang.Integer language_id)
                                            throws javax.naming.NamingException,
                                                   javax.ejb.FinderException,
                                                   javax.ejb.CreateException,
                                                   java.rmi.RemoteException

Retrieves the TradingDescriptionAccessBean representing the account description with the specified language ID.

Parameters:
language_id - The ID of the language.
Returns:
The TradingDescriptionAccessBean representing the row that matches the search criteria.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

Feedback