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 TypeMethodDescriptionint
Returns the activation status of this cp definition virtual setting.String[]
Returns the fully qualified class name of this cp definition virtual setting.long
Returns the class name ID of this cp definition virtual setting.long
Returns the class pk of this cp definition virtual setting.long
Returns the company ID of this cp definition virtual setting.long
Returns the cp definition virtual setting ID of this cp definition virtual setting.Returns the create date of this cp definition virtual setting.long
Returns the duration of this cp definition virtual setting.long
Returns the group ID of this cp definition virtual setting.Returns the last publish date of this cp definition virtual setting.int
Returns the max usages of this cp definition virtual setting.Returns the modified date of this cp definition virtual setting.long
Returns the mvcc version of this cp definition virtual setting.boolean
Returns the override of this cp definition virtual setting.long
Returns the primary key of this cp definition virtual setting.long
Returns 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.long
Returns the terms of use journal article resource prim key of this cp definition virtual setting.boolean
Returns the terms of use required of this cp definition virtual setting.long
Returns 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.boolean
Returns the use sample of this cp definition virtual setting.getUuid()
Returns the uuid of this cp definition virtual setting.boolean
Returnstrue
if this cp definition virtual setting is override.boolean
Returnstrue
if this cp definition virtual setting is terms of use required.boolean
Returnstrue
if this cp definition virtual setting is use sample.void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setActivationStatus
(int activationStatus) Sets the activation status of this cp definition virtual setting.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this cp definition virtual setting.void
setClassPK
(long classPK) Sets the class pk of this cp definition virtual setting.void
setCompanyId
(long companyId) Sets the company ID of this cp definition virtual setting.void
setCPDefinitionVirtualSettingId
(long CPDefinitionVirtualSettingId) Sets the cp definition virtual setting ID of this cp definition virtual setting.void
setCreateDate
(Date createDate) Sets the create date of this cp definition virtual setting.void
setDuration
(long duration) Sets the duration of this cp definition virtual setting.void
setGroupId
(long groupId) Sets the group ID of this cp definition virtual setting.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this cp definition virtual setting.void
setMaxUsages
(int maxUsages) Sets the max usages of this cp definition virtual setting.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this cp definition virtual setting.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this cp definition virtual setting.void
setOverride
(boolean override) Sets whether this cp definition virtual setting is override.void
setPrimaryKey
(long primaryKey) Sets the primary key of this cp definition virtual setting.void
setSampleFileEntryId
(long sampleFileEntryId) Sets the sample file entry ID of this cp definition virtual setting.void
setSampleURL
(String sampleURL) Sets the sample url of this cp definition virtual setting.void
setTermsOfUseContent
(String termsOfUseContent) Sets the terms of use content of this cp definition virtual setting.void
setTermsOfUseContent
(String termsOfUseContent, Locale locale) Sets the localized terms of use content of this cp definition virtual setting in the language.void
setTermsOfUseContent
(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.void
setTermsOfUseContentCurrentLanguageId
(String languageId) void
setTermsOfUseContentMap
(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.void
setTermsOfUseContentMap
(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.void
setTermsOfUseJournalArticleResourcePrimKey
(long termsOfUseJournalArticleResourcePrimKey) Sets the terms of use journal article resource prim key of this cp definition virtual setting.void
setTermsOfUseRequired
(boolean termsOfUseRequired) Sets whether this cp definition virtual setting is terms of use required.void
setUserId
(long userId) Sets the user ID of this cp definition virtual setting.void
setUserName
(String userName) Sets the user name of this cp definition virtual setting.void
setUserUuid
(String userUuid) Sets the user uuid of this cp definition virtual setting.void
setUseSample
(boolean useSample) Sets whether this cp definition virtual setting is use sample.void
Sets the uuid of this cp definition virtual setting.default String
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods 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:
getMvccVersion
in 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:
setMvccVersion
in 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:
getUuid
in 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:
setUuid
in 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:
getGroupId
in 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:
setGroupId
in 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:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in 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:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in 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:
getUserId
in 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:
setUserId
in 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:
getUserUuid
in 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:
setUserUuid
in 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:
getUserName
in 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:
setUserName
in 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:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in 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:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in 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:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in 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:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in 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:
getClassName
in 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:
getClassNameId
in 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:
setClassNameId
in 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:
getClassPK
in 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:
setClassPK
in 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()Returnstrue
if this cp definition virtual setting is use sample.- Returns:
true
if this cp definition virtual setting is use sample;false
otherwise
-
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()Returnstrue
if this cp definition virtual setting is terms of use required.- Returns:
true
if this cp definition virtual setting is terms of use required;false
otherwise
-
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
useDefault
isfalse
and 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()Returnstrue
if this cp definition virtual setting is override.- Returns:
true
if this cp definition virtual setting is override;false
otherwise
-
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:
getLastPublishDate
in 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:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this cp definition virtual setting
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in 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:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
CPDefinitionVirtualSetting cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionVirtualSetting>
-
toXmlString
-