com.ibm.commerce.common.objimpl
Class SupportedLanguageBeanBase

java.lang.Object
  com.ibm.commerce.base.objects.ECEntityBean
      com.ibm.commerce.common.objimpl.SupportedLanguageBeanBase

public class SupportedLanguageBeanBase
extends com.ibm.commerce.base.objects.ECEntityBean

Each row of this table indicates that a StoreEntity supports a Language. A Store also supports all Languages supported by its StoreGroup, and must be able to provide information when requested for a supported Language. See also LANGPAIR.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
java.lang.String currency
java.lang.Integer languageId
java.lang.Integer storeEntityId
Constructor Summary
SupportedLanguageBeanBase()
Method Summary
com.ibm.commerce.common.objects.SupportedLanguageKey ejbCreate(java.lang.Integer aStoreEntityId, java.lang.Integer aLanguageId)
ejbCreate method for a CMP entity bean
com.ibm.commerce.common.objects.SupportedLanguageKey ejbCreate(java.lang.Integer aStoreEntityId, java.lang.Integer aLanguageId, java.lang.String aCurrency)
ejbCreate method for a CMP entity bean
java.lang.String getCurrency()
A default Currency for shoppers using the supported Language in a Store.
java.lang.Integer getLanguageId()
The Language supported by the StoreEntity.
java.lang.Integer getStoreEntityId()
The StoreEntity.
void setCurrency(java.lang.String newCurrency)
A default Currency for shoppers using the supported Language in a Store.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

languageId

public java.lang.Integer languageId

storeEntityId

public java.lang.Integer storeEntityId

currency

public java.lang.String currency
Constructor Detail

SupportedLanguageBeanBase

public SupportedLanguageBeanBase()
Method Detail

getCurrency

public java.lang.String getCurrency()
A default Currency for shoppers using the supported Language in a Store. A Store may override the default Currency for its StoreGroup by specifying the same Language and a different default Currency.
Returns:
java.lang.String

getLanguageId

public java.lang.Integer getLanguageId()
The Language supported by the StoreEntity.
Returns:
java.lang.Integer

getStoreEntityId

public java.lang.Integer getStoreEntityId()
The StoreEntity. In addition to its explicitly supported Languages, a Store implicitly supports the Languages supported by its StoreGroup.
Returns:
java.lang.Integer

setCurrency

public void setCurrency(java.lang.String newCurrency)
A default Currency for shoppers using the supported Language in a Store. A Store may override the default Currency for its StoreGroup by specifying the same Language and a different default Currency.
Parameters:
newCurrency - java.lang.String

ejbCreate

public com.ibm.commerce.common.objects.SupportedLanguageKey ejbCreate(java.lang.Integer aStoreEntityId,
                                                                      java.lang.Integer aLanguageId)
                                                               throws javax.ejb.CreateException,
                                                                      javax.ejb.FinderException,
                                                                      javax.naming.NamingException
ejbCreate method for a CMP entity bean
Throws:
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

ejbCreate

public com.ibm.commerce.common.objects.SupportedLanguageKey ejbCreate(java.lang.Integer aStoreEntityId,
                                                                      java.lang.Integer aLanguageId,
                                                                      java.lang.String aCurrency)
                                                               throws javax.ejb.CreateException,
                                                                      javax.ejb.FinderException,
                                                                      javax.naming.NamingException
ejbCreate method for a CMP entity bean
Throws:
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

Feedback