@ProviderType public class CommercePaymentMethodWrapper extends java.lang.Object implements CommercePaymentMethod, com.liferay.portal.kernel.model.ModelWrapper<CommercePaymentMethod>
This class is a wrapper for CommercePaymentMethod.
CommercePaymentMethod,
Serialized FormCOMMERCE_PAYMENT_METHOD_ID_ACCESSOR| Constructor and Description |
|---|
CommercePaymentMethodWrapper(CommercePaymentMethod commercePaymentMethod) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(CommercePaymentMethod commercePaymentMethod) |
boolean |
equals(java.lang.Object obj) |
boolean |
getActive()
Returns the active of this commerce payment method.
|
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCommercePaymentMethodId()
Returns the commerce payment method ID of this commerce payment method.
|
long |
getCompanyId()
Returns the company ID of this commerce payment method.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce payment method.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this commerce payment method.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this commerce payment method in the language.
|
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault)
Returns the localized description of this commerce payment method in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this commerce payment method in the language.
|
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault)
Returns the localized description of this commerce payment method in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this commerce payment method.
|
java.lang.String |
getEngineKey()
Returns the engine key of this commerce payment method.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this commerce payment method.
|
long |
getImageId()
Returns the image ID of this commerce payment method.
|
java.lang.String |
getImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce payment method.
|
java.lang.String |
getName()
Returns the name of this commerce payment method.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this commerce payment method in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this commerce payment method in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this commerce payment method in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this commerce payment method in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getNameCurrentLanguageId() |
java.lang.String |
getNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getNameMap()
Returns a map of the locales and localized names of this commerce payment method.
|
long |
getPrimaryKey()
Returns the primary key of this commerce payment method.
|
java.io.Serializable |
getPrimaryKeyObj() |
double |
getPriority()
Returns the priority of this commerce payment method.
|
long |
getUserId()
Returns the user ID of this commerce payment method.
|
java.lang.String |
getUserName()
Returns the user name of this commerce payment method.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce payment method.
|
CommercePaymentMethod |
getWrappedModel() |
int |
hashCode() |
boolean |
isActive()
Returns
true if this commerce payment method is active. |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
resetOriginalValues() |
void |
setActive(boolean active)
Sets whether this commerce payment method is active.
|
void |
setCachedModel(boolean cachedModel) |
void |
setCommercePaymentMethodId(long commercePaymentMethodId)
Sets the commerce payment method ID of this commerce payment method.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce payment method.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce payment method.
|
void |
setDescription(java.lang.String description)
Sets the description of this commerce payment method.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this commerce payment method in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this commerce payment method in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this commerce payment method from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
Sets the localized descriptions of this commerce payment method from the map of locales and localized descriptions, and sets the default locale.
|
void |
setEngineKey(java.lang.String engineKey)
Sets the engine key of this commerce payment method.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this commerce payment method.
|
void |
setImageId(long imageId)
Sets the image ID of this commerce payment method.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce payment method.
|
void |
setName(java.lang.String name)
Sets the name of this commerce payment method.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this commerce payment method in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this commerce payment method in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(java.lang.String languageId) |
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Sets the localized names of this commerce payment method from the map of locales and localized names.
|
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
Sets the localized names of this commerce payment method from the map of locales and localized names, and sets the default locale.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce payment method.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setPriority(double priority)
Sets the priority of this commerce payment method.
|
void |
setUserId(long userId)
Sets the user ID of this commerce payment method.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce payment method.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce payment method.
|
com.liferay.portal.kernel.model.CacheModel<CommercePaymentMethod> |
toCacheModel() |
CommercePaymentMethod |
toEscapedModel() |
java.lang.String |
toString() |
CommercePaymentMethod |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public CommercePaymentMethodWrapper(CommercePaymentMethod commercePaymentMethod)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public java.lang.Object clone()
clone in interface CommercePaymentMethodModelclone in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>clone in class java.lang.Objectpublic int compareTo(CommercePaymentMethod commercePaymentMethod)
compareTo in interface CommercePaymentMethodModelcompareTo in interface java.lang.Comparable<CommercePaymentMethod>public boolean getActive()
getActive in interface CommercePaymentMethodModelpublic java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface CommercePaymentMethodModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic long getCommercePaymentMethodId()
getCommercePaymentMethodId in interface CommercePaymentMethodModelpublic long getCompanyId()
getCompanyId in interface CommercePaymentMethodModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommercePaymentMethodModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface CommercePaymentMethodModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDescription()
getDescription in interface CommercePaymentMethodModelpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface CommercePaymentMethodModellocale - the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface CommercePaymentMethodModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.public java.lang.String getDescription(java.lang.String languageId)
getDescription in interface CommercePaymentMethodModellanguageId - the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface CommercePaymentMethodModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface CommercePaymentMethodModelpublic java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface CommercePaymentMethodModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface CommercePaymentMethodModelpublic java.lang.String getEngineKey()
getEngineKey in interface CommercePaymentMethodModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommercePaymentMethodModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic long getGroupId()
getGroupId in interface CommercePaymentMethodModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getImageId()
getImageId in interface CommercePaymentMethodModelpublic java.lang.String getImageURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
getImageURL in interface CommercePaymentMethodpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommercePaymentMethodModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getName()
getName in interface CommercePaymentMethodModelpublic java.lang.String getName(java.util.Locale locale)
getName in interface CommercePaymentMethodModellocale - the locale of the languagepublic java.lang.String getName(java.util.Locale locale,
boolean useDefault)
getName in interface CommercePaymentMethodModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.public java.lang.String getName(java.lang.String languageId)
getName in interface CommercePaymentMethodModellanguageId - the ID of the languagepublic java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getName in interface CommercePaymentMethodModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface CommercePaymentMethodModelpublic java.lang.String getNameCurrentValue()
getNameCurrentValue in interface CommercePaymentMethodModelpublic java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap in interface CommercePaymentMethodModelpublic long getPrimaryKey()
getPrimaryKey in interface CommercePaymentMethodModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface CommercePaymentMethodModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic double getPriority()
getPriority in interface CommercePaymentMethodModelpublic long getUserId()
getUserId in interface CommercePaymentMethodModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommercePaymentMethodModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommercePaymentMethodModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic int hashCode()
hashCode in interface CommercePaymentMethodModelhashCode in class java.lang.Objectpublic boolean isActive()
true if this commerce payment method is active.isActive in interface CommercePaymentMethodModeltrue if this commerce payment method is active; false otherwisepublic boolean isCachedModel()
isCachedModel in interface CommercePaymentMethodModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public boolean isEscapedModel()
isEscapedModel in interface CommercePaymentMethodModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public boolean isNew()
isNew in interface CommercePaymentMethodModelisNew in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface CommercePaymentMethodModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface CommercePaymentMethodModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setActive(boolean active)
setActive in interface CommercePaymentMethodModelactive - the active of this commerce payment methodpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface CommercePaymentMethodModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public void setCommercePaymentMethodId(long commercePaymentMethodId)
setCommercePaymentMethodId in interface CommercePaymentMethodModelcommercePaymentMethodId - the commerce payment method ID of this commerce payment methodpublic void setCompanyId(long companyId)
setCompanyId in interface CommercePaymentMethodModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce payment methodpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommercePaymentMethodModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce payment methodpublic void setDescription(java.lang.String description)
setDescription in interface CommercePaymentMethodModeldescription - the description of this commerce payment methodpublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface CommercePaymentMethodModeldescription - the localized description of this commerce payment methodlocale - the locale of the languagepublic void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
setDescription in interface CommercePaymentMethodModeldescription - the localized description of this commerce payment methodlocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface CommercePaymentMethodModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface CommercePaymentMethodModeldescriptionMap - the locales and localized descriptions of this commerce payment methodpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
setDescriptionMap in interface CommercePaymentMethodModeldescriptionMap - the locales and localized descriptions of this commerce payment methoddefaultLocale - the default localepublic void setEngineKey(java.lang.String engineKey)
setEngineKey in interface CommercePaymentMethodModelengineKey - the engine key of this commerce payment methodpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface CommercePaymentMethodModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface CommercePaymentMethodModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface CommercePaymentMethodModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public void setGroupId(long groupId)
setGroupId in interface CommercePaymentMethodModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce payment methodpublic void setImageId(long imageId)
setImageId in interface CommercePaymentMethodModelimageId - the image ID of this commerce payment methodpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommercePaymentMethodModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce payment methodpublic void setName(java.lang.String name)
setName in interface CommercePaymentMethodModelname - the name of this commerce payment methodpublic void setName(java.lang.String name,
java.util.Locale locale)
setName in interface CommercePaymentMethodModelname - the localized name of this commerce payment methodlocale - the locale of the languagepublic void setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
setName in interface CommercePaymentMethodModelname - the localized name of this commerce payment methodlocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId in interface CommercePaymentMethodModelpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap in interface CommercePaymentMethodModelnameMap - the locales and localized names of this commerce payment methodpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
setNameMap in interface CommercePaymentMethodModelnameMap - the locales and localized names of this commerce payment methoddefaultLocale - the default localepublic void setNew(boolean n)
setNew in interface CommercePaymentMethodModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommercePaymentMethodModelprimaryKey - the primary key of this commerce payment methodpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface CommercePaymentMethodModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPriority(double priority)
setPriority in interface CommercePaymentMethodModelpriority - the priority of this commerce payment methodpublic void setUserId(long userId)
setUserId in interface CommercePaymentMethodModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce payment methodpublic void setUserName(java.lang.String userName)
setUserName in interface CommercePaymentMethodModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce payment methodpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommercePaymentMethodModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce payment methodpublic com.liferay.portal.kernel.model.CacheModel<CommercePaymentMethod> toCacheModel()
toCacheModel in interface CommercePaymentMethodModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public CommercePaymentMethod toEscapedModel()
toEscapedModel in interface CommercePaymentMethodModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public java.lang.String toString()
toString in interface CommercePaymentMethodModeltoString in class java.lang.Objectpublic CommercePaymentMethod toUnescapedModel()
toUnescapedModel in interface CommercePaymentMethodModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public java.lang.String toXmlString()
toXmlString in interface CommercePaymentMethodModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic CommercePaymentMethod getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<CommercePaymentMethod>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommercePaymentMethod>