public class StyleBookEntryWrapper extends BaseModelWrapper<StyleBookEntry> implements ModelWrapper<StyleBookEntry>, StyleBookEntry
This class is a wrapper for StyleBookEntry.
StyleBookEntry,
Serialized FormmodelSTYLE_BOOK_ENTRY_ID_ACCESSOR| Constructor and Description |
|---|
StyleBookEntryWrapper(StyleBookEntry styleBookEntry) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this style book entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this style book entry.
|
boolean |
getDefaultStyleBookEntry()
Returns the default style book entry of this style book entry.
|
java.lang.String |
getFrontendTokensValues()
Returns the frontend tokens values of this style book entry.
|
long |
getGroupId()
Returns the group ID of this style book entry.
|
long |
getHeadId()
Returns the head ID of this style book entry.
|
java.lang.String |
getImagePreviewURL(ThemeDisplay themeDisplay) |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this style book entry.
|
java.lang.String |
getName()
Returns the name of this style book entry.
|
long |
getPreviewFileEntryId()
Returns the preview file entry ID of this style book entry.
|
long |
getPrimaryKey()
Returns the primary key of this style book entry.
|
long |
getStyleBookEntryId()
Returns the style book entry ID of this style book entry.
|
java.lang.String |
getStyleBookEntryKey()
Returns the style book entry key of this style book entry.
|
long |
getUserId()
Returns the user ID of this style book entry.
|
java.lang.String |
getUserName()
Returns the user name of this style book entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this style book entry.
|
boolean |
isDefaultStyleBookEntry()
Returns
true if this style book entry is default style book entry. |
boolean |
isHead() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
populateVersionModel(StyleBookEntryVersion styleBookEntryVersion) |
void |
populateZipWriter(ZipWriter zipWriter,
java.lang.String path) |
void |
setCompanyId(long companyId)
Sets the company ID of this style book entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this style book entry.
|
void |
setDefaultStyleBookEntry(boolean defaultStyleBookEntry)
Sets whether this style book entry is default style book entry.
|
void |
setFrontendTokensValues(java.lang.String frontendTokensValues)
Sets the frontend tokens values of this style book entry.
|
void |
setGroupId(long groupId)
Sets the group ID of this style book entry.
|
void |
setHeadId(long headId)
Sets the head ID of this style book entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this style book entry.
|
void |
setName(java.lang.String name)
Sets the name of this style book entry.
|
void |
setPreviewFileEntryId(long previewFileEntryId)
Sets the preview file entry ID of this style book entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this style book entry.
|
void |
setStyleBookEntryId(long styleBookEntryId)
Sets the style book entry ID of this style book entry.
|
void |
setStyleBookEntryKey(java.lang.String styleBookEntryKey)
Sets the style book entry key of this style book entry.
|
void |
setUserId(long userId)
Sets the user ID of this style book entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this style book entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this style book entry.
|
protected StyleBookEntryWrapper |
wrap(StyleBookEntry styleBookEntry) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic StyleBookEntryWrapper(StyleBookEntry styleBookEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<StyleBookEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<StyleBookEntry>public long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface StyleBookEntryModelpublic java.util.Date getCreateDate()
getCreateDate in interface StyleBookEntryModelpublic boolean getDefaultStyleBookEntry()
getDefaultStyleBookEntry in interface StyleBookEntryModelpublic java.lang.String getFrontendTokensValues()
getFrontendTokensValues in interface StyleBookEntryModelpublic long getGroupId()
getGroupId in interface StyleBookEntryModelpublic long getHeadId()
getHeadId in interface VersionedModel<StyleBookEntryVersion>getHeadId in interface StyleBookEntryModelpublic java.lang.String getImagePreviewURL(ThemeDisplay themeDisplay)
getImagePreviewURL in interface StyleBookEntrypublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface StyleBookEntryModelpublic java.lang.String getName()
getName in interface StyleBookEntryModelpublic long getPreviewFileEntryId()
getPreviewFileEntryId in interface StyleBookEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface VersionedModel<StyleBookEntryVersion>getPrimaryKey in interface StyleBookEntryModelpublic long getStyleBookEntryId()
getStyleBookEntryId in interface StyleBookEntryModelpublic java.lang.String getStyleBookEntryKey()
getStyleBookEntryKey in interface StyleBookEntryModelpublic long getUserId()
getUserId in interface StyleBookEntryModelpublic java.lang.String getUserName()
getUserName in interface StyleBookEntryModelpublic java.lang.String getUserUuid()
getUserUuid in interface StyleBookEntryModelpublic boolean isDefaultStyleBookEntry()
true if this style book entry is default style book entry.isDefaultStyleBookEntry in interface StyleBookEntryModeltrue if this style book entry is default style book entry; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void populateZipWriter(ZipWriter zipWriter, java.lang.String path) throws java.lang.Exception
populateZipWriter in interface StyleBookEntryjava.lang.Exceptionpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface StyleBookEntryModelcompanyId - the company ID of this style book entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface StyleBookEntryModelcreateDate - the create date of this style book entrypublic void setDefaultStyleBookEntry(boolean defaultStyleBookEntry)
setDefaultStyleBookEntry in interface StyleBookEntryModeldefaultStyleBookEntry - the default style book entry of this style book entrypublic void setFrontendTokensValues(java.lang.String frontendTokensValues)
setFrontendTokensValues in interface StyleBookEntryModelfrontendTokensValues - the frontend tokens values of this style book entrypublic void setGroupId(long groupId)
setGroupId in interface StyleBookEntryModelgroupId - the group ID of this style book entrypublic void setHeadId(long headId)
setHeadId in interface VersionedModel<StyleBookEntryVersion>setHeadId in interface StyleBookEntryModelheadId - the head ID of this style book entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface StyleBookEntryModelmvccVersion - the mvcc version of this style book entrypublic void setName(java.lang.String name)
setName in interface StyleBookEntryModelname - the name of this style book entrypublic void setPreviewFileEntryId(long previewFileEntryId)
setPreviewFileEntryId in interface StyleBookEntryModelpreviewFileEntryId - the preview file entry ID of this style book entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface VersionedModel<StyleBookEntryVersion>setPrimaryKey in interface StyleBookEntryModelprimaryKey - the primary key of this style book entrypublic void setStyleBookEntryId(long styleBookEntryId)
setStyleBookEntryId in interface StyleBookEntryModelstyleBookEntryId - the style book entry ID of this style book entrypublic void setStyleBookEntryKey(java.lang.String styleBookEntryKey)
setStyleBookEntryKey in interface StyleBookEntryModelstyleBookEntryKey - the style book entry key of this style book entrypublic void setUserId(long userId)
setUserId in interface StyleBookEntryModeluserId - the user ID of this style book entrypublic void setUserName(java.lang.String userName)
setUserName in interface StyleBookEntryModeluserName - the user name of this style book entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface StyleBookEntryModeluserUuid - the user uuid of this style book entrypublic boolean isHead()
isHead in interface VersionedModel<StyleBookEntryVersion>public void populateVersionModel(StyleBookEntryVersion styleBookEntryVersion)
populateVersionModel in interface VersionedModel<StyleBookEntryVersion>protected StyleBookEntryWrapper wrap(StyleBookEntry styleBookEntry)
wrap in class BaseModelWrapper<StyleBookEntry>