Interface CPDefinitionVirtualSettingModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CPDefinitionVirtualSetting>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CPDefinitionVirtualSetting>,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.LocalizedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedGroupedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.TypedModel
- All Known Subinterfaces:
CPDefinitionVirtualSetting
- All Known Implementing Classes:
CPDefinitionVirtualSettingWrapper
@ProviderType
public interface CPDefinitionVirtualSettingModel
extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<CPDefinitionVirtualSetting>, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel
The base model interface for the CPDefinitionVirtualSetting service. Represents a row in the "CPDefinitionVirtualSetting" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.product.type.virtual.model.impl.CPDefinitionVirtualSettingModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.product.type.virtual.model.impl.CPDefinitionVirtualSettingImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the activation status of this cp definition virtual setting.String[]Returns the fully qualified class name of this cp definition virtual setting.longReturns the class name ID of this cp definition virtual setting.longReturns the class pk of this cp definition virtual setting.longReturns the company ID of this cp definition virtual setting.longReturns the cp definition virtual setting ID of this cp definition virtual setting.Returns the create date of this cp definition virtual setting.longReturns the duration of this cp definition virtual setting.longReturns the group ID of this cp definition virtual setting.Returns the last publish date of this cp definition virtual setting.intReturns the max usages of this cp definition virtual setting.Returns the modified date of this cp definition virtual setting.longReturns the mvcc version of this cp definition virtual setting.booleanReturns the override of this cp definition virtual setting.longReturns the primary key of this cp definition virtual setting.longReturns the sample file entry ID of this cp definition virtual setting.Returns the sample url of this cp definition virtual setting.Returns the terms of use content of this cp definition virtual setting.getTermsOfUseContent(String languageId) Returns the localized terms of use content of this cp definition virtual setting in the language.getTermsOfUseContent(String languageId, boolean useDefault) Returns the localized terms of use content of this cp definition virtual setting in the language, optionally using the default language if no localization exists for the requested language.getTermsOfUseContent(Locale locale) Returns the localized terms of use content of this cp definition virtual setting in the language.getTermsOfUseContent(Locale locale, boolean useDefault) Returns the localized terms of use content of this cp definition virtual setting in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized terms of use contents of this cp definition virtual setting.longReturns the terms of use journal article resource prim key of this cp definition virtual setting.booleanReturns the terms of use required of this cp definition virtual setting.longReturns the user ID of this cp definition virtual setting.Returns the user name of this cp definition virtual setting.Returns the user uuid of this cp definition virtual setting.booleanReturns the use sample of this cp definition virtual setting.getUuid()Returns the uuid of this cp definition virtual setting.booleanReturnstrueif this cp definition virtual setting is override.booleanReturnstrueif this cp definition virtual setting is terms of use required.booleanReturnstrueif this cp definition virtual setting is use sample.voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetActivationStatus(int activationStatus) Sets the activation status of this cp definition virtual setting.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this cp definition virtual setting.voidsetClassPK(long classPK) Sets the class pk of this cp definition virtual setting.voidsetCompanyId(long companyId) Sets the company ID of this cp definition virtual setting.voidsetCPDefinitionVirtualSettingId(long CPDefinitionVirtualSettingId) Sets the cp definition virtual setting ID of this cp definition virtual setting.voidsetCreateDate(Date createDate) Sets the create date of this cp definition virtual setting.voidsetDuration(long duration) Sets the duration of this cp definition virtual setting.voidsetGroupId(long groupId) Sets the group ID of this cp definition virtual setting.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this cp definition virtual setting.voidsetMaxUsages(int maxUsages) Sets the max usages of this cp definition virtual setting.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this cp definition virtual setting.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition virtual setting.voidsetOverride(boolean override) Sets whether this cp definition virtual setting is override.voidsetPrimaryKey(long primaryKey) Sets the primary key of this cp definition virtual setting.voidsetSampleFileEntryId(long sampleFileEntryId) Sets the sample file entry ID of this cp definition virtual setting.voidsetSampleURL(String sampleURL) Sets the sample url of this cp definition virtual setting.voidsetTermsOfUseContent(String termsOfUseContent) Sets the terms of use content of this cp definition virtual setting.voidsetTermsOfUseContent(String termsOfUseContent, Locale locale) Sets the localized terms of use content of this cp definition virtual setting in the language.voidsetTermsOfUseContent(String termsOfUseContent, Locale locale, Locale defaultLocale) Sets the localized terms of use content of this cp definition virtual setting in the language, and sets the default locale.voidsetTermsOfUseContentCurrentLanguageId(String languageId) voidsetTermsOfUseContentMap(Map<Locale, String> termsOfUseContentMap) Sets the localized terms of use contents of this cp definition virtual setting from the map of locales and localized terms of use contents.voidsetTermsOfUseContentMap(Map<Locale, String> termsOfUseContentMap, Locale defaultLocale) Sets the localized terms of use contents of this cp definition virtual setting from the map of locales and localized terms of use contents, and sets the default locale.voidsetTermsOfUseJournalArticleResourcePrimKey(long termsOfUseJournalArticleResourcePrimKey) Sets the terms of use journal article resource prim key of this cp definition virtual setting.voidsetTermsOfUseRequired(boolean termsOfUseRequired) Sets whether this cp definition virtual setting is terms of use required.voidsetUserId(long userId) Sets the user ID of this cp definition virtual setting.voidsetUserName(String userName) Sets the user name of this cp definition virtual setting.voidsetUserUuid(String userUuid) Sets the user uuid of this cp definition virtual setting.voidsetUseSample(boolean useSample) Sets whether this cp definition virtual setting is use sample.voidSets the uuid of this cp definition virtual setting.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this cp definition virtual setting.- Returns:
- the primary key of this cp definition virtual setting
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this cp definition virtual setting.- Parameters:
primaryKey- the primary key of this cp definition virtual setting
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this cp definition virtual setting.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this cp definition virtual setting
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition virtual setting.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this cp definition virtual setting
-
getUuid
Returns the uuid of this cp definition virtual setting.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this cp definition virtual setting
-
setUuid
Sets the uuid of this cp definition virtual setting.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this cp definition virtual setting
-
getCPDefinitionVirtualSettingId
long getCPDefinitionVirtualSettingId()Returns the cp definition virtual setting ID of this cp definition virtual setting.- Returns:
- the cp definition virtual setting ID of this cp definition virtual setting
-
setCPDefinitionVirtualSettingId
void setCPDefinitionVirtualSettingId(long CPDefinitionVirtualSettingId) Sets the cp definition virtual setting ID of this cp definition virtual setting.- Parameters:
CPDefinitionVirtualSettingId- the cp definition virtual setting ID of this cp definition virtual setting
-
getGroupId
long getGroupId()Returns the group ID of this cp definition virtual setting.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this cp definition virtual setting
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this cp definition virtual setting.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this cp definition virtual setting
-
getCompanyId
long getCompanyId()Returns the company ID of this cp definition virtual setting.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this cp definition virtual setting
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this cp definition virtual setting.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this cp definition virtual setting
-
getUserId
long getUserId()Returns the user ID of this cp definition virtual setting.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this cp definition virtual setting
-
setUserId
void setUserId(long userId) Sets the user ID of this cp definition virtual setting.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this cp definition virtual setting
-
getUserUuid
String getUserUuid()Returns the user uuid of this cp definition virtual setting.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this cp definition virtual setting
-
setUserUuid
Sets the user uuid of this cp definition virtual setting.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this cp definition virtual setting
-
getUserName
Returns the user name of this cp definition virtual setting.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this cp definition virtual setting
-
setUserName
Sets the user name of this cp definition virtual setting.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this cp definition virtual setting
-
getCreateDate
Date getCreateDate()Returns the create date of this cp definition virtual setting.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this cp definition virtual setting
-
setCreateDate
Sets the create date of this cp definition virtual setting.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this cp definition virtual setting
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this cp definition virtual setting.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this cp definition virtual setting
-
setModifiedDate
Sets the modified date of this cp definition virtual setting.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this cp definition virtual setting
-
getClassName
String getClassName()Returns the fully qualified class name of this cp definition virtual setting.- Specified by:
getClassNamein interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the fully qualified class name of this cp definition virtual setting
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this cp definition virtual setting.- Specified by:
getClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the class name ID of this cp definition virtual setting
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this cp definition virtual setting.- Specified by:
setClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Parameters:
classNameId- the class name ID of this cp definition virtual setting
-
getClassPK
long getClassPK()Returns the class pk of this cp definition virtual setting.- Specified by:
getClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Returns:
- the class pk of this cp definition virtual setting
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this cp definition virtual setting.- Specified by:
setClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Parameters:
classPK- the class pk of this cp definition virtual setting
-
getActivationStatus
int getActivationStatus()Returns the activation status of this cp definition virtual setting.- Returns:
- the activation status of this cp definition virtual setting
-
setActivationStatus
void setActivationStatus(int activationStatus) Sets the activation status of this cp definition virtual setting.- Parameters:
activationStatus- the activation status of this cp definition virtual setting
-
getDuration
long getDuration()Returns the duration of this cp definition virtual setting.- Returns:
- the duration of this cp definition virtual setting
-
setDuration
void setDuration(long duration) Sets the duration of this cp definition virtual setting.- Parameters:
duration- the duration of this cp definition virtual setting
-
getMaxUsages
int getMaxUsages()Returns the max usages of this cp definition virtual setting.- Returns:
- the max usages of this cp definition virtual setting
-
setMaxUsages
void setMaxUsages(int maxUsages) Sets the max usages of this cp definition virtual setting.- Parameters:
maxUsages- the max usages of this cp definition virtual setting
-
getUseSample
boolean getUseSample()Returns the use sample of this cp definition virtual setting.- Returns:
- the use sample of this cp definition virtual setting
-
isUseSample
boolean isUseSample()Returnstrueif this cp definition virtual setting is use sample.- Returns:
trueif this cp definition virtual setting is use sample;falseotherwise
-
setUseSample
void setUseSample(boolean useSample) Sets whether this cp definition virtual setting is use sample.- Parameters:
useSample- the use sample of this cp definition virtual setting
-
getSampleFileEntryId
long getSampleFileEntryId()Returns the sample file entry ID of this cp definition virtual setting.- Returns:
- the sample file entry ID of this cp definition virtual setting
-
setSampleFileEntryId
void setSampleFileEntryId(long sampleFileEntryId) Sets the sample file entry ID of this cp definition virtual setting.- Parameters:
sampleFileEntryId- the sample file entry ID of this cp definition virtual setting
-
getSampleURL
Returns the sample url of this cp definition virtual setting.- Returns:
- the sample url of this cp definition virtual setting
-
setSampleURL
Sets the sample url of this cp definition virtual setting.- Parameters:
sampleURL- the sample url of this cp definition virtual setting
-
getTermsOfUseRequired
boolean getTermsOfUseRequired()Returns the terms of use required of this cp definition virtual setting.- Returns:
- the terms of use required of this cp definition virtual setting
-
isTermsOfUseRequired
boolean isTermsOfUseRequired()Returnstrueif this cp definition virtual setting is terms of use required.- Returns:
trueif this cp definition virtual setting is terms of use required;falseotherwise
-
setTermsOfUseRequired
void setTermsOfUseRequired(boolean termsOfUseRequired) Sets whether this cp definition virtual setting is terms of use required.- Parameters:
termsOfUseRequired- the terms of use required of this cp definition virtual setting
-
getTermsOfUseContent
String getTermsOfUseContent()Returns the terms of use content of this cp definition virtual setting.- Returns:
- the terms of use content of this cp definition virtual setting
-
getTermsOfUseContent
Returns the localized terms of use content of this cp definition virtual setting in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale- the locale of the language- Returns:
- the localized terms of use content of this cp definition virtual setting
-
getTermsOfUseContent
Returns the localized terms of use content of this cp definition virtual setting in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized terms of use content of this cp definition virtual setting. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getTermsOfUseContent
Returns the localized terms of use content of this cp definition virtual setting in the language. Uses the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the language- Returns:
- the localized terms of use content of this cp definition virtual setting
-
getTermsOfUseContent
Returns the localized terms of use content of this cp definition virtual setting in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized terms of use content of this cp definition virtual setting
-
getTermsOfUseContentCurrentLanguageId
-
getTermsOfUseContentCurrentValue
-
getTermsOfUseContentMap
Returns a map of the locales and localized terms of use contents of this cp definition virtual setting.- Returns:
- the locales and localized terms of use contents of this cp definition virtual setting
-
setTermsOfUseContent
Sets the terms of use content of this cp definition virtual setting.- Parameters:
termsOfUseContent- the terms of use content of this cp definition virtual setting
-
setTermsOfUseContent
Sets the localized terms of use content of this cp definition virtual setting in the language.- Parameters:
termsOfUseContent- the localized terms of use content of this cp definition virtual settinglocale- the locale of the language
-
setTermsOfUseContent
Sets the localized terms of use content of this cp definition virtual setting in the language, and sets the default locale.- Parameters:
termsOfUseContent- the localized terms of use content of this cp definition virtual settinglocale- the locale of the languagedefaultLocale- the default locale
-
setTermsOfUseContentCurrentLanguageId
-
setTermsOfUseContentMap
Sets the localized terms of use contents of this cp definition virtual setting from the map of locales and localized terms of use contents.- Parameters:
termsOfUseContentMap- the locales and localized terms of use contents of this cp definition virtual setting
-
setTermsOfUseContentMap
Sets the localized terms of use contents of this cp definition virtual setting from the map of locales and localized terms of use contents, and sets the default locale.- Parameters:
termsOfUseContentMap- the locales and localized terms of use contents of this cp definition virtual settingdefaultLocale- the default locale
-
getTermsOfUseJournalArticleResourcePrimKey
long getTermsOfUseJournalArticleResourcePrimKey()Returns the terms of use journal article resource prim key of this cp definition virtual setting.- Returns:
- the terms of use journal article resource prim key of this cp definition virtual setting
-
setTermsOfUseJournalArticleResourcePrimKey
void setTermsOfUseJournalArticleResourcePrimKey(long termsOfUseJournalArticleResourcePrimKey) Sets the terms of use journal article resource prim key of this cp definition virtual setting.- Parameters:
termsOfUseJournalArticleResourcePrimKey- the terms of use journal article resource prim key of this cp definition virtual setting
-
getOverride
boolean getOverride()Returns the override of this cp definition virtual setting.- Returns:
- the override of this cp definition virtual setting
-
isOverride
boolean isOverride()Returnstrueif this cp definition virtual setting is override.- Returns:
trueif this cp definition virtual setting is override;falseotherwise
-
setOverride
void setOverride(boolean override) Sets whether this cp definition virtual setting is override.- Parameters:
override- the override of this cp definition virtual setting
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this cp definition virtual setting.- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this cp definition virtual setting
-
setLastPublishDate
Sets the last publish date of this cp definition virtual setting.- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this cp definition virtual setting
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
CPDefinitionVirtualSetting cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionVirtualSetting>
-
toXmlString
-