com.ibm.commerce.common.objects
Class StoreEntityDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.common.objects.StoreEntityDescriptionAccessBean
All Implemented Interfaces:
java.io.Serializable, StoreEntityDescriptionAccessBeanData

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

This bean provides access to the STOREENTDS table.

The following is a description of this table:

This table contains language-dependent information about a StoreEntity.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
StoreEntityDescriptionAccessBean()
          Default constructor.
StoreEntityDescriptionAccessBean(javax.ejb.EJBObject ejbObject)
          Creates an access bean for the specified EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByLocaleNameAndDistinguishedName(java.lang.String localeName, java.lang.String LDAPName)
          Retrieves all StoreEntityDescriptionAccessBean by locale name and LDAP name
 java.lang.String getContactAddressId()
          This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER NULL.
 java.lang.Integer getContactAddressIdInEJBType()
          This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER NULL.
 java.lang.String getDescription()
          Returns description
 java.lang.String getDisplayName()
          This method provides access to the STOREENTDS.DISPLAYNAME column of DB2 type CHAR(80) NULL.
 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 NULL.
 java.lang.Integer getLocationAddressIdInEJBType()
          This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER NULL.
 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.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setContactAddressId(java.lang.Integer aContactAddressId)
          This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER NULL.
 void setContactAddressId(java.lang.String aContactAddressId)
          This method provides access to the STOREENTDS.STADDRESS_ID_CONT column of DB2 type INTEGER NULL.
 void setDescription(java.lang.String aDescription)
          Stores description
 void setDisplayName(java.lang.String aDisplayName)
          This method provides access to the STOREENTDS.DISPLAYNAME column of DB2 type CHAR(80) NULL.
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Set the primary key for this object
 void setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the STOREENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String aLanguageId)
          This method provides access to the STOREENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLocationAddressId(java.lang.Integer aLocationAddressId)
          This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER NULL.
 void setLocationAddressId(java.lang.String aLocationAddressId)
          This method provides access to the STOREENTDS.STADDRESS_ID_LOC column of DB2 type INTEGER NULL.
 void setStoreEntityId(java.lang.Integer aStoreEntityId)
          This method provides access to the STOREENTDS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreEntityId(java.lang.String aStoreEntityId)
          This method provides access to the STOREENTDS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreEntityDescriptionAccessBean

public StoreEntityDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


StoreEntityDescriptionAccessBean

public StoreEntityDescriptionAccessBean(javax.ejb.EJBObject ejbObject)
                                 throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
ejbObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByLocaleNameAndDistinguishedName

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

Retrieves all StoreEntityDescriptionAccessBean by 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 = ?))

Parameters:
localeName - Locale name
LDAPName - LDAP name
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 NULL.

The following is a description of this column:

The contact address of the StoreEntity.

Specified by:
getContactAddressId in interface StoreEntityDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 NULL.

The following is a description of this column:

The contact address of the StoreEntity.

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

getDescription

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

Returns description

Specified by:
getDescription in interface StoreEntityDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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) NULL.

The following is a description of this column:

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

Specified by:
getDisplayName in interface StoreEntityDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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.

Specified by:
getLanguageId in interface StoreEntityDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 NULL.

The following is a description of this column:

The physical location of the StoreEntity.

Specified by:
getLocationAddressId in interface StoreEntityDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 NULL.

The following is a description of this column:

The physical location of the StoreEntity.

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

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.

Specified by:
getStoreEntityId in interface StoreEntityDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setContactAddressId

public void setContactAddressId(java.lang.Integer aContactAddressId)

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

The following is a description of this column:

The contact address of the StoreEntity.

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

setContactAddressId

public void setContactAddressId(java.lang.String aContactAddressId)

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

The following is a description of this column:

The contact address of the StoreEntity.

Specified by:
setContactAddressId in interface StoreEntityDescriptionAccessBeanData
Parameters:
aContactAddressId - java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String aDescription)

Stores description

Specified by:
setDescription in interface StoreEntityDescriptionAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setDisplayName

public void setDisplayName(java.lang.String aDisplayName)

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

The following is a description of this column:

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

Specified by:
setDisplayName in interface StoreEntityDescriptionAccessBeanData
Parameters:
aDisplayName - java.lang.String
Returns:
void

setInitKey_languageId

public void setInitKey_languageId(java.lang.String aInitKey_languageId)

Set the primary key for this object

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

setInitKey_storeEntityId

public void setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)

Set the primary key for this object

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

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

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:
aLanguageId - java.lang.Integer
Returns:
void

setLanguageId

public void setLanguageId(java.lang.String aLanguageId)

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.

Specified by:
setLanguageId in interface StoreEntityDescriptionAccessBeanData
Parameters:
aLanguageId - java.lang.String
Returns:
void

setLocationAddressId

public void setLocationAddressId(java.lang.Integer aLocationAddressId)

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

The following is a description of this column:

The physical location of the StoreEntity.

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

setLocationAddressId

public void setLocationAddressId(java.lang.String aLocationAddressId)

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

The following is a description of this column:

The physical location of the StoreEntity.

Specified by:
setLocationAddressId in interface StoreEntityDescriptionAccessBeanData
Parameters:
aLocationAddressId - java.lang.String
Returns:
void

setStoreEntityId

public void setStoreEntityId(java.lang.Integer aStoreEntityId)

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:
aStoreEntityId - java.lang.Integer
Returns:
void

setStoreEntityId

public void setStoreEntityId(java.lang.String aStoreEntityId)

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.

Specified by:
setStoreEntityId in interface StoreEntityDescriptionAccessBeanData
Parameters:
aStoreEntityId - java.lang.String
Returns:
void