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
modelFields 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 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.getCPDVirtualSettingFileEntries(int start, int end) intReturns 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.com.liferay.portal.kernel.repository.model.FileEntrylongReturns 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.StagedModelTypeReturns 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.JournalArticlelongReturns 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.booleanbooleanvoidpersist()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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected CPDefinitionVirtualSettingWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, 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.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CPDefinitionVirtualSettingWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionVirtualSetting>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionVirtualSetting>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionVirtualSetting>- Specified by:
cloneWithOriginalValuesin interfaceCPDefinitionVirtualSettingModel
-
getActivationStatus
public int getActivationStatus()Returns the activation status of this cp definition virtual setting.- Specified by:
getActivationStatusin interfaceCPDefinitionVirtualSettingModel- Returns:
- the activation status of this cp definition virtual setting
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceCPDefinitionVirtualSettingModel- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getClassName
Returns the fully qualified class name of this cp definition virtual setting.- Specified by:
getClassNamein interfaceCPDefinitionVirtualSettingModel- Specified by:
getClassNamein 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:
getClassNameIdin interfaceCPDefinitionVirtualSettingModel- Specified by:
getClassNameIdin 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:
getClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Specified by:
getClassPKin 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:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCPDefinitionVirtualSettingModel- 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
-
getCPDefinitionVirtualSettingId
public long getCPDefinitionVirtualSettingId()Returns the cp definition virtual setting ID of this cp definition virtual setting.- Specified by:
getCPDefinitionVirtualSettingIdin interfaceCPDefinitionVirtualSettingModel- Returns:
- the cp definition virtual setting ID of this cp definition virtual setting
-
getCPDVirtualSettingFileEntries
- Specified by:
getCPDVirtualSettingFileEntriesin interfaceCPDefinitionVirtualSetting
-
getCPDVirtualSettingFileEntries
- Specified by:
getCPDVirtualSettingFileEntriesin interfaceCPDefinitionVirtualSetting
-
getCPDVirtualSettingFileEntriesCount
public int getCPDVirtualSettingFileEntriesCount()- Specified by:
getCPDVirtualSettingFileEntriesCountin interfaceCPDefinitionVirtualSetting
-
getCreateDate
Returns the create date of this cp definition virtual setting.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCPDefinitionVirtualSettingModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this cp definition virtual setting
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceCPDefinitionVirtualSettingModel- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDuration
public long getDuration()Returns the duration of this cp definition virtual setting.- Specified by:
getDurationin 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:
getGroupIdin interfaceCPDefinitionVirtualSettingModel- Specified by:
getGroupIdin 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:
getLastPublishDatein interfaceCPDefinitionVirtualSettingModel- Specified by:
getLastPublishDatein 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:
getMaxUsagesin interfaceCPDefinitionVirtualSettingModel- Returns:
- the max usages of this cp definition virtual setting
-
getModifiedDate
Returns the modified date of this cp definition virtual setting.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCPDefinitionVirtualSettingModel- Specified by:
getModifiedDatein 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:
getMvccVersionin interfaceCPDefinitionVirtualSettingModel- Specified by:
getMvccVersionin 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:
getOverridein 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:
getPrimaryKeyin 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:
getSampleFileEntryin 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:
getSampleFileEntryIdin 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:
getSampleURLin 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:
getTermsOfUseContentin 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:
getTermsOfUseContentin 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:
getTermsOfUseContentin 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
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.- Specified by:
getTermsOfUseContentin 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:
getTermsOfUseContentin 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:
getTermsOfUseContentCurrentLanguageIdin interfaceCPDefinitionVirtualSettingModel
-
getTermsOfUseContentCurrentValue
- Specified by:
getTermsOfUseContentCurrentValuein interfaceCPDefinitionVirtualSettingModel
-
getTermsOfUseContentMap
Returns a map of the locales and localized terms of use contents of this cp definition virtual setting.- Specified by:
getTermsOfUseContentMapin 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:
getTermsOfUseJournalArticlein 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:
getTermsOfUseJournalArticleResourcePrimKeyin 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:
getTermsOfUseRequiredin 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:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCPDefinitionVirtualSettingModel- Returns:
- the user ID 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- Specified by:
getUserNamein interfaceCPDefinitionVirtualSettingModel- Returns:
- the user name of this cp definition virtual setting
-
getUserUuid
Returns the user uuid of this cp definition virtual setting.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin 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:
getUseSamplein interfaceCPDefinitionVirtualSettingModel- Returns:
- the use sample of this cp definition virtual setting
-
getUuid
Returns the uuid of this cp definition virtual setting.- Specified by:
getUuidin interfaceCPDefinitionVirtualSettingModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this cp definition virtual setting
-
isOverride
public boolean isOverride()Returnstrueif this cp definition virtual setting is override.- Specified by:
isOverridein interfaceCPDefinitionVirtualSettingModel- Returns:
trueif this cp definition virtual setting is override;falseotherwise
-
isTermsOfUseRequired
public boolean isTermsOfUseRequired()Returnstrueif this cp definition virtual setting is terms of use required.- Specified by:
isTermsOfUseRequiredin interfaceCPDefinitionVirtualSettingModel- Returns:
trueif this cp definition virtual setting is terms of use required;falseotherwise
-
isUseSample
public boolean isUseSample()Returnstrueif this cp definition virtual setting is use sample.- Specified by:
isUseSamplein interfaceCPDefinitionVirtualSettingModel- Returns:
trueif this cp definition virtual setting is use sample;falseotherwise
-
isUseSampleURL
public boolean isUseSampleURL()- Specified by:
isUseSampleURLin interfaceCPDefinitionVirtualSetting
-
isUseTermsOfUseJournal
public boolean isUseTermsOfUseJournal()- Specified by:
isUseTermsOfUseJournalin interfaceCPDefinitionVirtualSetting
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfaceCPDefinitionVirtualSettingModel- Specified by:
prepareLocalizedFieldsForImportin 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:
prepareLocalizedFieldsForImportin interfaceCPDefinitionVirtualSettingModel- Specified by:
prepareLocalizedFieldsForImportin 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:
setActivationStatusin interfaceCPDefinitionVirtualSettingModel- Parameters:
activationStatus- the activation status of this cp definition virtual setting
-
setClassName
- Specified by:
setClassNamein interfaceCPDefinitionVirtualSettingModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this cp definition virtual setting.- Specified by:
setClassNameIdin interfaceCPDefinitionVirtualSettingModel- Specified by:
setClassNameIdin 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:
setClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Specified by:
setClassPKin 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCPDefinitionVirtualSettingModel- 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
-
setCPDefinitionVirtualSettingId
public void setCPDefinitionVirtualSettingId(long CPDefinitionVirtualSettingId) Sets the cp definition virtual setting ID of this cp definition virtual setting.- Specified by:
setCPDefinitionVirtualSettingIdin 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:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCPDefinitionVirtualSettingModel- Specified by:
setCreateDatein 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:
setDurationin 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:
setGroupIdin interfaceCPDefinitionVirtualSettingModel- Specified by:
setGroupIdin 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:
setLastPublishDatein interfaceCPDefinitionVirtualSettingModel- Specified by:
setLastPublishDatein 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:
setMaxUsagesin 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:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCPDefinitionVirtualSettingModel- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceCPDefinitionVirtualSettingModel- Specified by:
setMvccVersionin 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:
setOverridein 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:
setPrimaryKeyin 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:
setSampleFileEntryIdin 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:
setSampleURLin 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:
setTermsOfUseContentin 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:
setTermsOfUseContentin 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:
setTermsOfUseContentin 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:
setTermsOfUseContentCurrentLanguageIdin 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:
setTermsOfUseContentMapin 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:
setTermsOfUseContentMapin 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:
setTermsOfUseJournalArticleResourcePrimKeyin 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:
setTermsOfUseRequiredin 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:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin 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:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein 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:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin 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:
setUseSamplein interfaceCPDefinitionVirtualSettingModel- Parameters:
useSample- the use sample of this cp definition virtual setting
-
setUuid
Sets the uuid of this cp definition virtual setting.- Specified by:
setUuidin interfaceCPDefinitionVirtualSettingModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this cp definition virtual setting
-
toXmlString
- Specified by:
toXmlStringin interfaceCPDefinitionVirtualSettingModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
protected CPDefinitionVirtualSettingWrapper wrap(CPDefinitionVirtualSetting cpDefinitionVirtualSetting) - Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionVirtualSetting>
-