java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.order.objects.TradingPositionContainerAccessBean
This table represents a TradingPositionContainer, which can contain TradingPositions and can be made available to all customers, or only to customers in certain groups through the trading agreements or contracts. This access bean corresponds to the database table 'TRADEPOSCN'.
Constructor Summary | |
TradingPositionContainerAccessBean() Zero argument constructor used to initialize the access bean. |
|
TradingPositionContainerAccessBean(javax.ejb.EJBObject o) constructor |
|
TradingPositionContainerAccessBean(java.lang.Long anMemberId, java.lang.String astrName) Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findAll() Retrieves all the Trading Position Containers. |
java.util.Enumeration | findByName(java.lang.String aName) Retrieves all the Trading Position Containers that is of the specified name. |
java.util.Enumeration | findByNameAndMemberId(java.lang.String aName, java.lang.Long aMemberId) Retrieves all the Trading Position Containers with the specified name owned by the specified member. |
java.util.Enumeration | findByType(java.lang.String aType) Retrieves all the Trading Position Containers that is of the specified type. |
java.lang.String | getDescription() This method provides access to the TRADEPOSCN.DESCRIPTION column of DB2 type VARCHAR(254). |
java.lang.String | getFlags() This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getFlagsInEJBType() This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getMarkForDelete() This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getMarkForDeleteInEJBType() This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getMemberId() This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberIdInEJBType() This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getName() This method provides access to the TRADEPOSCN.NAME column of DB2 type VARCHAR(254) NOT NULL. |
java.lang.String | getPrecedence() This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
java.lang.Double | getPrecedenceInEJBType() This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
java.lang.String | getProductSetId() This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER. |
java.lang.Integer | getProductSetIdInEJBType() This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER. |
java.lang.String | getTradingPositionContainerId() This method provides access to the TRADEPOSCN.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getTradingPositionContainerIdInEJBType() This method provides access to the TRADEPOSCN.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getType() This method provides access to the TRADEPOSCN.TYPE column of DB2 type CHAR(1) DEFAULT 'S'. |
java.lang.String | getXMLDefinition() Retrieves all the XML Definitions for this trading position container. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setFlags(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setFlags(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_tradingPositionContainerId(java.lang.String newValue) Set the primary key for this object |
void | setMarkForDelete(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMarkForDelete(java.lang.String newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.String newValue) This method accesses a non-CMP field |
void | setName(java.lang.String newValue) This method accesses a non-CMP field |
void | setPrecedence(java.lang.Double newValue) This method accesses a non-CMP field |
void | setPrecedence(java.lang.String newValue) This method accesses a non-CMP field |
void | setProductSetId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setProductSetId(java.lang.String newValue) This method accesses a non-CMP field |
void | setType(java.lang.String newValue) This method accesses a non-CMP field |
void | setXMLDefinition(java.lang.String aXMLDefinition) Sets the XML definition String for this Trading Position Container. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TradingPositionContainerAccessBean()
public TradingPositionContainerAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public TradingPositionContainerAccessBean(java.lang.Long anMemberId, java.lang.String astrName) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public java.util.Enumeration findAll() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the Trading Position Containers.
The SQL query used to fetch all the rows from the TRADEPOSCN table is:
SELECT * FROM TRADEPOSCN WHERE 1 = 1
public java.util.Enumeration findByName(java.lang.String aName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the Trading Position Containers that is of the specified name.
The SQL query used to fetch all the rows from the TRADEPOSCN table is:
SELECT * FROM TRADEPOSCN T1 WHERE (T1.NAME = ?)
public java.util.Enumeration findByNameAndMemberId(java.lang.String aName, java.lang.Long aMemberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the Trading Position Containers with the specified name owned by the specified member.
The SQL query used to fetch all the rows from the TRADEPOSCN table is:
SELECT * FROM TRADEPOSCN T1 WHERE (T1.NAME = ?) AND (T1.MEMBER_ID = ?)
public java.util.Enumeration findByType(java.lang.String aType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the Trading Position Containers that is of the specified type.
The SQL query used to fetch all the rows from the TRADEPOSCN table is:
SELECT * FROM TRADEPOSCN T1 WHERE (T1.TYPE = ?)
public void setInitKey_tradingPositionContainerId(java.lang.String newValue)
Set the primary key for this object
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
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getTradingPositionContainerId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Long getTradingPositionContainerIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.DESCRIPTION column of DB2 type VARCHAR(254).
The following is a description of this column:
A brief description of the TradingPositionContainer, suitable for display to an administrator managing TradingPositionContainers.
public void setDescription(java.lang.String newValue)
public java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this TradingPositionContainer is marked for deletion:&l
public java.lang.Integer getMarkForDeleteInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this TradingPositionContainer is marked for deletion:&l
public void setMarkForDelete(java.lang.String newValue)
public void setMarkForDelete(java.lang.Integer newValue)
public java.lang.String getProductSetId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER.
The following is a description of this column:
The ProductSet the specifies the list of products contained in the TradingPositionContainer.
public java.lang.Integer getProductSetIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER.
The following is a description of this column:
The ProductSet the specifies the list of products contained in the TradingPositionContainer.
public void setProductSetId(java.lang.String newValue)
public void setProductSetId(java.lang.Integer newValue)
public java.lang.String getPrecedence() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
The following is a description of this column:
When more than one Trading Position Containers are qualified at a particular time, the one with the highest precedence is used.
public java.lang.Double getPrecedenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
The following is a description of this column:
When more than one Trading Position Containers are qualified at a particular time, the one with the highest precedence is used.
public void setPrecedence(java.lang.String newValue)
public void setPrecedence(java.lang.Double newValue)
public java.lang.String getFlags() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
This column contains the following bit flag indicating special processing to be performed by task commands that find prices for customers: 1 = restricted. To use TradingPositions in this TradingPositionContainer, the customer must be in one of the associated MemberGroups recognized by the Store as customer groups (see MGPTRDPSCN and STOREMBRGP). Use the TermAndCondition and Participant objects to limit the use of TradingPositionContainers to certain customers. See the TRADING, TERMCOND, and PARTICIPNT tables for current information. No other bit flags can be stored in this column.&l
public java.lang.Integer getFlagsInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
This column contains the following bit flag indicating special processing to be performed by task commands that find prices for customers: 1 = restricted. To use TradingPositions in this TradingPositionContainer, the customer must be in one of the associated MemberGroups recognized by the Store as customer groups (see MGPTRDPSCN and STOREMBRGP). Use the TermAndCondition and Participant objects to limit the use of TradingPositionContainers to certain customers. See the TRADING, TERMCOND, and PARTICIPNT tables for current information. No other bit flags can be stored in this column.&l
public void setFlags(java.lang.String newValue)
public void setFlags(java.lang.Integer newValue)
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of the TradingPositionContainer.
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of the TradingPositionContainer.
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.lang.String getType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.TYPE column of DB2 type CHAR(1) DEFAULT 'S'.
The following is a description of this column:
The kind of the Trading Position Container as follows:&l
public void setType(java.lang.String newValue)
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADEPOSCN.NAME column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
A mnemonic name for the TradingPositionContainer, unique for a particular owner.
public void setName(java.lang.String newValue)
public java.lang.String getXMLDefinition() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Retrieves all the XML Definitions for this trading position container.
public void setXMLDefinition(java.lang.String aXMLDefinition) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Sets the XML definition String for this Trading Position Container.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.