public class HtmlPreviewEntryWrapper extends java.lang.Object implements HtmlPreviewEntry, com.liferay.portal.kernel.model.ModelWrapper<HtmlPreviewEntry>
This class is a wrapper for HtmlPreviewEntry
.
HtmlPreviewEntry
,
Serialized FormHTML_PREVIEW_ENTRY_ID_ACCESSOR
Constructor and Description |
---|
HtmlPreviewEntryWrapper(HtmlPreviewEntry htmlPreviewEntry) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(HtmlPreviewEntry htmlPreviewEntry) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName()
Returns the fully qualified class name of this html preview entry.
|
long |
getClassNameId()
Returns the class name ID of this html preview entry.
|
long |
getClassPK()
Returns the class pk of this html preview entry.
|
long |
getCompanyId()
Returns the company ID of this html preview entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this html preview entry.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getFileEntryId()
Returns the file entry ID of this html preview entry.
|
long |
getGroupId()
Returns the group ID of this html preview entry.
|
long |
getHtmlPreviewEntryId()
Returns the html preview entry ID of this html preview entry.
|
java.lang.String |
getImagePreviewURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this html preview entry.
|
long |
getPrimaryKey()
Returns the primary key of this html preview entry.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getUserId()
Returns the user ID of this html preview entry.
|
java.lang.String |
getUserName()
Returns the user name of this html preview entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this html preview entry.
|
HtmlPreviewEntry |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this html preview entry.
|
void |
setClassPK(long classPK)
Sets the class pk of this html preview entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this html preview entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this html preview entry.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setFileEntryId(long fileEntryId)
Sets the file entry ID of this html preview entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this html preview entry.
|
void |
setHtmlPreviewEntryId(long htmlPreviewEntryId)
Sets the html preview entry ID of this html preview entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this html preview entry.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this html preview entry.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId)
Sets the user ID of this html preview entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this html preview entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this html preview entry.
|
com.liferay.portal.kernel.model.CacheModel<HtmlPreviewEntry> |
toCacheModel() |
HtmlPreviewEntry |
toEscapedModel() |
java.lang.String |
toString() |
HtmlPreviewEntry |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public HtmlPreviewEntryWrapper(HtmlPreviewEntry htmlPreviewEntry)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public java.lang.Object clone()
clone
in interface HtmlPreviewEntryModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
clone
in class java.lang.Object
public int compareTo(HtmlPreviewEntry htmlPreviewEntry)
compareTo
in interface HtmlPreviewEntryModel
compareTo
in interface java.lang.Comparable<HtmlPreviewEntry>
public java.lang.String getClassName()
getClassName
in interface HtmlPreviewEntryModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassNameId()
getClassNameId
in interface HtmlPreviewEntryModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassPK()
getClassPK
in interface HtmlPreviewEntryModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public long getCompanyId()
getCompanyId
in interface HtmlPreviewEntryModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface HtmlPreviewEntryModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface HtmlPreviewEntryModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public long getFileEntryId()
getFileEntryId
in interface HtmlPreviewEntryModel
public long getGroupId()
getGroupId
in interface HtmlPreviewEntryModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public long getHtmlPreviewEntryId()
getHtmlPreviewEntryId
in interface HtmlPreviewEntryModel
public java.lang.String getImagePreviewURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
getImagePreviewURL
in interface HtmlPreviewEntry
public java.util.Date getModifiedDate()
getModifiedDate
in interface HtmlPreviewEntryModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getPrimaryKey()
getPrimaryKey
in interface HtmlPreviewEntryModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface HtmlPreviewEntryModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public long getUserId()
getUserId
in interface HtmlPreviewEntryModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface HtmlPreviewEntryModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface HtmlPreviewEntryModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public int hashCode()
hashCode
in interface HtmlPreviewEntryModel
hashCode
in class java.lang.Object
public boolean isCachedModel()
isCachedModel
in interface HtmlPreviewEntryModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public boolean isEscapedModel()
isEscapedModel
in interface HtmlPreviewEntryModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public boolean isNew()
isNew
in interface HtmlPreviewEntryModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface HtmlPreviewEntryModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public void setClassName(java.lang.String className)
setClassName
in interface HtmlPreviewEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface HtmlPreviewEntryModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this html preview entrypublic void setClassPK(long classPK)
setClassPK
in interface HtmlPreviewEntryModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this html preview entrypublic void setCompanyId(long companyId)
setCompanyId
in interface HtmlPreviewEntryModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this html preview entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface HtmlPreviewEntryModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this html preview entrypublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface HtmlPreviewEntryModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface HtmlPreviewEntryModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface HtmlPreviewEntryModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public void setFileEntryId(long fileEntryId)
setFileEntryId
in interface HtmlPreviewEntryModel
fileEntryId
- the file entry ID of this html preview entrypublic void setGroupId(long groupId)
setGroupId
in interface HtmlPreviewEntryModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this html preview entrypublic void setHtmlPreviewEntryId(long htmlPreviewEntryId)
setHtmlPreviewEntryId
in interface HtmlPreviewEntryModel
htmlPreviewEntryId
- the html preview entry ID of this html preview entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface HtmlPreviewEntryModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this html preview entrypublic void setNew(boolean n)
setNew
in interface HtmlPreviewEntryModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface HtmlPreviewEntryModel
primaryKey
- the primary key of this html preview entrypublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface HtmlPreviewEntryModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setUserId(long userId)
setUserId
in interface HtmlPreviewEntryModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this html preview entrypublic void setUserName(java.lang.String userName)
setUserName
in interface HtmlPreviewEntryModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this html preview entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface HtmlPreviewEntryModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this html preview entrypublic com.liferay.portal.kernel.model.CacheModel<HtmlPreviewEntry> toCacheModel()
toCacheModel
in interface HtmlPreviewEntryModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public HtmlPreviewEntry toEscapedModel()
toEscapedModel
in interface HtmlPreviewEntryModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public java.lang.String toString()
toString
in interface HtmlPreviewEntryModel
toString
in class java.lang.Object
public HtmlPreviewEntry toUnescapedModel()
toUnescapedModel
in interface HtmlPreviewEntryModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public java.lang.String toXmlString()
toXmlString
in interface HtmlPreviewEntryModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public HtmlPreviewEntry getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<HtmlPreviewEntry>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<HtmlPreviewEntry>