com.ibm.commerce.inventory.objects
Class BaseItemDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.inventory.objects.BaseItemDescriptionAccessBean
All Implemented Interfaces:
BaseItemDescriptionAccessBeanData

public class BaseItemDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements BaseItemDescriptionAccessBeanData

Each row of this table contains language-dependent information for a BaseItem.

See Also:
Serialized Form

Constructor Summary
BaseItemDescriptionAccessBean()
          constructor
BaseItemDescriptionAccessBean(javax.ejb.EJBObject o)
          constructor
BaseItemDescriptionAccessBean(java.lang.Long arg0, java.lang.Integer arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByStoreentIdAndLanguageIdSortedByShortDescription(java.lang.Integer arg0, java.lang.Integer arg1)           Retrieves all the base item descriptions with the specified LANGUAGE_ID and STOREENT_ID The SQL query used to fetch the requested row from the BASEITMDSC table is:
SELECT * FROM BASEITMDSC T1 WHERE STOREITEM.BASEITEM_ID = T1.BASEITEM_ID AND STOREITEM.STOREENT_ID = ? AND T1.LANGUAGE_ID = ? AND STOREITEM.TRACKINVENTORY = 'Y' ORDER BY T1.SHORTDESCRIPTION
 java.lang.String getBaseItemId()
          This method provides access to the BASEITMDSC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getBaseItemIdInEJBType()
          This method provides access to the BASEITMDSC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getLanguageId()
          This method provides access to the BASEITMDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the BASEITMDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getLastUpdate()
          This method provides access to the BASEITMDSC.LASTUPDATE column of DB2 type TIMESTAMP.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the BASEITMDSC.LASTUPDATE column of DB2 type TIMESTAMP.
 java.lang.String getLongDescription()
          This method accesses a non-CMP field
 java.lang.String getShortdescription()
          This method provides access to the BASEITMDSC.SHORTDESCRIPTION column of DB2 type VARCHAR(254).
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setBaseItemId(java.lang.Long newValue)
          This method provides access to the BASEITMDSC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 void setBaseItemId(java.lang.String newValue)
          This method provides access to the BASEITMDSC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_baseItemId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_languageId(java.lang.String newValue)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer newValue)
          This method provides access to the BASEITMDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String newValue)
          This method provides access to the BASEITMDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLastUpdate(java.lang.String newValue)
          This method provides access to the BASEITMDSC.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLastUpdate(java.sql.Timestamp newValue)
          This method provides access to the BASEITMDSC.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLongDescription(java.lang.String newValue)
          This method accesses a non-CMP field
 void setShortdescription(java.lang.String newValue)
          This method provides access to the BASEITMDSC.SHORTDESCRIPTION column of DB2 type VARCHAR(254).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseItemDescriptionAccessBean

public BaseItemDescriptionAccessBean()
constructor

BaseItemDescriptionAccessBean

public BaseItemDescriptionAccessBean(javax.ejb.EJBObject o)
                              throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

BaseItemDescriptionAccessBean

public BaseItemDescriptionAccessBean(java.lang.Long arg0,
                                     java.lang.Integer arg1)
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     java.rmi.RemoteException,
                                     javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByStoreentIdAndLanguageIdSortedByShortDescription

public java.util.Enumeration findByStoreentIdAndLanguageIdSortedByShortDescription(java.lang.Integer arg0,
                                                                                   java.lang.Integer arg1)
                                                                            throws java.rmi.RemoteException,
                                                                                   javax.ejb.FinderException,
                                                                                   javax.naming.NamingException

Retrieves all the base item descriptions with the specified LANGUAGE_ID and STOREENT_ID
The SQL query used to fetch the requested row from the BASEITMDSC table is: SELECT * FROM BASEITMDSC T1 WHERE STOREITEM.BASEITEM_ID = T1.BASEITEM_ID AND STOREITEM.STOREENT_ID = ? AND T1.LANGUAGE_ID = ? AND STOREITEM.TRACKINVENTORY = 'Y' ORDER BY T1.SHORTDESCRIPTION

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_baseItemId

public void setInitKey_baseItemId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

setInitKey_languageId

public void setInitKey_languageId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastUpdate

public java.lang.String getLastUpdate()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the BASEITMDSC.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time this information was updated.

Specified by:
getLastUpdate in interface BaseItemDescriptionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastUpdateInEJBType

public java.sql.Timestamp getLastUpdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the BASEITMDSC.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time this information was updated.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLastUpdate

public void setLastUpdate(java.lang.String newValue)

This method provides access to the BASEITMDSC.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time this information was updated.

Specified by:
setLastUpdate in interface BaseItemDescriptionAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)

This method provides access to the BASEITMDSC.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time this information was updated.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

getLanguageId

public java.lang.String getLanguageId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the BASEITMDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Language for this information. For a list of language components, see the LANGUAGE table.

Specified by:
getLanguageId in interface BaseItemDescriptionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLanguageIdInEJBType

public java.lang.Integer getLanguageIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the BASEITMDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Language for this information. For a list of language components, see the LANGUAGE table.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLanguageId

public void setLanguageId(java.lang.String newValue)

This method provides access to the BASEITMDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Language for this information. For a list of language components, see the LANGUAGE table.

Specified by:
setLanguageId in interface BaseItemDescriptionAccessBeanData
Parameters:
newValue - String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer newValue)

This method provides access to the BASEITMDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Language for this information. For a list of language components, see the LANGUAGE table.

Parameters:
newValue - java.lang.Integer
Returns:
void

getBaseItemId

public java.lang.String getBaseItemId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the BASEITMDSC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The BaseItem.

Specified by:
getBaseItemId in interface BaseItemDescriptionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getBaseItemIdInEJBType

public java.lang.Long getBaseItemIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the BASEITMDSC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The BaseItem.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setBaseItemId

public void setBaseItemId(java.lang.String newValue)

This method provides access to the BASEITMDSC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The BaseItem.

Specified by:
setBaseItemId in interface BaseItemDescriptionAccessBeanData
Parameters:
newValue - String
Returns:
void

setBaseItemId

public void setBaseItemId(java.lang.Long newValue)

This method provides access to the BASEITMDSC.BASEITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The BaseItem.

Parameters:
newValue - java.lang.Long
Returns:
void

getLongDescription

public java.lang.String getLongDescription()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getLongDescription in interface BaseItemDescriptionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLongDescription

public void setLongDescription(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLongDescription in interface BaseItemDescriptionAccessBeanData

getShortdescription

public java.lang.String getShortdescription()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the BASEITMDSC.SHORTDESCRIPTION column of DB2 type VARCHAR(254).

The following is a description of this column:

A brief description of the BaseItem.

Specified by:
getShortdescription in interface BaseItemDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setShortdescription

public void setShortdescription(java.lang.String newValue)

This method provides access to the BASEITMDSC.SHORTDESCRIPTION column of DB2 type VARCHAR(254).

The following is a description of this column:

A brief description of the BaseItem.

Specified by:
setShortdescription in interface BaseItemDescriptionAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void