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
model
Fields 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.FileEntry
String[]
boolean
Returns 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.long
Returns the class name ID of this cp attachment file entry.long
Returns the class pk of this cp attachment file entry.long
Returns the company ID of this cp attachment file entry.long
Returns the cp attachment file entry ID of this cp attachment file entry.Returns the create date of this cp attachment file entry.long
Returns 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.long
Returns the file entry ID of this cp attachment file entry.boolean
Returns the gallery enabled of this cp attachment file entry.long
Returns 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.long
Returns the mvcc version of this cp attachment file entry.long
Returns the primary key of this cp attachment file entry.double
Returns the priority of this cp attachment file entry.com.liferay.exportimport.kernel.lar.StagedModelType
int
Returns the status of this cp attachment file entry.long
Returns 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.int
getType()
Returns the type of this cp attachment file entry.long
Returns 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.boolean
Returnstrue
if this cp attachment file entry is approved.boolean
Returnstrue
if this cp attachment file entry is cdn enabled.boolean
isDenied()
Returnstrue
if this cp attachment file entry is denied.boolean
isDraft()
Returnstrue
if this cp attachment file entry is a draft.boolean
Returnstrue
if this cp attachment file entry is expired.boolean
Returnstrue
if this cp attachment file entry is gallery enabled.boolean
Returnstrue
if this cp attachment file entry is inactive.boolean
Returnstrue
if this cp attachment file entry is incomplete.boolean
Returnstrue
if this cp attachment file entry is pending.boolean
Returnstrue
if this cp attachment file entry is scheduled.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCDNEnabled
(boolean cdnEnabled) Sets whether this cp attachment file entry is cdn enabled.void
Sets the cdn url of this cp attachment file entry.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this cp attachment file entry.void
setClassPK
(long classPK) Sets the class pk of this cp attachment file entry.void
setCompanyId
(long companyId) Sets the company ID of this cp attachment file entry.void
setCPAttachmentFileEntryId
(long CPAttachmentFileEntryId) Sets the cp attachment file entry ID of this cp attachment file entry.void
setCreateDate
(Date createDate) Sets the create date of this cp attachment file entry.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this cp attachment file entry.void
setDisplayDate
(Date displayDate) Sets the display date of this cp attachment file entry.void
setExpirationDate
(Date expirationDate) Sets the expiration date of this cp attachment file entry.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this cp attachment file entry.void
setFileEntryId
(long fileEntryId) Sets the file entry ID of this cp attachment file entry.void
setGalleryEnabled
(boolean galleryEnabled) Sets whether this cp attachment file entry is gallery enabled.void
setGroupId
(long groupId) Sets the group ID of this cp attachment file entry.void
Sets the json of this cp attachment file entry.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this cp attachment file entry.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this cp attachment file entry.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this cp attachment file entry.void
setPrimaryKey
(long primaryKey) Sets the primary key of this cp attachment file entry.void
setPriority
(double priority) Sets the priority of this cp attachment file entry.void
setStatus
(int status) Sets the status of this cp attachment file entry.void
setStatusByUserId
(long statusByUserId) Sets the status by user ID of this cp attachment file entry.void
setStatusByUserName
(String statusByUserName) Sets the status by user name of this cp attachment file entry.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this cp attachment file entry.void
setStatusDate
(Date statusDate) Sets the status date of this cp attachment file entry.void
Sets the title of this cp attachment file entry.void
Sets the localized title of this cp attachment file entry in the language.void
Sets the localized title of this cp attachment file entry in the language, and sets the default locale.void
setTitleCurrentLanguageId
(String languageId) void
setTitleMap
(Map<Locale, String> titleMap) Sets the localized titles of this cp attachment file entry from the map of locales and localized titles.void
setTitleMap
(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.void
setType
(int type) Sets the type of this cp attachment file entry.void
setUserId
(long userId) Sets the user ID of this cp attachment file entry.void
setUserName
(String userName) Sets the user name of this cp attachment file entry.void
setUserUuid
(String userUuid) Sets the user uuid of this cp attachment file entry.void
Sets the uuid of this cp attachment file entry.protected CPAttachmentFileEntryWrapper
wrap
(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, 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, 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
-
CPAttachmentFileEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>
- Specified by:
cloneWithOriginalValues
in interfaceCPAttachmentFileEntryModel
-
fetchFileEntry
public com.liferay.portal.kernel.repository.model.FileEntry fetchFileEntry() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
fetchFileEntry
in interfaceCPAttachmentFileEntry
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCPAttachmentFileEntryModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCDNEnabled
public boolean getCDNEnabled()Returns the cdn enabled of this cp attachment file entry.- Specified by:
getCDNEnabled
in interfaceCPAttachmentFileEntryModel
- Returns:
- the cdn enabled of this cp attachment file entry
-
getCDNURL
Returns the cdn url of this cp attachment file entry.- Specified by:
getCDNURL
in 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:
getClassName
in interfaceCPAttachmentFileEntryModel
- Specified by:
getClassName
in 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:
getClassNameId
in interfaceCPAttachmentFileEntryModel
- Specified by:
getClassNameId
in 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:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in 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:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCPAttachmentFileEntryModel
- 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 attachment file entry
-
getCPAttachmentFileEntryId
public long getCPAttachmentFileEntryId()Returns the cp attachment file entry ID of this cp attachment file entry.- Specified by:
getCPAttachmentFileEntryId
in 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:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCPAttachmentFileEntryModel
- Specified by:
getCreateDate
in 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:
getCtCollectionId
in interfaceCPAttachmentFileEntryModel
- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPAttachmentFileEntry>
- Returns:
- the ct collection ID of this cp attachment file entry
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceCPAttachmentFileEntryModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDisplayDate
Returns the display date of this cp attachment file entry.- Specified by:
getDisplayDate
in interfaceCPAttachmentFileEntryModel
- Returns:
- the display date of this cp attachment file entry
-
getExpirationDate
Returns the expiration date of this cp attachment file entry.- Specified by:
getExpirationDate
in 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:
getExternalReferenceCode
in interfaceCPAttachmentFileEntryModel
- Specified by:
getExternalReferenceCode
in 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:
getFileEntryId
in 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:
getGalleryEnabled
in 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:
getGroupId
in interfaceCPAttachmentFileEntryModel
- Specified by:
getGroupId
in 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:
getJson
in interfaceCPAttachmentFileEntryModel
- Returns:
- the json of this cp attachment file entry
-
getLastPublishDate
Returns the last publish date of this cp attachment file entry.- Specified by:
getLastPublishDate
in interfaceCPAttachmentFileEntryModel
- Specified by:
getLastPublishDate
in 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:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCPAttachmentFileEntryModel
- Specified by:
getModifiedDate
in 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:
getMvccVersion
in interfaceCPAttachmentFileEntryModel
- Specified by:
getMvccVersion
in 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:
getPrimaryKey
in interfaceCPAttachmentFileEntryModel
- Specified by:
getPrimaryKey
in 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:
getPriority
in 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:
getStatus
in interfaceCPAttachmentFileEntryModel
- Specified by:
getStatus
in 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:
getStatusByUserId
in interfaceCPAttachmentFileEntryModel
- Specified by:
getStatusByUserId
in 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:
getStatusByUserName
in interfaceCPAttachmentFileEntryModel
- Specified by:
getStatusByUserName
in 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:
getStatusByUserUuid
in interfaceCPAttachmentFileEntryModel
- Specified by:
getStatusByUserUuid
in 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:
getStatusDate
in interfaceCPAttachmentFileEntryModel
- Specified by:
getStatusDate
in 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:
getTitle
in 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:
getTitle
in 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:
getTitle
in 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
useDefault
isfalse
and 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:
getTitle
in 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:
getTitle
in 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:
getTitleCurrentLanguageId
in interfaceCPAttachmentFileEntryModel
-
getTitleCurrentValue
- Specified by:
getTitleCurrentValue
in interfaceCPAttachmentFileEntryModel
-
getTitleMap
Returns a map of the locales and localized titles of this cp attachment file entry.- Specified by:
getTitleMap
in 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:
getType
in 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:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCPAttachmentFileEntryModel
- Returns:
- the user ID of this cp attachment file entry
-
getUserName
Returns the user name of this cp attachment file entry.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCPAttachmentFileEntryModel
- Returns:
- the user name of this cp attachment file entry
-
getUserUuid
Returns the user uuid of this cp attachment file entry.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCPAttachmentFileEntryModel
- Returns:
- the user uuid of this cp attachment file entry
-
getUuid
Returns the uuid of this cp attachment file entry.- Specified by:
getUuid
in interfaceCPAttachmentFileEntryModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this cp attachment file entry
-
isApproved
public boolean isApproved()Returnstrue
if this cp attachment file entry is approved.- Specified by:
isApproved
in interfaceCPAttachmentFileEntryModel
- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp attachment file entry is approved;false
otherwise
-
isCDNEnabled
public boolean isCDNEnabled()Returnstrue
if this cp attachment file entry is cdn enabled.- Specified by:
isCDNEnabled
in interfaceCPAttachmentFileEntryModel
- Returns:
true
if this cp attachment file entry is cdn enabled;false
otherwise
-
isDenied
public boolean isDenied()Returnstrue
if this cp attachment file entry is denied.- Specified by:
isDenied
in interfaceCPAttachmentFileEntryModel
- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp attachment file entry is denied;false
otherwise
-
isDraft
public boolean isDraft()Returnstrue
if this cp attachment file entry is a draft.- Specified by:
isDraft
in interfaceCPAttachmentFileEntryModel
- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp attachment file entry is a draft;false
otherwise
-
isExpired
public boolean isExpired()Returnstrue
if this cp attachment file entry is expired.- Specified by:
isExpired
in interfaceCPAttachmentFileEntryModel
- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp attachment file entry is expired;false
otherwise
-
isGalleryEnabled
public boolean isGalleryEnabled()Returnstrue
if this cp attachment file entry is gallery enabled.- Specified by:
isGalleryEnabled
in interfaceCPAttachmentFileEntryModel
- Returns:
true
if this cp attachment file entry is gallery enabled;false
otherwise
-
isInactive
public boolean isInactive()Returnstrue
if this cp attachment file entry is inactive.- Specified by:
isInactive
in interfaceCPAttachmentFileEntryModel
- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp attachment file entry is inactive;false
otherwise
-
isIncomplete
public boolean isIncomplete()Returnstrue
if this cp attachment file entry is incomplete.- Specified by:
isIncomplete
in interfaceCPAttachmentFileEntryModel
- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp attachment file entry is incomplete;false
otherwise
-
isPending
public boolean isPending()Returnstrue
if this cp attachment file entry is pending.- Specified by:
isPending
in interfaceCPAttachmentFileEntryModel
- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp attachment file entry is pending;false
otherwise
-
isScheduled
public boolean isScheduled()Returnstrue
if this cp attachment file entry is scheduled.- Specified by:
isScheduled
in interfaceCPAttachmentFileEntryModel
- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cp attachment file entry is scheduled;false
otherwise
-
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 interfaceCPAttachmentFileEntryModel
- 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 interfaceCPAttachmentFileEntryModel
- Specified by:
prepareLocalizedFieldsForImport
in 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:
setCDNEnabled
in 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:
setCDNURL
in interfaceCPAttachmentFileEntryModel
- Parameters:
cdnURL
- the cdn url of this cp attachment file entry
-
setClassName
- Specified by:
setClassName
in interfaceCPAttachmentFileEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this cp attachment file entry.- Specified by:
setClassNameId
in interfaceCPAttachmentFileEntryModel
- Specified by:
setClassNameId
in 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:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in 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:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCPAttachmentFileEntryModel
- 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 attachment file entry
-
setCPAttachmentFileEntryId
public void setCPAttachmentFileEntryId(long CPAttachmentFileEntryId) Sets the cp attachment file entry ID of this cp attachment file entry.- Specified by:
setCPAttachmentFileEntryId
in 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:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCPAttachmentFileEntryModel
- Specified by:
setCreateDate
in 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:
setCtCollectionId
in interfaceCPAttachmentFileEntryModel
- Specified by:
setCtCollectionId
in 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:
setDisplayDate
in 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:
setExpirationDate
in 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:
setExternalReferenceCode
in interfaceCPAttachmentFileEntryModel
- Specified by:
setExternalReferenceCode
in 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:
setFileEntryId
in 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:
setGalleryEnabled
in 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:
setGroupId
in interfaceCPAttachmentFileEntryModel
- Specified by:
setGroupId
in 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:
setJson
in 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:
setLastPublishDate
in interfaceCPAttachmentFileEntryModel
- Specified by:
setLastPublishDate
in 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:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCPAttachmentFileEntryModel
- Specified by:
setModifiedDate
in 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:
setMvccVersion
in interfaceCPAttachmentFileEntryModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in interfaceCPAttachmentFileEntryModel
- Specified by:
setPrimaryKey
in 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:
setPriority
in 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:
setStatus
in interfaceCPAttachmentFileEntryModel
- Specified by:
setStatus
in 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:
setStatusByUserId
in interfaceCPAttachmentFileEntryModel
- Specified by:
setStatusByUserId
in 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:
setStatusByUserName
in interfaceCPAttachmentFileEntryModel
- Specified by:
setStatusByUserName
in 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:
setStatusByUserUuid
in interfaceCPAttachmentFileEntryModel
- Specified by:
setStatusByUserUuid
in 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:
setStatusDate
in interfaceCPAttachmentFileEntryModel
- Specified by:
setStatusDate
in 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:
setTitle
in 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:
setTitle
in 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:
setTitle
in interfaceCPAttachmentFileEntryModel
- Parameters:
title
- the localized title of this cp attachment file entrylocale
- the locale of the languagedefaultLocale
- the default locale
-
setTitleCurrentLanguageId
- Specified by:
setTitleCurrentLanguageId
in interfaceCPAttachmentFileEntryModel
-
setTitleMap
Sets the localized titles of this cp attachment file entry from the map of locales and localized titles.- Specified by:
setTitleMap
in 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:
setTitleMap
in 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:
setType
in 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:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in 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:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in 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:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCPAttachmentFileEntryModel
- Parameters:
userUuid
- the user uuid of this cp attachment file entry
-
setUuid
Sets the uuid of this cp attachment file entry.- Specified by:
setUuid
in interfaceCPAttachmentFileEntryModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this cp attachment file entry
-
toXmlString
- Specified by:
toXmlString
in interfaceCPAttachmentFileEntryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPAttachmentFileEntry>
-