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

Each row of this table contains language-dependent information about a StoreEntity. This access bean corresponds to the database table 'STOREENTDS'.

See Also:
Serialized Form

Constructor Summary
StoreEntityDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
StoreEntityDescriptionAccessBean(java.lang.Integer storeEntityId, java.lang.Integer languageId)
Creates a StoreEntityDescription with the specified attributes
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 localeName, java.lang.String LDAPName)
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 accesses a non-CMP field
void setContactAddressId(java.lang.String newValue)
This method accesses a non-CMP field
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setDisplayName(java.lang.String newValue)
This method accesses a non-CMP field
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 accesses a non-CMP field
void setLanguageId(java.lang.String newValue)
This method accesses a non-CMP field
void setLocationAddressId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setLocationAddressId(java.lang.String newValue)
This method accesses a non-CMP field
void setStoreEntityId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setStoreEntityId(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

StoreEntityDescriptionAccessBean

public StoreEntityDescriptionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.common.objects.StoreEntityDescription com.ibm.commerce.common.objimpl.StoreEntityDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.common.objects.StoreEntityDescriptionKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_languageId( java.lang.Integer ) setInitKey_storeEntityId( java.lang.Integer )

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
Creates a StoreEntityDescription with the specified attributes
Parameters:
storeEntityId - The store entity ID
languageId - The ID of the language for the description
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException
Method Detail

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 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 = ?))

Parameters:
localeName - The locale name
LDAPName - The LDAP name
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
Throws:
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 accesses a non-CMP field

setLocationAddressId

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

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 accesses a non-CMP field

setContactAddressId

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

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 accesses a non-CMP field

setLanguageId

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

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 accesses a non-CMP field

setStoreEntityId

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

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 accesses a non-CMP field

Feedback