com.ibm.commerce.common.objects
Class StoreEntityDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.common.objects.StoreEntityDescriptionAccessBean

public class StoreEntityDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean

This table contains language-dependent information about a StoreEntity.

See Also:
Serialized Form

Constructor Summary
StoreEntityDescriptionAccessBean()
          constructor
StoreEntityDescriptionAccessBean(java.lang.Integer storeEntityId, java.lang.Integer languageId)
          StoreEntityDescriptionAccessBean constructor
StoreEntityDescriptionAccessBean(javax.ejb.EJBObject o)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByLocaleNameAndDistinguishedName(java.lang.String arg0, java.lang.String arg1)
          Retrieves all StoreEntityDescriptionAccessBeans by the specified locale name and LDAP name
 java.lang.String getContactAddressId()
          This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER.
 java.lang.Integer getContactAddressIdInEJBType()
          This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER.
 java.lang.String getDescription()
          This method accesses a non-CMP field
 java.lang.String getDisplayName()
          This method provides access to the STOREENTDS.DISPLAYNAME column of DB2 type CHAR(80).
 java.lang.String getLanguageId()
          This method provides access to the STOREENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the STOREENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getLocationAddressId()
          This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER.
 java.lang.Integer getLocationAddressIdInEJBType()
          This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER.
 java.lang.String getStoreEntityId()
          This method provides access to the STOREENTDS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreEntityIdInEJBType()
          This method provides access to the STOREENTDS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setContactAddressId(java.lang.Integer newValue)
          This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER.
 void setContactAddressId(java.lang.String newValue)
          This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER.
 void setDescription(java.lang.String newValue)
          This method accesses a non-CMP field
 void setDisplayName(java.lang.String newValue)
          This method provides access to the STOREENTDS.DISPLAYNAME column of DB2 type CHAR(80).
 void setInitKey_languageId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_storeEntityId(java.lang.String newValue)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer newValue)
          This method provides access to the STOREENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String newValue)
          This method provides access to the STOREENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLocationAddressId(java.lang.Integer newValue)
          This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER.
 void setLocationAddressId(java.lang.String newValue)
          This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER.
 void setStoreEntityId(java.lang.Integer newValue)
          This method provides access to the STOREENTDS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreEntityId(java.lang.String newValue)
          This method provides access to the STOREENTDS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreEntityDescriptionAccessBean

public StoreEntityDescriptionAccessBean()
constructor

StoreEntityDescriptionAccessBean

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

StoreEntityDescriptionAccessBean

public StoreEntityDescriptionAccessBean(java.lang.Integer storeEntityId,
                                        java.lang.Integer languageId)
                                 throws javax.naming.NamingException,
                                        javax.ejb.CreateException,
                                        java.rmi.RemoteException
StoreEntityDescriptionAccessBean constructor
Parameters:
storeEntityId - java.lang.Integer
languageId - java.lang.Integer
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
Method Detail

findByLocaleNameAndDistinguishedName

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

Retrieves all StoreEntityDescriptionAccessBeans by the specified locale name and LDAP name

The SQL query used to fetch the requested row from the STOREENTDS table is:

SELECT * FROM STOREENTDS T1 WHERE (T1.LANGUAGE_ID = ANY (SELECT LANGUAGE.LANGUAGE_ID FROM LANGUAGE WHERE LANGUAGE.LOCALENAME = ?)) AND (T1.STOREENT_ID = ANY (SELECT STOREENT.STOREENT_ID FROM STOREENT WHERE STOREENT.IDENTIFIER = ?))

Returns:
An Enumeration of StoreEntityDescriptionAccessBeans representing the rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_languageId

public void setInitKey_languageId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_storeEntityId

public void setInitKey_storeEntityId(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

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

public void setDescription(java.lang.String newValue)
This method accesses a non-CMP field

getLocationAddressId

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

This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER.

The following is a description of this column:

The physical location of the StoreEntity.

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

getLocationAddressIdInEJBType

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

This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER.

The following is a description of this column:

The physical location of the StoreEntity.

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

setLocationAddressId

public void setLocationAddressId(java.lang.String newValue)

This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER.

The following is a description of this column:

The physical location of the StoreEntity.

Parameters:
newValue - String
Returns:
void

setLocationAddressId

public void setLocationAddressId(java.lang.Integer newValue)

This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER.

The following is a description of this column:

The physical location of the StoreEntity.

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

getContactAddressId

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

This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER.

The following is a description of this column:

The contact address of the StoreEntity.

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

getContactAddressIdInEJBType

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

This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER.

The following is a description of this column:

The contact address of the StoreEntity.

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

setContactAddressId

public void setContactAddressId(java.lang.String newValue)

This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER.

The following is a description of this column:

The contact address of the StoreEntity.

Parameters:
newValue - String
Returns:
void

setContactAddressId

public void setContactAddressId(java.lang.Integer newValue)

This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER.

The following is a description of this column:

The contact address of the StoreEntity.

Parameters:
newValue - java.lang.Integer
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 STOREENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

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

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 STOREENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Language. 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 STOREENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

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

Parameters:
newValue - String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer newValue)

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

The following is a description of this column:

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

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

getStoreEntityId

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

This method provides access to the STOREENTDS.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity.

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

getStoreEntityIdInEJBType

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

This method provides access to the STOREENTDS.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity.

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

setStoreEntityId

public void setStoreEntityId(java.lang.String newValue)

This method provides access to the STOREENTDS.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity.

Parameters:
newValue - String
Returns:
void

setStoreEntityId

public void setStoreEntityId(java.lang.Integer newValue)

This method provides access to the STOREENTDS.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity.

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

getDisplayName

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

This method provides access to the STOREENTDS.DISPLAYNAME column of DB2 type CHAR(80).

The following is a description of this column:

A brief description of the StoreEntity, suitable for display to customers.

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

setDisplayName

public void setDisplayName(java.lang.String newValue)

This method provides access to the STOREENTDS.DISPLAYNAME column of DB2 type CHAR(80).

The following is a description of this column:

A brief description of the StoreEntity, suitable for display to customers.

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