@ProviderType public interface CPAttachmentFileEntryModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<CPAttachmentFileEntry>, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.WorkflowedModel
This interface and its corresponding implementation com.liferay.commerce.product.model.impl.CPAttachmentFileEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.product.model.impl.CPAttachmentFileEntryImpl.
CPAttachmentFileEntry| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this cp attachment file entry.
|
long |
getClassNameId()
Returns the class name ID of this cp attachment file entry.
|
long |
getClassPK()
Returns the class pk of this cp attachment file entry.
|
long |
getCompanyId()
Returns the company ID of this cp attachment file entry.
|
long |
getCPAttachmentFileEntryId()
Returns the cp attachment file entry ID of this cp attachment file entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this cp attachment file entry.
|
java.lang.String |
getDefaultLanguageId() |
java.util.Date |
getDisplayDate()
Returns the display date of this cp attachment file entry.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this cp attachment file entry.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this cp attachment file entry.
|
long |
getFileEntryId()
Returns the file entry ID of this cp attachment file entry.
|
long |
getGroupId()
Returns the group ID of this cp attachment file entry.
|
java.lang.String |
getJson()
Returns the json of this cp attachment file entry.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this cp attachment file entry.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this cp attachment file entry.
|
long |
getPrimaryKey()
Returns the primary key of this cp attachment file entry.
|
double |
getPriority()
Returns the priority of this cp attachment file entry.
|
int |
getStatus()
Returns the status of this cp attachment file entry.
|
long |
getStatusByUserId()
Returns the status by user ID of this cp attachment file entry.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this cp attachment file entry.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this cp attachment file entry.
|
java.util.Date |
getStatusDate()
Returns the status date of this cp attachment file entry.
|
java.lang.String |
getTitle()
Returns the title of this cp attachment file entry.
|
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized title of this cp attachment file entry in the language.
|
java.lang.String |
getTitle(java.util.Locale locale,
boolean useDefault)
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.
|
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this cp attachment file entry in the language.
|
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault)
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.
|
java.lang.String |
getTitleCurrentLanguageId() |
java.lang.String |
getTitleCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
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 |
getUserId()
Returns the user ID of this cp attachment file entry.
|
java.lang.String |
getUserName()
Returns the user name of this cp attachment file entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this cp attachment file entry.
|
java.lang.String |
getUuid()
Returns the uuid of this cp attachment file entry.
|
boolean |
isApproved()
Returns
true if this cp attachment file entry is approved. |
boolean |
isDenied()
Returns
true if this cp attachment file entry is denied. |
boolean |
isDraft()
Returns
true if this cp attachment file entry is a draft. |
boolean |
isExpired()
Returns
true if this cp attachment file entry is expired. |
boolean |
isInactive()
Returns
true if this cp attachment file entry is inactive. |
boolean |
isIncomplete()
Returns
true if this cp attachment file entry is incomplete. |
boolean |
isPending()
Returns
true if this cp attachment file entry is pending. |
boolean |
isScheduled()
Returns
true if this cp attachment file entry is scheduled. |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setClassName(java.lang.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(java.util.Date createDate)
Sets the create date of this cp attachment file entry.
|
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this cp attachment file entry.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this cp attachment file entry.
|
void |
setExternalReferenceCode(java.lang.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 |
setGroupId(long groupId)
Sets the group ID of this cp attachment file entry.
|
void |
setJson(java.lang.String json)
Sets the json of this cp attachment file entry.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this cp attachment file entry.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date 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(java.lang.String statusByUserName)
Sets the status by user name of this cp attachment file entry.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this cp attachment file entry.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this cp attachment file entry.
|
void |
setTitle(java.lang.String title)
Sets the title of this cp attachment file entry.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale)
Sets the localized title of this cp attachment file entry in the language.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized title of this cp attachment file entry in the language, and sets the default locale.
|
void |
setTitleCurrentLanguageId(java.lang.String languageId) |
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
Sets the localized titles of this cp attachment file entry from the map of locales and localized titles.
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.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(java.lang.String userName)
Sets the user name of this cp attachment file entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this cp attachment file entry.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this cp attachment file entry.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringlong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this cp attachment file entry@AutoEscape java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this cp attachment file entry@AutoEscape java.lang.String getExternalReferenceCode()
void setExternalReferenceCode(java.lang.String externalReferenceCode)
externalReferenceCode - the external reference code of this cp attachment file entrylong getCPAttachmentFileEntryId()
void setCPAttachmentFileEntryId(long CPAttachmentFileEntryId)
CPAttachmentFileEntryId - the cp attachment file entry ID of this cp attachment file entrylong getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this cp attachment file entrylong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this cp attachment file entrylong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this cp attachment file entryjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this cp attachment file entry@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this cp attachment file entryjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this cp attachment file entryjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this cp attachment file entryjava.lang.String getClassName()
getClassName in interface com.liferay.portal.kernel.model.TypedModelvoid setClassName(java.lang.String className)
long getClassNameId()
getClassNameId in interface com.liferay.portal.kernel.model.TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this cp attachment file entrylong getClassPK()
getClassPK in interface com.liferay.portal.kernel.model.AttachedModelvoid setClassPK(long classPK)
setClassPK in interface com.liferay.portal.kernel.model.AttachedModelclassPK - the class pk of this cp attachment file entrylong getFileEntryId()
void setFileEntryId(long fileEntryId)
fileEntryId - the file entry ID of this cp attachment file entryjava.util.Date getDisplayDate()
void setDisplayDate(java.util.Date displayDate)
displayDate - the display date of this cp attachment file entryjava.util.Date getExpirationDate()
void setExpirationDate(java.util.Date expirationDate)
expirationDate - the expiration date of this cp attachment file entryjava.lang.String getTitle()
@AutoEscape java.lang.String getTitle(java.util.Locale locale)
locale - the locale of the language@AutoEscape
java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getTitle(java.lang.String languageId)
languageId - the ID of the language@AutoEscape
java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getTitleCurrentLanguageId()
@AutoEscape java.lang.String getTitleCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
void setTitle(java.lang.String title)
title - the title of this cp attachment file entryvoid setTitle(java.lang.String title,
java.util.Locale locale)
title - the localized title of this cp attachment file entrylocale - the locale of the languagevoid setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
title - the localized title of this cp attachment file entrylocale - the locale of the languagedefaultLocale - the default localevoid setTitleCurrentLanguageId(java.lang.String languageId)
void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
titleMap - the locales and localized titles of this cp attachment file entryvoid setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
titleMap - the locales and localized titles of this cp attachment file entrydefaultLocale - the default locale@AutoEscape java.lang.String getJson()
void setJson(java.lang.String json)
json - the json of this cp attachment file entrydouble getPriority()
void setPriority(double priority)
priority - the priority of this cp attachment file entryint getType()
void setType(int type)
type - the type of this cp attachment file entryjava.util.Date getLastPublishDate()
getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelvoid setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this cp attachment file entryint getStatus()
getStatus in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatus(int status)
setStatus in interface com.liferay.portal.kernel.model.WorkflowedModelstatus - the status of this cp attachment file entrylong getStatusByUserId()
getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusByUserId(long statusByUserId)
setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserId - the status by user ID of this cp attachment file entryjava.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserUuid - the status by user uuid of this cp attachment file entry@AutoEscape java.lang.String getStatusByUserName()
getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModelstatusByUserName - the status by user name of this cp attachment file entryjava.util.Date getStatusDate()
getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelvoid setStatusDate(java.util.Date statusDate)
setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModelstatusDate - the status date of this cp attachment file entryboolean isApproved()
true if this cp attachment file entry is approved.isApproved in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp attachment file entry is approved; false otherwiseboolean isDenied()
true if this cp attachment file entry is denied.isDenied in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp attachment file entry is denied; false otherwiseboolean isDraft()
true if this cp attachment file entry is a draft.isDraft in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp attachment file entry is a draft; false otherwiseboolean isExpired()
true if this cp attachment file entry is expired.isExpired in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp attachment file entry is expired; false otherwiseboolean isInactive()
true if this cp attachment file entry is inactive.isInactive in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp attachment file entry is inactive; false otherwiseboolean isIncomplete()
true if this cp attachment file entry is incomplete.isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp attachment file entry is incomplete; false otherwiseboolean isPending()
true if this cp attachment file entry is pending.isPending in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp attachment file entry is pending; false otherwiseboolean isScheduled()
true if this cp attachment file entry is scheduled.isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModeltrue if this cp attachment file entry is scheduled; false otherwisejava.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModeljava.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelvoid prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionvoid prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleException