public class AccountAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements AccountAccessBeanData
Constructor and Description |
---|
AccountAccessBean()
Zero argument constructor used to initialize the access bean.
|
AccountAccessBean(javax.ejb.EJBObject o) |
AccountAccessBean(java.lang.String newName, java.lang.Long newMemberId)
Creates an instance of an Account with the specified newName for the specified member.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
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() |
java.lang.Long | getAccountIdInEJBType() |
ParticipantAccessBean[] | getAccountLevelParticipants()
The method returns an array of ParticipantAccessBean representing all participants that the current account has.
|
java.lang.String | getComments() |
java.lang.String | getCurrency() |
java.lang.String | getDefaultContract() |
java.lang.Integer | getDefaultContractInEJBType() |
TradingDescriptionAccessBean | getDescription(java.lang.Integer language_id)
Retrieves the TradingDescriptionAccessBean representing the account description with the specified language ID.
|
java.lang.String | getMarkForDelete() |
java.lang.Integer | getMarkForDeleteInEJBType() |
java.lang.String | getMemberId() |
java.lang.Long | getMemberIdInEJBType() |
java.lang.String | getMustUsePriceListPreference() |
java.lang.Short | getMustUsePriceListPreferenceInEJBType() |
java.lang.String | getName() |
java.lang.Long | getOwner() |
java.lang.String | getPriceListPreference() |
java.lang.String | getState() |
java.lang.Integer | getStateInEJBType() |
java.lang.String | getStoreId() |
java.lang.Integer | getStoreIdInEJBType() |
java.lang.String | getTimeActivated() |
java.sql.Timestamp | getTimeActivatedInEJBType() |
java.lang.String | getTimeApproved() |
java.sql.Timestamp | getTimeApprovedInEJBType() |
java.lang.String | getTimeCreated() |
java.sql.Timestamp | getTimeCreatedInEJBType() |
java.lang.String | getTimeUpdated() |
java.sql.Timestamp | getTimeUpdatedInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setAccountId(java.lang.Long newValue) |
void | setAccountId(java.lang.String newValue) |
void | setComments(java.lang.String newValue) |
void | setCurrency(java.lang.String newValue) |
void | setDefaultContract(java.lang.Integer newValue) |
void | setDefaultContract(java.lang.String newValue) |
void | setInitKey_accountId(java.lang.String newValue) |
void | setMarkForDelete(java.lang.Integer newValue) |
void | setMarkForDelete(java.lang.String newValue) |
void | setMemberId(java.lang.Long newValue) |
void | setMemberId(java.lang.String newValue) |
void | setMustUsePriceListPreference(java.lang.Short newValue) |
void | setMustUsePriceListPreference(java.lang.String newValue) |
void | setName(java.lang.String newValue) |
void | setPriceListPreference(java.lang.String newValue) |
void | setState(java.lang.Integer newValue) |
void | setState(java.lang.String newValue) |
void | setStoreId(java.lang.Integer newValue) |
void | setStoreId(java.lang.String newValue) |
void | setTimeActivated(java.lang.String newValue) |
void | setTimeActivated(java.sql.Timestamp newValue) |
void | setTimeApproved(java.lang.String newValue) |
void | setTimeApproved(java.sql.Timestamp newValue) |
void | setTimeCreated(java.lang.String newValue) |
void | setTimeCreated(java.sql.Timestamp newValue) |
void | setTimeUpdated(java.lang.String newValue) |
void | setTimeUpdated(java.sql.Timestamp newValue) |
public AccountAccessBean()
public AccountAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
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.
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=?
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=?
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 ?
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
public void setInitKey_accountId(java.lang.String newValue)
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getTimeApproved() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeApprovedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeApproved(java.lang.String newValue)
public void setTimeApproved(java.sql.Timestamp newValue)
public java.lang.String getTimeActivated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeActivatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeActivated(java.lang.String newValue)
public void setTimeActivated(java.sql.Timestamp newValue)
public java.lang.String getState() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getStateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setState(java.lang.String newValue)
public void setState(java.lang.Integer newValue)
public java.lang.String getDefaultContract() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getDefaultContractInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setDefaultContract(java.lang.String newValue)
public void setDefaultContract(java.lang.Integer newValue)
public java.lang.String getAccountId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getAccountIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAccountId(java.lang.String newValue)
public void setAccountId(java.lang.Long newValue)
public java.lang.String getTimeUpdated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeUpdatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeUpdated(java.lang.String newValue)
public void setTimeUpdated(java.sql.Timestamp newValue)
public java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getMarkForDeleteInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMarkForDelete(java.lang.String newValue)
public void setMarkForDelete(java.lang.Integer newValue)
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCurrency(java.lang.String newValue)
public java.lang.String getStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getStoreIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStoreId(java.lang.String newValue)
public void setStoreId(java.lang.Integer newValue)
public java.lang.String getComments() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setComments(java.lang.String newValue)
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.lang.String getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeCreated(java.lang.String newValue)
public void setTimeCreated(java.sql.Timestamp newValue)
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setName(java.lang.String newValue)
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
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.
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.
public java.lang.String getMustUsePriceListPreference() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Short getMustUsePriceListPreferenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMustUsePriceListPreference(java.lang.String newValue)
public void setMustUsePriceListPreference(java.lang.Short newValue)
public java.lang.String getPriceListPreference() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPriceListPreference(java.lang.String newValue)