Class CPAttachmentFileEntryWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPAttachmentFileEntry>
com.liferay.commerce.product.model.CPAttachmentFileEntryWrapper
- All Implemented Interfaces:
CPAttachmentFileEntry,CPAttachmentFileEntryModel,com.liferay.portal.kernel.model.AttachedModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>,com.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.LocalizedModel,com.liferay.portal.kernel.model.ModelWrapper<CPAttachmentFileEntry>,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,com.liferay.portal.kernel.model.WorkflowedModel,Serializable,Cloneable,Comparable<CPAttachmentFileEntry>
public class CPAttachmentFileEntryWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPAttachmentFileEntry>
implements CPAttachmentFileEntry, com.liferay.portal.kernel.model.ModelWrapper<CPAttachmentFileEntry>
This class is a wrapper for CPAttachmentFileEntry.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.commerce.product.model.CPAttachmentFileEntry
CP_ATTACHMENT_FILE_ENTRY_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.repository.model.FileEntryString[]booleanReturns the cdn enabled of this cp attachment file entry.Returns the cdn url of this cp attachment file entry.Returns the fully qualified class name of this cp attachment file entry.longReturns the class name ID of this cp attachment file entry.longReturns the class pk of this cp attachment file entry.longReturns the company ID of this cp attachment file entry.longReturns the cp attachment file entry ID of this cp attachment file entry.Returns the create date of this cp attachment file entry.longReturns the ct collection ID of this cp attachment file entry.Returns the display date of this cp attachment file entry.Returns the expiration date of this cp attachment file entry.Returns the external reference code of this cp attachment file entry.longReturns the file entry ID of this cp attachment file entry.booleanReturns the gallery enabled of this cp attachment file entry.longReturns the group ID of this cp attachment file entry.getJson()Returns the json of this cp attachment file entry.Returns the last publish date of this cp attachment file entry.Returns the modified date of this cp attachment file entry.longReturns the mvcc version of this cp attachment file entry.longReturns the primary key of this cp attachment file entry.doubleReturns the priority of this cp attachment file entry.com.liferay.exportimport.kernel.lar.StagedModelTypeintReturns the status of this cp attachment file entry.longReturns the status by user ID of this cp attachment file entry.Returns the status by user name of this cp attachment file entry.Returns the status by user uuid of this cp attachment file entry.Returns the status date of this cp attachment file entry.getTitle()Returns the title of this cp attachment file entry.Returns the localized title of this cp attachment file entry in the language.Returns the localized title of this cp attachment file entry in the language, optionally using the default language if no localization exists for the requested language.Returns the localized title of this cp attachment file entry in the language.Returns the localized title of this cp attachment file entry in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized titles of this cp attachment file entry.intgetType()Returns the type of this cp attachment file entry.longReturns the user ID of this cp attachment file entry.Returns the user name of this cp attachment file entry.Returns the user uuid of this cp attachment file entry.getUuid()Returns the uuid of this cp attachment file entry.booleanReturnstrueif this cp attachment file entry is approved.booleanReturnstrueif this cp attachment file entry is cdn enabled.booleanisDenied()Returnstrueif this cp attachment file entry is denied.booleanisDraft()Returnstrueif this cp attachment file entry is a draft.booleanReturnstrueif this cp attachment file entry is expired.booleanReturnstrueif this cp attachment file entry is gallery enabled.booleanReturnstrueif this cp attachment file entry is inactive.booleanReturnstrueif this cp attachment file entry is incomplete.booleanReturnstrueif this cp attachment file entry is pending.booleanReturnstrueif this cp attachment file entry is scheduled.voidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetCDNEnabled(boolean cdnEnabled) Sets whether this cp attachment file entry is cdn enabled.voidSets the cdn url of this cp attachment file entry.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this cp attachment file entry.voidsetClassPK(long classPK) Sets the class pk of this cp attachment file entry.voidsetCompanyId(long companyId) Sets the company ID of this cp attachment file entry.voidsetCPAttachmentFileEntryId(long CPAttachmentFileEntryId) Sets the cp attachment file entry ID of this cp attachment file entry.voidsetCreateDate(Date createDate) Sets the create date of this cp attachment file entry.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp attachment file entry.voidsetDisplayDate(Date displayDate) Sets the display date of this cp attachment file entry.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this cp attachment file entry.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this cp attachment file entry.voidsetFileEntryId(long fileEntryId) Sets the file entry ID of this cp attachment file entry.voidsetGalleryEnabled(boolean galleryEnabled) Sets whether this cp attachment file entry is gallery enabled.voidsetGroupId(long groupId) Sets the group ID of this cp attachment file entry.voidSets the json of this cp attachment file entry.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this cp attachment file entry.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this cp attachment file entry.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this cp attachment file entry.voidsetPrimaryKey(long primaryKey) Sets the primary key of this cp attachment file entry.voidsetPriority(double priority) Sets the priority of this cp attachment file entry.voidsetStatus(int status) Sets the status of this cp attachment file entry.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this cp attachment file entry.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this cp attachment file entry.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this cp attachment file entry.voidsetStatusDate(Date statusDate) Sets the status date of this cp attachment file entry.voidSets the title of this cp attachment file entry.voidSets the localized title of this cp attachment file entry in the language.voidSets the localized title of this cp attachment file entry in the language, and sets the default locale.voidsetTitleCurrentLanguageId(String languageId) voidsetTitleMap(Map<Locale, String> titleMap) Sets the localized titles of this cp attachment file entry from the map of locales and localized titles.voidsetTitleMap(Map<Locale, String> titleMap, Locale defaultLocale) Sets the localized titles of this cp attachment file entry from the map of locales and localized titles, and sets the default locale.voidsetType(int type) Sets the type of this cp attachment file entry.voidsetUserId(long userId) Sets the user ID of this cp attachment file entry.voidsetUserName(String userName) Sets the user name of this cp attachment file entry.voidsetUserUuid(String userUuid) Sets the user uuid of this cp attachment file entry.voidSets the uuid of this cp attachment file entry.protected CPAttachmentFileEntryWrapperwrap(CPAttachmentFileEntry cpAttachmentFileEntry) 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, 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
-
CPAttachmentFileEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>- Specified by:
cloneWithOriginalValuesin interfaceCPAttachmentFileEntryModel
-
fetchFileEntry
public com.liferay.portal.kernel.repository.model.FileEntry fetchFileEntry() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
fetchFileEntryin interfaceCPAttachmentFileEntry- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceCPAttachmentFileEntryModel- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCDNEnabled
public boolean getCDNEnabled()Returns the cdn enabled of this cp attachment file entry.- Specified by:
getCDNEnabledin interfaceCPAttachmentFileEntryModel- Returns:
- the cdn enabled of this cp attachment file entry
-
getCDNURL
Returns the cdn url of this cp attachment file entry.- Specified by:
getCDNURLin interfaceCPAttachmentFileEntryModel- Returns:
- the cdn url of this cp attachment file entry
-
getClassName
Returns the fully qualified class name of this cp attachment file entry.- Specified by:
getClassNamein interfaceCPAttachmentFileEntryModel- Specified by:
getClassNamein interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the fully qualified class name of this cp attachment file entry
-
getClassNameId
public long getClassNameId()Returns the class name ID of this cp attachment file entry.- Specified by:
getClassNameIdin interfaceCPAttachmentFileEntryModel- Specified by:
getClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Returns:
- the class name ID of this cp attachment file entry
-
getClassPK
public long getClassPK()Returns the class pk of this cp attachment file entry.- Specified by:
getClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Specified by:
getClassPKin interfaceCPAttachmentFileEntryModel- Returns:
- the class pk of this cp attachment file entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this cp attachment file entry.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCPAttachmentFileEntryModel- 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 attachment file entry
-
getCPAttachmentFileEntryId
public long getCPAttachmentFileEntryId()Returns the cp attachment file entry ID of this cp attachment file entry.- Specified by:
getCPAttachmentFileEntryIdin interfaceCPAttachmentFileEntryModel- Returns:
- the cp attachment file entry ID of this cp attachment file entry
-
getCreateDate
Returns the create date of this cp attachment file entry.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCPAttachmentFileEntryModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this cp attachment file entry
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this cp attachment file entry.- Specified by:
getCtCollectionIdin interfaceCPAttachmentFileEntryModel- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>- Returns:
- the ct collection ID of this cp attachment file entry
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceCPAttachmentFileEntryModel- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDisplayDate
Returns the display date of this cp attachment file entry.- Specified by:
getDisplayDatein interfaceCPAttachmentFileEntryModel- Returns:
- the display date of this cp attachment file entry
-
getExpirationDate
Returns the expiration date of this cp attachment file entry.- Specified by:
getExpirationDatein interfaceCPAttachmentFileEntryModel- Returns:
- the expiration date of this cp attachment file entry
-
getExternalReferenceCode
Returns the external reference code of this cp attachment file entry.- Specified by:
getExternalReferenceCodein interfaceCPAttachmentFileEntryModel- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this cp attachment file entry
-
getFileEntryId
public long getFileEntryId()Returns the file entry ID of this cp attachment file entry.- Specified by:
getFileEntryIdin interfaceCPAttachmentFileEntryModel- Returns:
- the file entry ID of this cp attachment file entry
-
getGalleryEnabled
public boolean getGalleryEnabled()Returns the gallery enabled of this cp attachment file entry.- Specified by:
getGalleryEnabledin interfaceCPAttachmentFileEntryModel- Returns:
- the gallery enabled of this cp attachment file entry
-
getGroupId
public long getGroupId()Returns the group ID of this cp attachment file entry.- Specified by:
getGroupIdin interfaceCPAttachmentFileEntryModel- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this cp attachment file entry
-
getJson
Returns the json of this cp attachment file entry.- Specified by:
getJsonin interfaceCPAttachmentFileEntryModel- Returns:
- the json of this cp attachment file entry
-
getLastPublishDate
Returns the last publish date of this cp attachment file entry.- Specified by:
getLastPublishDatein interfaceCPAttachmentFileEntryModel- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this cp attachment file entry
-
getModifiedDate
Returns the modified date of this cp attachment file entry.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCPAttachmentFileEntryModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this cp attachment file entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this cp attachment file entry.- Specified by:
getMvccVersionin interfaceCPAttachmentFileEntryModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this cp attachment file entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this cp attachment file entry.- Specified by:
getPrimaryKeyin interfaceCPAttachmentFileEntryModel- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>- Returns:
- the primary key of this cp attachment file entry
-
getPriority
public double getPriority()Returns the priority of this cp attachment file entry.- Specified by:
getPriorityin interfaceCPAttachmentFileEntryModel- Returns:
- the priority of this cp attachment file entry
-
getStatus
public int getStatus()Returns the status of this cp attachment file entry.- Specified by:
getStatusin interfaceCPAttachmentFileEntryModel- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this cp attachment file entry
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this cp attachment file entry.- Specified by:
getStatusByUserIdin interfaceCPAttachmentFileEntryModel- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this cp attachment file entry
-
getStatusByUserName
Returns the status by user name of this cp attachment file entry.- Specified by:
getStatusByUserNamein interfaceCPAttachmentFileEntryModel- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this cp attachment file entry
-
getStatusByUserUuid
Returns the status by user uuid of this cp attachment file entry.- Specified by:
getStatusByUserUuidin interfaceCPAttachmentFileEntryModel- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this cp attachment file entry
-
getStatusDate
Returns the status date of this cp attachment file entry.- Specified by:
getStatusDatein interfaceCPAttachmentFileEntryModel- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this cp attachment file entry
-
getTitle
Returns the title of this cp attachment file entry.- Specified by:
getTitlein interfaceCPAttachmentFileEntryModel- Returns:
- the title of this cp attachment file entry
-
getTitle
Returns the localized title of this cp attachment file entry in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getTitlein interfaceCPAttachmentFileEntryModel- Parameters:
locale- the locale of the language- Returns:
- the localized title of this cp attachment file entry
-
getTitle
Returns the localized title of this cp attachment file entry in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getTitlein interfaceCPAttachmentFileEntryModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized title of this cp attachment file entry. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getTitle
Returns the localized title of this cp attachment file entry in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getTitlein interfaceCPAttachmentFileEntryModel- Parameters:
languageId- the ID of the language- Returns:
- the localized title of this cp attachment file entry
-
getTitle
Returns the localized title of this cp attachment file entry in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getTitlein interfaceCPAttachmentFileEntryModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized title of this cp attachment file entry
-
getTitleCurrentLanguageId
- Specified by:
getTitleCurrentLanguageIdin interfaceCPAttachmentFileEntryModel
-
getTitleCurrentValue
- Specified by:
getTitleCurrentValuein interfaceCPAttachmentFileEntryModel
-
getTitleMap
Returns a map of the locales and localized titles of this cp attachment file entry.- Specified by:
getTitleMapin interfaceCPAttachmentFileEntryModel- Returns:
- the locales and localized titles of this cp attachment file entry
-
getType
public int getType()Returns the type of this cp attachment file entry.- Specified by:
getTypein interfaceCPAttachmentFileEntryModel- Returns:
- the type of this cp attachment file entry
-
getUserId
public long getUserId()Returns the user ID of this cp attachment file entry.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCPAttachmentFileEntryModel- Returns:
- the user ID of this cp attachment file entry
-
getUserName
Returns the user name of this cp attachment file entry.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCPAttachmentFileEntryModel- Returns:
- the user name of this cp attachment file entry
-
getUserUuid
Returns the user uuid of this cp attachment file entry.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCPAttachmentFileEntryModel- Returns:
- the user uuid of this cp attachment file entry
-
getUuid
Returns the uuid of this cp attachment file entry.- Specified by:
getUuidin interfaceCPAttachmentFileEntryModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this cp attachment file entry
-
isApproved
public boolean isApproved()Returnstrueif this cp attachment file entry is approved.- Specified by:
isApprovedin interfaceCPAttachmentFileEntryModel- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp attachment file entry is approved;falseotherwise
-
isCDNEnabled
public boolean isCDNEnabled()Returnstrueif this cp attachment file entry is cdn enabled.- Specified by:
isCDNEnabledin interfaceCPAttachmentFileEntryModel- Returns:
trueif this cp attachment file entry is cdn enabled;falseotherwise
-
isDenied
public boolean isDenied()Returnstrueif this cp attachment file entry is denied.- Specified by:
isDeniedin interfaceCPAttachmentFileEntryModel- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp attachment file entry is denied;falseotherwise
-
isDraft
public boolean isDraft()Returnstrueif this cp attachment file entry is a draft.- Specified by:
isDraftin interfaceCPAttachmentFileEntryModel- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp attachment file entry is a draft;falseotherwise
-
isExpired
public boolean isExpired()Returnstrueif this cp attachment file entry is expired.- Specified by:
isExpiredin interfaceCPAttachmentFileEntryModel- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp attachment file entry is expired;falseotherwise
-
isGalleryEnabled
public boolean isGalleryEnabled()Returnstrueif this cp attachment file entry is gallery enabled.- Specified by:
isGalleryEnabledin interfaceCPAttachmentFileEntryModel- Returns:
trueif this cp attachment file entry is gallery enabled;falseotherwise
-
isInactive
public boolean isInactive()Returnstrueif this cp attachment file entry is inactive.- Specified by:
isInactivein interfaceCPAttachmentFileEntryModel- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp attachment file entry is inactive;falseotherwise
-
isIncomplete
public boolean isIncomplete()Returnstrueif this cp attachment file entry is incomplete.- Specified by:
isIncompletein interfaceCPAttachmentFileEntryModel- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp attachment file entry is incomplete;falseotherwise
-
isPending
public boolean isPending()Returnstrueif this cp attachment file entry is pending.- Specified by:
isPendingin interfaceCPAttachmentFileEntryModel- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp attachment file entry is pending;falseotherwise
-
isScheduled
public boolean isScheduled()Returnstrueif this cp attachment file entry is scheduled.- Specified by:
isScheduledin interfaceCPAttachmentFileEntryModel- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this cp attachment file entry is scheduled;falseotherwise
-
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 interfaceCPAttachmentFileEntryModel- 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 interfaceCPAttachmentFileEntryModel- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCDNEnabled
public void setCDNEnabled(boolean cdnEnabled) Sets whether this cp attachment file entry is cdn enabled.- Specified by:
setCDNEnabledin interfaceCPAttachmentFileEntryModel- Parameters:
cdnEnabled- the cdn enabled of this cp attachment file entry
-
setCDNURL
Sets the cdn url of this cp attachment file entry.- Specified by:
setCDNURLin interfaceCPAttachmentFileEntryModel- Parameters:
cdnURL- the cdn url of this cp attachment file entry
-
setClassName
- Specified by:
setClassNamein interfaceCPAttachmentFileEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this cp attachment file entry.- Specified by:
setClassNameIdin interfaceCPAttachmentFileEntryModel- Specified by:
setClassNameIdin interfacecom.liferay.portal.kernel.model.TypedModel- Parameters:
classNameId- the class name ID of this cp attachment file entry
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this cp attachment file entry.- Specified by:
setClassPKin interfacecom.liferay.portal.kernel.model.AttachedModel- Specified by:
setClassPKin interfaceCPAttachmentFileEntryModel- Parameters:
classPK- the class pk of this cp attachment file entry
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this cp attachment file entry.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCPAttachmentFileEntryModel- 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 attachment file entry
-
setCPAttachmentFileEntryId
public void setCPAttachmentFileEntryId(long CPAttachmentFileEntryId) Sets the cp attachment file entry ID of this cp attachment file entry.- Specified by:
setCPAttachmentFileEntryIdin interfaceCPAttachmentFileEntryModel- Parameters:
CPAttachmentFileEntryId- the cp attachment file entry ID of this cp attachment file entry
-
setCreateDate
Sets the create date of this cp attachment file entry.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCPAttachmentFileEntryModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this cp attachment file entry
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp attachment file entry.- Specified by:
setCtCollectionIdin interfaceCPAttachmentFileEntryModel- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>- Parameters:
ctCollectionId- the ct collection ID of this cp attachment file entry
-
setDisplayDate
Sets the display date of this cp attachment file entry.- Specified by:
setDisplayDatein interfaceCPAttachmentFileEntryModel- Parameters:
displayDate- the display date of this cp attachment file entry
-
setExpirationDate
Sets the expiration date of this cp attachment file entry.- Specified by:
setExpirationDatein interfaceCPAttachmentFileEntryModel- Parameters:
expirationDate- the expiration date of this cp attachment file entry
-
setExternalReferenceCode
Sets the external reference code of this cp attachment file entry.- Specified by:
setExternalReferenceCodein interfaceCPAttachmentFileEntryModel- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this cp attachment file entry
-
setFileEntryId
public void setFileEntryId(long fileEntryId) Sets the file entry ID of this cp attachment file entry.- Specified by:
setFileEntryIdin interfaceCPAttachmentFileEntryModel- Parameters:
fileEntryId- the file entry ID of this cp attachment file entry
-
setGalleryEnabled
public void setGalleryEnabled(boolean galleryEnabled) Sets whether this cp attachment file entry is gallery enabled.- Specified by:
setGalleryEnabledin interfaceCPAttachmentFileEntryModel- Parameters:
galleryEnabled- the gallery enabled of this cp attachment file entry
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this cp attachment file entry.- Specified by:
setGroupIdin interfaceCPAttachmentFileEntryModel- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this cp attachment file entry
-
setJson
Sets the json of this cp attachment file entry.- Specified by:
setJsonin interfaceCPAttachmentFileEntryModel- Parameters:
json- the json of this cp attachment file entry
-
setLastPublishDate
Sets the last publish date of this cp attachment file entry.- Specified by:
setLastPublishDatein interfaceCPAttachmentFileEntryModel- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this cp attachment file entry
-
setModifiedDate
Sets the modified date of this cp attachment file entry.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCPAttachmentFileEntryModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this cp attachment file entry
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp attachment file entry.- Specified by:
setMvccVersionin interfaceCPAttachmentFileEntryModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this cp attachment file entry
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this cp attachment file entry.- Specified by:
setPrimaryKeyin interfaceCPAttachmentFileEntryModel- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>- Parameters:
primaryKey- the primary key of this cp attachment file entry
-
setPriority
public void setPriority(double priority) Sets the priority of this cp attachment file entry.- Specified by:
setPriorityin interfaceCPAttachmentFileEntryModel- Parameters:
priority- the priority of this cp attachment file entry
-
setStatus
public void setStatus(int status) Sets the status of this cp attachment file entry.- Specified by:
setStatusin interfaceCPAttachmentFileEntryModel- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this cp attachment file entry
-
setStatusByUserId
public void setStatusByUserId(long statusByUserId) Sets the status by user ID of this cp attachment file entry.- Specified by:
setStatusByUserIdin interfaceCPAttachmentFileEntryModel- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this cp attachment file entry
-
setStatusByUserName
Sets the status by user name of this cp attachment file entry.- Specified by:
setStatusByUserNamein interfaceCPAttachmentFileEntryModel- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this cp attachment file entry
-
setStatusByUserUuid
Sets the status by user uuid of this cp attachment file entry.- Specified by:
setStatusByUserUuidin interfaceCPAttachmentFileEntryModel- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this cp attachment file entry
-
setStatusDate
Sets the status date of this cp attachment file entry.- Specified by:
setStatusDatein interfaceCPAttachmentFileEntryModel- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this cp attachment file entry
-
setTitle
Sets the title of this cp attachment file entry.- Specified by:
setTitlein interfaceCPAttachmentFileEntryModel- Parameters:
title- the title of this cp attachment file entry
-
setTitle
Sets the localized title of this cp attachment file entry in the language.- Specified by:
setTitlein interfaceCPAttachmentFileEntryModel- Parameters:
title- the localized title of this cp attachment file entrylocale- the locale of the language
-
setTitle
Sets the localized title of this cp attachment file entry in the language, and sets the default locale.- Specified by:
setTitlein interfaceCPAttachmentFileEntryModel- Parameters:
title- the localized title of this cp attachment file entrylocale- the locale of the languagedefaultLocale- the default locale
-
setTitleCurrentLanguageId
- Specified by:
setTitleCurrentLanguageIdin interfaceCPAttachmentFileEntryModel
-
setTitleMap
Sets the localized titles of this cp attachment file entry from the map of locales and localized titles.- Specified by:
setTitleMapin interfaceCPAttachmentFileEntryModel- Parameters:
titleMap- the locales and localized titles of this cp attachment file entry
-
setTitleMap
Sets the localized titles of this cp attachment file entry from the map of locales and localized titles, and sets the default locale.- Specified by:
setTitleMapin interfaceCPAttachmentFileEntryModel- Parameters:
titleMap- the locales and localized titles of this cp attachment file entrydefaultLocale- the default locale
-
setType
public void setType(int type) Sets the type of this cp attachment file entry.- Specified by:
setTypein interfaceCPAttachmentFileEntryModel- Parameters:
type- the type of this cp attachment file entry
-
setUserId
public void setUserId(long userId) Sets the user ID of this cp attachment file entry.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCPAttachmentFileEntryModel- Parameters:
userId- the user ID of this cp attachment file entry
-
setUserName
Sets the user name of this cp attachment file entry.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCPAttachmentFileEntryModel- Parameters:
userName- the user name of this cp attachment file entry
-
setUserUuid
Sets the user uuid of this cp attachment file entry.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCPAttachmentFileEntryModel- Parameters:
userUuid- the user uuid of this cp attachment file entry
-
setUuid
Sets the uuid of this cp attachment file entry.- Specified by:
setUuidin interfaceCPAttachmentFileEntryModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this cp attachment file entry
-
toXmlString
- Specified by:
toXmlStringin interfaceCPAttachmentFileEntryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPAttachmentFileEntry>
-