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
See Also:
Serialized Form

Constructor Summary
AccountAccessBean()
          constructor
AccountAccessBean(javax.ejb.EJBObject o)
          constructor
AccountAccessBean(java.lang.String arg0, java.lang.Long arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findActiveAccountsByBuyerOrgAndStore(java.lang.Long arg0, java.lang.Integer arg1)
          Retrieves all the active Accounts that the Store has with the specified Buyer organization.
  AccountAccessBean findByNameAndMemberId(java.lang.String arg0, java.lang.Long arg1)
          Retrieves the Account with the specified name and member ID.
 java.util.Enumeration findByStoreIdSortByColumn(java.lang.Integer arg0, java.lang.String arg1)
          Retrieves all the Accounts for the Store sorted by the specified column.
 java.util.Enumeration findMarkForDeleteAccountsByStoreId(java.lang.Integer arg0)
          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 provides access to the ACCOUNT.ACCOUNT_ID column of DB2 type BIGINT NOT NULL.
 void setAccountId(java.lang.String newValue)
          This method provides access to the ACCOUNT.ACCOUNT_ID column of DB2 type BIGINT NOT NULL.
 void setComments(java.lang.String newValue)
          This method accesses a non-CMP field
 void setCurrency(java.lang.String newValue)
          This method provides access to the ACCOUNT.CURRENCY column of DB2 type CHAR(3).
 void setDefaultContract(java.lang.Integer newValue)
          This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setDefaultContract(java.lang.String newValue)
          This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setInitKey_accountId(java.lang.String newValue)
          Set the primary key for this object
 void setMarkForDelete(java.lang.Integer newValue)
          This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setMarkForDelete(java.lang.String newValue)
          This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setMemberId(java.lang.Long newValue)
          This method provides access to the ACCOUNT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String newValue)
          This method provides access to the ACCOUNT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setName(java.lang.String newValue)
          This method provides access to the ACCOUNT.NAME column of DB2 type VARCHAR(200) NOT NULL.
 void setState(java.lang.Integer newValue)
          This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setState(java.lang.String newValue)
          This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setStoreId(java.lang.Integer newValue)
          This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER.
 void setStoreId(java.lang.String newValue)
          This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER.
 void setTimeActivated(java.lang.String newValue)
          This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP.
 void setTimeActivated(java.sql.Timestamp newValue)
          This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP.
 void setTimeApproved(java.lang.String newValue)
          This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP.
 void setTimeApproved(java.sql.Timestamp newValue)
          This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP.
 void setTimeCreated(java.lang.String newValue)
          This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP.
 void setTimeCreated(java.sql.Timestamp newValue)
          This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP.
 void setTimeUpdated(java.lang.String newValue)
          This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP.
 void setTimeUpdated(java.sql.Timestamp newValue)
          This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountAccessBean

public AccountAccessBean()
constructor

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 arg0,
                         java.lang.Long arg1)
                  throws javax.ejb.CreateException,
                         javax.ejb.FinderException,
                         javax.naming.NamingException,
                         java.rmi.RemoteException
constructor
Parameters:
arg0 - java.lang.String
arg1 - java.lang.Long
Throws:
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException
Method Detail

findByNameAndMemberId

public AccountAccessBean findByNameAndMemberId(java.lang.String arg0,
                                               java.lang.Long arg1)
                                        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=?

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 arg0,
                                                                  java.lang.Integer arg1)
                                                           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=?

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 arg0,
                                                       java.lang.String arg1)
                                                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 ?

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 arg0)
                                                         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

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 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:
setTimeApproved in interface AccountAccessBeanData
Parameters:
newValue - String
Returns:
void

setTimeApproved

public void setTimeApproved(java.sql.Timestamp newValue)

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.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

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 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:
setTimeActivated in interface AccountAccessBeanData
Parameters:
newValue - String
Returns:
void

setTimeActivated

public void setTimeActivated(java.sql.Timestamp newValue)

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.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

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 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:
setState in interface AccountAccessBeanData
Parameters:
newValue - String
Returns:
void

setState

public void setState(java.lang.Integer newValue)

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

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

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: 0 = Not allowe

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: 0 = Not allowe

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 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: 0 = Not allowe

Specified by:
setDefaultContract in interface AccountAccessBeanData
Parameters:
newValue - String
Returns:
void

setDefaultContract

public void setDefaultContract(java.lang.Integer newValue)

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: 0 = Not allowe

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

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 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:
setAccountId in interface AccountAccessBeanData
Parameters:
newValue - String
Returns:
void

setAccountId

public void setAccountId(java.lang.Long newValue)

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.

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

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 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:
setTimeUpdated in interface AccountAccessBeanData
Parameters:
newValue - String
Returns:
void

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp newValue)

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.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

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: 0 = N

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: 0 = N

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 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: 0 = N

Specified by:
setMarkForDelete in interface AccountAccessBeanData
Parameters:
newValue - String
Returns:
void

setMarkForDelete

public void setMarkForDelete(java.lang.Integer newValue)

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: 0 = N

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

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 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:
setCurrency in interface AccountAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setStoreId in interface AccountAccessBeanData
Parameters:
newValue - String
Returns:
void

setStoreId

public void setStoreId(java.lang.Integer newValue)

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.

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

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
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 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:
setMemberId in interface AccountAccessBeanData
Parameters:
newValue - String
Returns:
void

setMemberId

public void setMemberId(java.lang.Long newValue)

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.

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

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 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:
setTimeCreated in interface AccountAccessBeanData
Parameters:
newValue - String
Returns:
void

setTimeCreated

public void setTimeCreated(java.sql.Timestamp newValue)

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.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

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 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:
setName in interface AccountAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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
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