|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.marketingcenter.campaign.objects.CollateralAccessBean
This bean provides access to the COLLATERAL table.
The following is a description of this table:
This table holds the information related to a collateral.
Constructor Summary | |
CollateralAccessBean()
Zero argument constructor used to initialize the access bean. |
|
CollateralAccessBean(javax.ejb.EJBObject CollateralEJBObj)
Maps to a corresponding ejbCreate method in the home interface of the EJB. |
|
CollateralAccessBean(java.lang.Integer collateralId,
java.lang.String collateralName,
java.lang.Integer storeId,
java.lang.Integer collateralTypeId)
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()
Obtain the JNDI name for this EJB |
java.util.Enumeration |
findByStore(java.lang.Integer storeId)
This finder returns all the collateral in an enumeration with the given store reference number. |
CollateralAccessBean |
findByStoreAndName(java.lang.Integer storeId,
java.lang.String collateralName)
This finder returns the collateral in an access bean with the given store reference number and the collateral name. |
java.util.Enumeration |
findByStoreAndType(java.lang.Integer storeId,
java.lang.Integer collateralTypeId)
This finder returns all the collateral in an enumeration with the given store and collateral type reference number. |
java.util.Enumeration |
findByStoreAndTypeWithOrder(java.lang.Integer storeId,
java.lang.Integer collateralTypeId,
java.lang.String orderByColumn,
java.lang.Integer languageId)
This finder returns all the collateral in an enumeration with the given store and collateral type reference number, sorted by the given column. |
java.util.Enumeration |
findByStoreSortedByName(java.lang.Integer storeId)
This finder returns all the collateral in an enumeration with the given store reference number, sorted by name. |
java.util.Enumeration |
findByStoreSortedByType(java.lang.Integer storeId)
This finder returns all the collateral in an enumeration with the given store reference number, sorted by the collateral type. |
java.util.Enumeration |
findByStoreWithOrder(java.lang.Integer storeId,
java.lang.String orderByColumn,
java.lang.Integer languageId)
This finder returns all the collateral in an enumeration with the given store reference number, sorted by the given column. |
boolean |
fulfills(java.lang.Long arg0,
java.lang.String arg1)
IBM internal use only. |
java.lang.String |
getCollateralId()
This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCollateralIdInEJBType()
This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCustomerField1()
This method provides access to the COLLATERAL.FIELD1 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getCustomerField2()
This method provides access to the COLLATERAL.FIELD2 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getName()
This method provides access to the COLLATERAL.NAME column of DB2 type VARCHAR(30) NULL. |
java.lang.Long |
getOwner()
IBM internal use only. |
java.lang.String |
getStoreId()
This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreIdInEJBType()
This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getType()
This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getTypeInEJBType()
This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getUrlLink()
This method provides access to the COLLATERAL.URL column of DB2 type VARCHAR(254) NULL. |
protected void |
instantiateEJB()
|
protected boolean |
instantiateEJBByPrimaryKey()
|
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCollateralId(java.lang.Integer collateralId)
This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL. |
void |
setCollateralId(java.lang.String collateralId)
This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL. |
void |
setCustomerField1(java.lang.String customerField1)
This method provides access to the COLLATERAL.FIELD1 column of DB2 type VARCHAR(254) NULL. |
void |
setCustomerField2(java.lang.String customerField2)
This method provides access to the COLLATERAL.FIELD2 column of DB2 type VARCHAR(254) NULL. |
void |
setInitKey_collateralId(java.lang.String newCollateralId)
Set the primary key for this object. |
void |
setName(java.lang.String name)
This method provides access to the COLLATERAL.NAME column of DB2 type VARCHAR(30) NULL. |
void |
setStoreId(java.lang.Integer storeId)
This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreId(java.lang.String storeId)
This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setType(java.lang.Integer type)
This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setType(java.lang.String type)
This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setUrlLink(java.lang.String urlLink)
This method provides access to the COLLATERAL.URL column of DB2 type VARCHAR(254) NULL. |
Constructor Detail |
public CollateralAccessBean()
public CollateralAccessBean(javax.ejb.EJBObject CollateralEJBObj) throws java.rmi.RemoteException
CollateralEJBObj
- - a Collateral EJBObject referencejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.public CollateralAccessBean(java.lang.Integer collateralId, java.lang.String collateralName, java.lang.Integer storeId, java.lang.Integer collateralTypeId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
collateralId
- - the internal reference number of the collateralcollateralName
- - the name of the collateralstoreId
- - the internal reference number of the storecollateralTypeId
- - the internal reference number of the collateral typejavax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.java.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.naming.NamingException
- - Thrown when a naming exception is encountered.Method Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.protected java.lang.String defaultJNDIName()
public java.util.Enumeration findByStore(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM COLLATERAL T1 WHERE (T1.STOREENT_ID = storeId)
storeId
- - the internal reference number of the storejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public CollateralAccessBean findByStoreAndName(java.lang.Integer storeId, java.lang.String collateralName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM COLLATERAL T1 WHERE (T1.STOREENT_ID = storeId AND T1.NAME = collateralName)
storeId
- - the reference number of the storecollateralName
- - the name of the collateraljava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.util.Enumeration findByStoreAndType(java.lang.Integer storeId, java.lang.Integer collateralTypeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM COLLATERAL T1 WHERE (T1.STOREENT_ID = storeId AND T1.TYPE = collateralTypeId)
storeId
- - the internal reference number of the storecollateralTypeId
- - the internal reference number of the collateral typejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.util.Enumeration findByStoreAndTypeWithOrder(java.lang.Integer storeId, java.lang.Integer collateralTypeId, java.lang.String orderByColumn, java.lang.Integer languageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM COLLATERAL T1, COLLDESC T2 WHERE T1.STOREENT_ID = storeId AND T1.COLLTYPE_ID = collateralTypeId AND T2.LANGUAGE_ID = languageId AND T2.COLLATERAL_ID = T1.COLLATERAL_ID ORDER BY orderByColumn
storeId
- - the internal reference number of the storecollateralTypeId
- - the internal reference number of the collateral typeorderByColumn
- - the name of the column that will be sortedlanguageId
- - the internal reference number of the languagejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.util.Enumeration findByStoreSortedByName(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM COLLATERAL T1 WHERE (T1.STOREENT_ID = storeId) order by T1.NAME
storeId
- - the internal reference number of the storejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.util.Enumeration findByStoreSortedByType(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM COLLATERAL T1 WHERE (T1.STOREENT_ID = storeId) order by T1.COLLTYPE_ID
storeId
- - the internal reference number of the storejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.util.Enumeration findByStoreWithOrder(java.lang.Integer storeId, java.lang.String orderByColumn, java.lang.Integer languageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM COLLATERAL T1, COLLDESC T2 WHERE T1.STOREENT_ID = storeId AND T2.LANGUAGE_ID = languageId AND T2.COLLATERAL_ID = T1.COLLATERAL_ID ORDER BY orderByColumn
storeId
- - the internal reference number of the storeorderByColumn
- - the name of the column that will be sortedlanguageId
- - the internal reference number of the languagejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
arg0
- - java.lang.Longarg1
- - java.lang.Stringjava.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 getCollateralId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The internal reference number of this collateral.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.Integer getCollateralIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The internal reference number of this collateral.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.String getCustomerField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The customizable field 1 of this collateral.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.String getCustomerField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The customizable field 2 of this collateral.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The name of this collateral.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
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 getStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The internal reference number of the store in which this collateral belongs to. This field is a foreign key to the STOREENT table.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.Integer getStoreIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The internal reference number of the store in which this collateral belongs to. This field is a foreign key to the STOREENT table.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.String getType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The internal reference number of the type in which this collateral belongs to. This field is a foreign key to the COLLTYPE table.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.Integer getTypeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The internal reference number of the type in which this collateral belongs to. This field is a foreign key to the COLLTYPE table.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.String getUrlLink() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The URL which will be referenced on click action of this collateral.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.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 refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public void setCollateralId(java.lang.Integer collateralId)
The following is a description of this column:
The internal reference number of this collateral.
java.lang.Integer
- public void setCollateralId(java.lang.String collateralId)
The following is a description of this column:
The internal reference number of this collateral.
java.lang.String
- public void setCustomerField1(java.lang.String customerField1)
The following is a description of this column:
The customizable field 1 of this collateral.
java.lang.String
- public void setCustomerField2(java.lang.String customerField2)
The following is a description of this column:
The customizable field 2 of this collateral.
java.lang.String
- public void setInitKey_collateralId(java.lang.String newCollateralId)
newCollateralId
- - the reference number of the collateralpublic void setName(java.lang.String name)
The following is a description of this column:
The name of this collateral.
java.lang.String
- public void setStoreId(java.lang.Integer storeId)
The following is a description of this column:
The internal reference number of the store in which this collateral belongs to. This field is a foreign key to the STOREENT table.
java.lang.Integer
- public void setStoreId(java.lang.String storeId)
The following is a description of this column:
The internal reference number of the store in which this collateral belongs to. This field is a foreign key to the STOREENT table.
java.lang.String
- public void setType(java.lang.Integer type)
The following is a description of this column:
The internal reference number of the type in which this collateral belongs to. This field is a foreign key to the COLLTYPE table.
java.lang.Integer
- public void setType(java.lang.String type)
The following is a description of this column:
The internal reference number of the type in which this collateral belongs to. This field is a foreign key to the COLLTYPE table.
java.lang.String
- public void setUrlLink(java.lang.String urlLink)
The following is a description of this column:
The URL which will be referenced on click action of this collateral.
java.lang.String
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |