|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.payment.objects.AccountAccessBean
This bean provides access to the ACCOUNT table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
AccountAccessBean()
Default constructor. |
|
AccountAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
AccountAccessBean(java.lang.String name,
java.lang.Long memberId)
Creates an instance of an AccountAccessBean with the specified name for the specified member. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findActiveAccountsByBuyerOrgAndStore(java.lang.Long buyerOrgId,
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 columnName)
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 memberId,
java.lang.String relationship)
This method determines if a given member fulfills a given relationship with the bean. |
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. |
java.lang.String |
getComments()
This method provides access to the ACCOUNT.COMMENTS column of DB2 type LONG NULL. |
java.lang.String |
getCurrency()
This method provides access to the ACCOUNT.CURRENCY column of DB2 type CHAR(3) NULL. |
java.lang.String |
getDefaultContract()
This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getDefaultContractInEJBType()
This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getMarkForDelete()
This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getMarkForDeleteInEJBType()
This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
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()
Returns the member reference number of the owner of the resource, in this case, the bean. |
java.lang.String |
getState()
This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStateInEJBType()
This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getStoreId()
This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER NULL. |
java.lang.Integer |
getStoreIdInEJBType()
This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER NULL. |
java.lang.String |
getTimeActivated()
This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeActivatedInEJBType()
This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTimeApproved()
This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeApprovedInEJBType()
This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTimeCreated()
This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeCreatedInEJBType()
This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTimeUpdated()
This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeUpdatedInEJBType()
This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setAccountId(java.lang.Long aAccountId)
This method provides access to the ACCOUNT.ACCOUNT_ID column of DB2 type BIGINT NOT NULL. |
void |
setAccountId(java.lang.String aAccountId)
This method provides access to the ACCOUNT.ACCOUNT_ID column of DB2 type BIGINT NOT NULL. |
void |
setComments(java.lang.String aComments)
This method provides access to the ACCOUNT.COMMENTS column of DB2 type LONG NULL. |
void |
setCurrency(java.lang.String aCurrency)
This method provides access to the ACCOUNT.CURRENCY column of DB2 type CHAR(3) NULL. |
void |
setDefaultContract(java.lang.Integer aDefaultContract)
This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL. |
void |
setDefaultContract(java.lang.String aDefaultContract)
This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL. |
void |
setInitKey_accountId(java.lang.String aInitKey_accountId)
Sets the primary key for this object |
void |
setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setMarkForDelete(java.lang.String aMarkForDelete)
This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setMemberId(java.lang.Long aMemberId)
This method provides access to the ACCOUNT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String aMemberId)
This method provides access to the ACCOUNT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setName(java.lang.String aName)
This method provides access to the ACCOUNT.NAME column of DB2 type VARCHAR(200) NOT NULL. |
void |
setState(java.lang.Integer aState)
This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL. |
void |
setState(java.lang.String aState)
This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL. |
void |
setStoreId(java.lang.Integer aStoreId)
This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER NULL. |
void |
setStoreId(java.lang.String aStoreId)
This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER NULL. |
void |
setTimeActivated(java.lang.String aTimeActivated)
This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeActivated(java.sql.Timestamp aTimeActivated)
This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeApproved(java.lang.String aTimeApproved)
This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL. |
void |
setTimeApproved(java.sql.Timestamp aTimeApproved)
This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL. |
void |
setTimeCreated(java.lang.String aTimeCreated)
This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeUpdated(java.lang.String aTimeUpdated)
This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeUpdated(java.sql.Timestamp aTimeUpdated)
This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AccountAccessBean()
Default constructor. Maps to findByPrimaryKey.
public AccountAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic AccountAccessBean(java.lang.String name, java.lang.Long memberId) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException
Creates an instance of an AccountAccessBean with the specified name for the specified member.
name
- The name of the Account. This name must be unique for the given member.memberId
- The ID of the member who owns the Account.javax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findActiveAccountsByBuyerOrgAndStore(java.lang.Long buyerOrgId, 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=?
buyerOrgId
- The ID of the Buyer organization.storeId
- The ID of the Store.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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=?
name
- The name of the Account.memberId
- The ID of the member who owns the Account.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByStoreIdSortByColumn(java.lang.Integer storeId, java.lang.String columnName) 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 ?
storeId
- The ID of the Store.columnName
- The name of the table column.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
storeId
- ID of the Store.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic boolean fulfills(java.lang.Long memberId, java.lang.String relationship) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
This method determines if a given member fulfills a given relationship with the bean. This method is called by the Access Control framework. As it is, this method will never be called for the Account DataBean.
memberId
- The ID of the member.relationship
- The relationship to be checked.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjava.lang.Exception
- The java.lang.Exception exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getAccountId
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getComments() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ACCOUNT.COMMENTS column of DB2 type LONG NULL.
The following is a description of this column:
This column contains a comment for the business account.
getComments
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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) NULL.
The following is a description of this column:
Reserved for IBM internal use.
getCurrency
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
Indicates if purchases using Store default contract is allowed: 0 = Not allowed; 1 = Allowed.
getDefaultContract
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
Indicates if purchases using Store default contract is allowed: 0 = Not allowed; 1 = Allowed.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
Indicates if a business account is marked for deletion: 0 = No; 1 = Marked for delete.
getMarkForDelete
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
Indicates if a business account is marked for deletion: 0 = No; 1 = Marked for delete.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getMemberId
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getName
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns the member reference number of the owner of the resource, in this case, the bean. This method is called by the Access Control Framework to control access to the bean.
java.lang.Exception
- The java.lang.Exception exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
State of the Account. Only the following states are used:
0 - Initial;
3 - Active;
6 - Closed.
getState
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
State of the Account. Only the following states are used:
0 - Initial;
3 - Active;
6 - Closed.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Store in which Account is first created.
getStoreId
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Store in which Account is first created.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Time Account is activated.
getTimeActivated
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Time Account is activated.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Reserved for IBM internal use.
getTimeApproved
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Reserved for IBM internal use.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Time Account is created.
getTimeCreated
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Time Account is created.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Time Account is updated.
getTimeUpdated
in interface AccountAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Time Account is updated.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setAccountId(java.lang.Long aAccountId)
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.
aAccountId
- java.lang.Longpublic void setAccountId(java.lang.String aAccountId)
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.
setAccountId
in interface AccountAccessBeanData
aAccountId
- java.lang.Stringpublic void setComments(java.lang.String aComments)
This method provides access to the ACCOUNT.COMMENTS column of DB2 type LONG NULL.
The following is a description of this column:
This column contains a comment for the business account.
setComments
in interface AccountAccessBeanData
aComments
- java.lang.Stringpublic void setCurrency(java.lang.String aCurrency)
This method provides access to the ACCOUNT.CURRENCY column of DB2 type CHAR(3) NULL.
The following is a description of this column:
Reserved for IBM internal use.
setCurrency
in interface AccountAccessBeanData
aCurrency
- java.lang.Stringpublic void setDefaultContract(java.lang.Integer aDefaultContract)
This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if purchases using Store default contract is allowed: 0 = Not allowed; 1 = Allowed.
aDefaultContract
- java.lang.Integerpublic void setDefaultContract(java.lang.String aDefaultContract)
This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if purchases using Store default contract is allowed: 0 = Not allowed; 1 = Allowed.
setDefaultContract
in interface AccountAccessBeanData
aDefaultContract
- java.lang.Stringpublic void setInitKey_accountId(java.lang.String aInitKey_accountId)
Sets the primary key for this object
aInitKey_accountId
- java.lang.Stringpublic void setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if a business account is marked for deletion: 0 = No; 1 = Marked for delete.
aMarkForDelete
- java.lang.Integerpublic void setMarkForDelete(java.lang.String aMarkForDelete)
This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if a business account is marked for deletion: 0 = No; 1 = Marked for delete.
setMarkForDelete
in interface AccountAccessBeanData
aMarkForDelete
- java.lang.Stringpublic void setMemberId(java.lang.Long aMemberId)
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.
aMemberId
- java.lang.Longpublic void setMemberId(java.lang.String aMemberId)
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.
setMemberId
in interface AccountAccessBeanData
aMemberId
- java.lang.Stringpublic void setName(java.lang.String aName)
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.
setName
in interface AccountAccessBeanData
aName
- java.lang.Stringpublic void setState(java.lang.Integer aState)
This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
State of the Account. Only the following states are used:
0 - Initial;
3 - Active;
6 - Closed.
aState
- java.lang.Integerpublic void setState(java.lang.String aState)
This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
State of the Account. Only the following states are used:
0 - Initial;
3 - Active;
6 - Closed.
setState
in interface AccountAccessBeanData
aState
- java.lang.Stringpublic void setStoreId(java.lang.Integer aStoreId)
This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
Store in which Account is first created.
aStoreId
- java.lang.Integerpublic void setStoreId(java.lang.String aStoreId)
This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
Store in which Account is first created.
setStoreId
in interface AccountAccessBeanData
aStoreId
- java.lang.Stringpublic void setTimeActivated(java.lang.String aTimeActivated)
This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time Account is activated.
setTimeActivated
in interface AccountAccessBeanData
aTimeActivated
- java.lang.Stringpublic void setTimeActivated(java.sql.Timestamp aTimeActivated)
This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time Account is activated.
aTimeActivated
- java.sql.Timestamppublic void setTimeApproved(java.lang.String aTimeApproved)
This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Reserved for IBM internal use.
setTimeApproved
in interface AccountAccessBeanData
aTimeApproved
- java.lang.Stringpublic void setTimeApproved(java.sql.Timestamp aTimeApproved)
This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Reserved for IBM internal use.
aTimeApproved
- java.sql.Timestamppublic void setTimeCreated(java.lang.String aTimeCreated)
This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time Account is created.
setTimeCreated
in interface AccountAccessBeanData
aTimeCreated
- java.lang.Stringpublic void setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time Account is created.
aTimeCreated
- java.sql.Timestamppublic void setTimeUpdated(java.lang.String aTimeUpdated)
This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time Account is updated.
setTimeUpdated
in interface AccountAccessBeanData
aTimeUpdated
- java.lang.Stringpublic void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time Account is updated.
aTimeUpdated
- java.sql.Timestamp
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |