Class CPDefinitionVirtualSettingWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionVirtualSetting>
com.liferay.commerce.product.type.virtual.model.CPDefinitionVirtualSettingWrapper
- All Implemented Interfaces:
CPDefinitionVirtualSetting
,CPDefinitionVirtualSettingModel
,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
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionVirtualSetting>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TypedModel
,Serializable
,Cloneable
,Comparable<CPDefinitionVirtualSetting>
public class CPDefinitionVirtualSettingWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionVirtualSetting>
implements CPDefinitionVirtualSetting, com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionVirtualSetting>
This class is a wrapper for CPDefinitionVirtualSetting
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.product.type.virtual.model.CPDefinitionVirtualSetting
CP_DEFINITION_VIRTUAL_SETTING_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionCPDefinitionVirtualSettingWrapper
(CPDefinitionVirtualSetting cpDefinitionVirtualSetting) -
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.getCPDVirtualSettingFileEntries
(int start, int end) int
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.com.liferay.portal.kernel.repository.model.FileEntry
long
Returns the sample file entry ID of this cp definition virtual setting.Returns the sample url of this cp definition virtual setting.com.liferay.exportimport.kernel.lar.StagedModelType
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.com.liferay.journal.model.JournalArticle
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.boolean
boolean
void
persist()
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
setModelAttributes
(Map<String, Object> attributes) 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.protected CPDefinitionVirtualSettingWrapper
wrap
(CPDefinitionVirtualSetting cpDefinitionVirtualSetting) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CPDefinitionVirtualSettingWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionVirtualSetting>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionVirtualSetting>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionVirtualSetting>
- Specified by:
cloneWithOriginalValues
in interfaceCPDefinitionVirtualSettingModel
-
getActivationStatus
public int getActivationStatus()Returns the activation status of this cp definition virtual setting.- Specified by:
getActivationStatus
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the activation status of this cp definition virtual setting
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getClassName
Returns the fully qualified class name of this cp definition virtual setting.- Specified by:
getClassName
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the fully qualified class name of this cp definition virtual setting
-
getClassNameId
public long getClassNameId()Returns the class name ID of this cp definition virtual setting.- Specified by:
getClassNameId
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the class name ID of this cp definition virtual setting
-
getClassPK
public long getClassPK()Returns the class pk of this cp definition virtual setting.- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the class pk of this cp definition virtual setting
-
getCompanyId
public 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 interfaceCPDefinitionVirtualSettingModel
- 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
-
getCPDefinitionVirtualSettingId
public long getCPDefinitionVirtualSettingId()Returns the cp definition virtual setting ID of this cp definition virtual setting.- Specified by:
getCPDefinitionVirtualSettingId
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the cp definition virtual setting ID of this cp definition virtual setting
-
getCPDVirtualSettingFileEntries
- Specified by:
getCPDVirtualSettingFileEntries
in interfaceCPDefinitionVirtualSetting
-
getCPDVirtualSettingFileEntries
- Specified by:
getCPDVirtualSettingFileEntries
in interfaceCPDefinitionVirtualSetting
-
getCPDVirtualSettingFileEntriesCount
public int getCPDVirtualSettingFileEntriesCount()- Specified by:
getCPDVirtualSettingFileEntriesCount
in interfaceCPDefinitionVirtualSetting
-
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 interfaceCPDefinitionVirtualSettingModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this cp definition virtual setting
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDuration
public long getDuration()Returns the duration of this cp definition virtual setting.- Specified by:
getDuration
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the duration of this cp definition virtual setting
-
getGroupId
public long getGroupId()Returns the group ID of this cp definition virtual setting.- Specified by:
getGroupId
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this cp definition virtual setting
-
getLastPublishDate
Returns the last publish date of this cp definition virtual setting.- Specified by:
getLastPublishDate
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this cp definition virtual setting
-
getMaxUsages
public int getMaxUsages()Returns the max usages of this cp definition virtual setting.- Specified by:
getMaxUsages
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the max usages of this cp definition virtual setting
-
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 interfaceCPDefinitionVirtualSettingModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this cp definition virtual setting
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this cp definition virtual setting.- Specified by:
getMvccVersion
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this cp definition virtual setting
-
getOverride
public boolean getOverride()Returns the override of this cp definition virtual setting.- Specified by:
getOverride
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the override of this cp definition virtual setting
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this cp definition virtual setting.- Specified by:
getPrimaryKey
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the primary key of this cp definition virtual setting
-
getSampleFileEntry
public com.liferay.portal.kernel.repository.model.FileEntry getSampleFileEntry() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getSampleFileEntry
in interfaceCPDefinitionVirtualSetting
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSampleFileEntryId
public long getSampleFileEntryId()Returns the sample file entry ID of this cp definition virtual setting.- Specified by:
getSampleFileEntryId
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the sample file entry ID of this cp definition virtual setting
-
getSampleURL
Returns the sample url of this cp definition virtual setting.- Specified by:
getSampleURL
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the sample url of this cp definition virtual setting
-
getTermsOfUseContent
Returns the terms of use content of this cp definition virtual setting.- Specified by:
getTermsOfUseContent
in interfaceCPDefinitionVirtualSettingModel
- 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.- Specified by:
getTermsOfUseContent
in interfaceCPDefinitionVirtualSettingModel
- 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.- Specified by:
getTermsOfUseContent
in interfaceCPDefinitionVirtualSettingModel
- 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.- Specified by:
getTermsOfUseContent
in interfaceCPDefinitionVirtualSettingModel
- 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.- Specified by:
getTermsOfUseContent
in interfaceCPDefinitionVirtualSettingModel
- 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
- Specified by:
getTermsOfUseContentCurrentLanguageId
in interfaceCPDefinitionVirtualSettingModel
-
getTermsOfUseContentCurrentValue
- Specified by:
getTermsOfUseContentCurrentValue
in interfaceCPDefinitionVirtualSettingModel
-
getTermsOfUseContentMap
Returns a map of the locales and localized terms of use contents of this cp definition virtual setting.- Specified by:
getTermsOfUseContentMap
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the locales and localized terms of use contents of this cp definition virtual setting
-
getTermsOfUseJournalArticle
public com.liferay.journal.model.JournalArticle getTermsOfUseJournalArticle() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getTermsOfUseJournalArticle
in interfaceCPDefinitionVirtualSetting
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTermsOfUseJournalArticleResourcePrimKey
public long getTermsOfUseJournalArticleResourcePrimKey()Returns the terms of use journal article resource prim key of this cp definition virtual setting.- Specified by:
getTermsOfUseJournalArticleResourcePrimKey
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the terms of use journal article resource prim key of this cp definition virtual setting
-
getTermsOfUseRequired
public boolean getTermsOfUseRequired()Returns the terms of use required of this cp definition virtual setting.- Specified by:
getTermsOfUseRequired
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the terms of use required of this cp definition virtual setting
-
getUserId
public long getUserId()Returns the user ID of this cp definition virtual setting.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the user ID 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
- Specified by:
getUserName
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the user name of this cp definition virtual setting
-
getUserUuid
Returns the user uuid of this cp definition virtual setting.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the user uuid of this cp definition virtual setting
-
getUseSample
public boolean getUseSample()Returns the use sample of this cp definition virtual setting.- Specified by:
getUseSample
in interfaceCPDefinitionVirtualSettingModel
- Returns:
- the use sample of this cp definition virtual setting
-
getUuid
Returns the uuid of this cp definition virtual setting.- Specified by:
getUuid
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this cp definition virtual setting
-
isOverride
public boolean isOverride()Returnstrue
if this cp definition virtual setting is override.- Specified by:
isOverride
in interfaceCPDefinitionVirtualSettingModel
- Returns:
true
if this cp definition virtual setting is override;false
otherwise
-
isTermsOfUseRequired
public boolean isTermsOfUseRequired()Returnstrue
if this cp definition virtual setting is terms of use required.- Specified by:
isTermsOfUseRequired
in interfaceCPDefinitionVirtualSettingModel
- Returns:
true
if this cp definition virtual setting is terms of use required;false
otherwise
-
isUseSample
public boolean isUseSample()Returnstrue
if this cp definition virtual setting is use sample.- Specified by:
isUseSample
in interfaceCPDefinitionVirtualSettingModel
- Returns:
true
if this cp definition virtual setting is use sample;false
otherwise
-
isUseSampleURL
public boolean isUseSampleURL()- Specified by:
isUseSampleURL
in interfaceCPDefinitionVirtualSetting
-
isUseTermsOfUseJournal
public boolean isUseTermsOfUseJournal()- Specified by:
isUseTermsOfUseJournal
in interfaceCPDefinitionVirtualSetting
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setActivationStatus
public void setActivationStatus(int activationStatus) Sets the activation status of this cp definition virtual setting.- Specified by:
setActivationStatus
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
activationStatus
- the activation status of this cp definition virtual setting
-
setClassName
- Specified by:
setClassName
in interfaceCPDefinitionVirtualSettingModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this cp definition virtual setting.- Specified by:
setClassNameId
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Parameters:
classNameId
- the class name ID of this cp definition virtual setting
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this cp definition virtual setting.- Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
classPK
- the class pk of this cp definition virtual setting
-
setCompanyId
public 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 interfaceCPDefinitionVirtualSettingModel
- 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
-
setCPDefinitionVirtualSettingId
public void setCPDefinitionVirtualSettingId(long CPDefinitionVirtualSettingId) Sets the cp definition virtual setting ID of this cp definition virtual setting.- Specified by:
setCPDefinitionVirtualSettingId
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
CPDefinitionVirtualSettingId
- the cp definition virtual setting ID 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 interfaceCPDefinitionVirtualSettingModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this cp definition virtual setting
-
setDuration
public void setDuration(long duration) Sets the duration of this cp definition virtual setting.- Specified by:
setDuration
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
duration
- the duration of this cp definition virtual setting
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this cp definition virtual setting.- Specified by:
setGroupId
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this cp definition virtual setting
-
setLastPublishDate
Sets the last publish date of this cp definition virtual setting.- Specified by:
setLastPublishDate
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this cp definition virtual setting
-
setMaxUsages
public void setMaxUsages(int maxUsages) Sets the max usages of this cp definition virtual setting.- Specified by:
setMaxUsages
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
maxUsages
- the max usages 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 interfaceCPDefinitionVirtualSettingModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this cp definition virtual setting
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition virtual setting.- Specified by:
setMvccVersion
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this cp definition virtual setting
-
setOverride
public void setOverride(boolean override) Sets whether this cp definition virtual setting is override.- Specified by:
setOverride
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
override
- the override of this cp definition virtual setting
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this cp definition virtual setting.- Specified by:
setPrimaryKey
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
primaryKey
- the primary key of this cp definition virtual setting
-
setSampleFileEntryId
public void setSampleFileEntryId(long sampleFileEntryId) Sets the sample file entry ID of this cp definition virtual setting.- Specified by:
setSampleFileEntryId
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
sampleFileEntryId
- the sample file entry ID of this cp definition virtual setting
-
setSampleURL
Sets the sample url of this cp definition virtual setting.- Specified by:
setSampleURL
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
sampleURL
- the sample url of this cp definition virtual setting
-
setTermsOfUseContent
Sets the terms of use content of this cp definition virtual setting.- Specified by:
setTermsOfUseContent
in interfaceCPDefinitionVirtualSettingModel
- 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.- Specified by:
setTermsOfUseContent
in interfaceCPDefinitionVirtualSettingModel
- 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.- Specified by:
setTermsOfUseContent
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
termsOfUseContent
- the localized terms of use content of this cp definition virtual settinglocale
- the locale of the languagedefaultLocale
- the default locale
-
setTermsOfUseContentCurrentLanguageId
- Specified by:
setTermsOfUseContentCurrentLanguageId
in interfaceCPDefinitionVirtualSettingModel
-
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.- Specified by:
setTermsOfUseContentMap
in interfaceCPDefinitionVirtualSettingModel
- 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.- Specified by:
setTermsOfUseContentMap
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
termsOfUseContentMap
- the locales and localized terms of use contents of this cp definition virtual settingdefaultLocale
- the default locale
-
setTermsOfUseJournalArticleResourcePrimKey
public void setTermsOfUseJournalArticleResourcePrimKey(long termsOfUseJournalArticleResourcePrimKey) Sets the terms of use journal article resource prim key of this cp definition virtual setting.- Specified by:
setTermsOfUseJournalArticleResourcePrimKey
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
termsOfUseJournalArticleResourcePrimKey
- the terms of use journal article resource prim key of this cp definition virtual setting
-
setTermsOfUseRequired
public void setTermsOfUseRequired(boolean termsOfUseRequired) Sets whether this cp definition virtual setting is terms of use required.- Specified by:
setTermsOfUseRequired
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
termsOfUseRequired
- the terms of use required of this cp definition virtual setting
-
setUserId
public void setUserId(long userId) Sets the user ID of this cp definition virtual setting.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
userId
- the user ID 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
- Specified by:
setUserName
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
userName
- the user name 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
- Specified by:
setUserUuid
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
userUuid
- the user uuid of this cp definition virtual setting
-
setUseSample
public void setUseSample(boolean useSample) Sets whether this cp definition virtual setting is use sample.- Specified by:
setUseSample
in interfaceCPDefinitionVirtualSettingModel
- Parameters:
useSample
- the use sample of this cp definition virtual setting
-
setUuid
Sets the uuid of this cp definition virtual setting.- Specified by:
setUuid
in interfaceCPDefinitionVirtualSettingModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this cp definition virtual setting
-
toXmlString
- Specified by:
toXmlString
in interfaceCPDefinitionVirtualSettingModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
protected CPDefinitionVirtualSettingWrapper wrap(CPDefinitionVirtualSetting cpDefinitionVirtualSetting) - Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionVirtualSetting>
-