java.lang.Object | +--com.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
Constructor Summary | |
---|---|
TradingPositionContainerAccessBean() constructor | |
TradingPositionContainerAccessBean(javax.ejb.EJBObject o) constructor | |
TradingPositionContainerAccessBean(java.lang.Long arg0,
java.lang.String arg1) constructor |
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 arg0) Retrieves all the Trading Position Containers that is of the specified name. |
java.util.Enumeration |
findByNameAndMemberId(java.lang.String arg0,
java.lang.Long arg1) Retrieves all the Trading Position Containers with the specified name owned by the specified member. |
java.util.Enumeration |
findByType(java.lang.String arg0) 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 provides access to the TRADEPOSCN.DESCRIPTION column of DB2 type VARCHAR(254). |
void |
setFlags(java.lang.Integer newValue) This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setFlags(java.lang.String newValue) This method provides access to the TRADEPOSCN.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setInitKey_tradingPositionContainerId(java.lang.String newValue) Set the primary key for this object |
void |
setMarkForDelete(java.lang.Integer newValue) This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMarkForDelete(java.lang.String newValue) This method provides access to the TRADEPOSCN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMemberId(java.lang.Long newValue) This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String newValue) This method provides access to the TRADEPOSCN.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setName(java.lang.String newValue) This method provides access to the TRADEPOSCN.NAME column of DB2 type VARCHAR(254) NOT NULL. |
void |
setPrecedence(java.lang.Double newValue) This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
void |
setPrecedence(java.lang.String newValue) This method provides access to the TRADEPOSCN.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
void |
setProductSetId(java.lang.Integer newValue) This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER. |
void |
setProductSetId(java.lang.String newValue) This method provides access to the TRADEPOSCN.PRODUCTSET_ID column of DB2 type INTEGER. |
void |
setType(java.lang.String newValue) This method provides access to the TRADEPOSCN.TYPE column of DB2 type CHAR(1) DEFAULT 'S'. |
void |
setXMLDefinition(java.lang.String arg0) 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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public TradingPositionContainerAccessBean(java.lang.Long arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Longarg1
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByName(java.lang.String arg0) 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 = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByNameAndMemberId(java.lang.String arg0, java.lang.Long arg1) 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 = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByType(java.lang.String arg0) 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 = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_tradingPositionContainerId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
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
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getTradingPositionContainerId
in interface
TradingPositionContainerAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getDescription
in interface
TradingPositionContainerAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDescription(java.lang.String newValue)
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.
setDescription
in interface
TradingPositionContainerAccessBeanData
newValue
- java.lang.Stringpublic 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
getMarkForDelete
in interface
TradingPositionContainerAccessBeanData
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
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
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMarkForDelete(java.lang.String newValue)
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
setMarkForDelete
in interface
TradingPositionContainerAccessBeanData
newValue
- Stringpublic void setMarkForDelete(java.lang.Integer newValue)
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
newValue
- java.lang.Integerpublic 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
getProductSetId
in interface
TradingPositionContainerAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setProductSetId(java.lang.String newValue)
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
setProductSetId
in interface
TradingPositionContainerAccessBeanData
newValue
- Stringpublic void setProductSetId(java.lang.Integer newValue)
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
newValue
- java.lang.Integerpublic 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.
getPrecedence
in interface
TradingPositionContainerAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPrecedence(java.lang.String newValue)
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.
setPrecedence
in interface
TradingPositionContainerAccessBeanData
newValue
- Stringpublic void setPrecedence(java.lang.Double newValue)
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.
newValue
- java.lang.Doublepublic 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.
getFlags
in interface
TradingPositionContainerAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setFlags(java.lang.String newValue)
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.
setFlags
in interface
TradingPositionContainerAccessBeanData
newValue
- Stringpublic void setFlags(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic 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.
getMemberId
in interface
TradingPositionContainerAccessBeanData
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
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMemberId(java.lang.String newValue)
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.
setMemberId
in interface
TradingPositionContainerAccessBeanData
newValue
- Stringpublic void setMemberId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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
getType
in interface
TradingPositionContainerAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setType(java.lang.String newValue)
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
setType
in interface
TradingPositionContainerAccessBeanData
newValue
- java.lang.Stringpublic 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.
getName
in interface
TradingPositionContainerAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setName(java.lang.String newValue)
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.
setName
in interface
TradingPositionContainerAccessBeanData
newValue
- java.lang.Stringpublic 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.
javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
public void setXMLDefinition(java.lang.String arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Sets the XML definition String for this Trading Position Container.
javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exception