java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.common.objects.StoreEntityAccessBean
Each row of this table represents a StoreEntity. A StoreEntity is an abstract superclass that can represent either a Store or a StoreGroup. This access bean corresponds to the database table 'STOREENT'.
Constructor Summary | |
StoreEntityAccessBean() Zero argument constructor used to initialize the access bean. |
|
StoreEntityAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
StoreEntityAccessBean | findByIdentifierAndMemberId(java.lang.String storeIdentifier, java.lang.Long memberId) Retrieves the StoreEntityAccessBean representing the store with the specified identifier and member ID |
java.util.Enumeration | findByMember(java.lang.Long memberId) Retrieves an Enumeration of StoreEntityAccessBeans representing all store with the specified member ID |
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
java.lang.String | getDefaultCurrency() This method provides access to the STOREENT.SETCCURR column of DB2 type CHAR(3). |
StoreEntityDescriptionAccessBean | getDescription(java.lang.Integer languageId) Gets the description of the store entity for the specified language ID |
java.lang.String | getIdentifier() This method provides access to the STOREENT.IDENTIFIER column of DB2 type VARCHAR(254) NOT NULL. |
java.lang.Integer | getMarkForDelete() This method accesses a non-CMP field |
java.lang.String | getMemberId() This method provides access to the STOREENT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberIdInEJBType() This method provides access to the STOREENT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOwner() This method accesses a non-CMP field |
java.lang.String | getStoreEntityId() This method provides access to the STOREENT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreEntityIdInEJBType() This method provides access to the STOREENT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getType() Gets the name of the class of the object instance |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setDefaultCurrency(java.lang.String newValue) This method accesses a non-CMP field |
void | setIdentifier(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_storeEntityId(java.lang.String newValue) Set the primary key for this object |
void | setMarkForDelete(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberId(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 |
public StoreEntityAccessBean()
public StoreEntityAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public StoreEntityAccessBean findByIdentifierAndMemberId(java.lang.String storeIdentifier, java.lang.Long memberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the StoreEntityAccessBean representing the store with the specified identifier and member ID
The SQL query used to fetch the requested row from the STOREENT table is:
SELECT * FROM STOREENT T1 WHERE (IDENTIFIER = ? AND MEMBER_ID = ? AND MARKFORDELETE != 1)
public java.util.Enumeration findByMember(java.lang.Long memberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of StoreEntityAccessBeans representing all store with the specified member ID
The SQL query used to fetch the requested row from the STOREENT table is:
SELECT * FROM STOREENT T1 WHERE (MEMBER_ID = ? AND MARKFORDELETE != 1)
public void setInitKey_storeEntityId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
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 commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getIdentifier() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREENT.IDENTIFIER column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
A string that, together with MEMBER_ID, uniquely identifies the StoreEntity.
public void setIdentifier(java.lang.String newValue)
public java.lang.String getStoreEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREENT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Integer getStoreEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREENT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of the StoreEntity.
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of the StoreEntity.
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.lang.String getType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Gets the name of the class of the object instance
public java.lang.String getDefaultCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREENT.SETCCURR column of DB2 type CHAR(3).
The following is a description of this column:
The default currency for a StoreEntity that will be used by a customer who has not specified a preferred currency. This is a currency code as per ISO 4217 standards. If the currency code is NULL for a Store, the default currency is obtained from its StoreGroup. See also the STORELANG table.
public void setDefaultCurrency(java.lang.String newValue)
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public StoreEntityDescriptionAccessBean getDescription(java.lang.Integer languageId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Gets the description of the store entity for the specified language ID
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMarkForDelete(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.