public class WebsiteWrapper extends BaseModelWrapper<Website> implements ModelWrapper<Website>, Website
This class is a wrapper for Website
.
Website
,
Serialized Formmodel
WEBSITE_ID_ACCESSOR
Constructor and Description |
---|
WebsiteWrapper(Website website) |
Modifier and Type | Method and Description |
---|---|
Website |
cloneWithOriginalValues() |
String |
getClassName()
Returns the fully qualified class name of this website.
|
long |
getClassNameId()
Returns the class name ID of this website.
|
long |
getClassPK()
Returns the class pk of this website.
|
long |
getCompanyId()
Returns the company ID of this website.
|
Date |
getCreateDate()
Returns the create date of this website.
|
Date |
getLastPublishDate()
Returns the last publish date of this website.
|
ListType |
getListType() |
long |
getListTypeId()
Returns the list type ID of this website.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this website.
|
long |
getMvccVersion()
Returns the mvcc version of this website.
|
boolean |
getPrimary()
Returns the primary of this website.
|
long |
getPrimaryKey()
Returns the primary key of this website.
|
StagedModelType |
getStagedModelType() |
String |
getUrl()
Returns the url of this website.
|
long |
getUserId()
Returns the user ID of this website.
|
String |
getUserName()
Returns the user name of this website.
|
String |
getUserUuid()
Returns the user uuid of this website.
|
String |
getUuid()
Returns the uuid of this website.
|
long |
getWebsiteId()
Returns the website ID of this website.
|
boolean |
isPrimary()
Returns
true if this website is primary. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this website.
|
void |
setClassPK(long classPK)
Sets the class pk of this website.
|
void |
setCompanyId(long companyId)
Sets the company ID of this website.
|
void |
setCreateDate(Date createDate)
Sets the create date of this website.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this website.
|
void |
setListTypeId(long listTypeId)
Sets the list type ID of this website.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this website.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this website.
|
void |
setPrimary(boolean primary)
Sets whether this website is primary.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this website.
|
void |
setUrl(String url)
Sets the url of this website.
|
void |
setUserId(long userId)
Sets the user ID of this website.
|
void |
setUserName(String userName)
Sets the user name of this website.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this website.
|
void |
setUuid(String uuid)
Sets the uuid of this website.
|
void |
setWebsiteId(long websiteId)
Sets the website ID of this website.
|
String |
toXmlString() |
protected WebsiteWrapper |
wrap(Website website) |
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
getWrappedModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
clone
getModelClass, getModelClassName
public WebsiteWrapper(Website website)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Website>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Website>
public Website cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<Website>
cloneWithOriginalValues
in interface WebsiteModel
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface WebsiteModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface WebsiteModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface WebsiteModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface WebsiteModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface WebsiteModel
public Date getLastPublishDate()
getLastPublishDate
in interface WebsiteModel
public ListType getListType() throws PortalException
getListType
in interface Website
PortalException
public long getListTypeId()
getListTypeId
in interface WebsiteModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface WebsiteModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface WebsiteModel
public boolean getPrimary()
getPrimary
in interface WebsiteModel
public long getPrimaryKey()
getPrimaryKey
in interface WebsiteModel
public String getUrl()
getUrl
in interface WebsiteModel
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface WebsiteModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface WebsiteModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface WebsiteModel
public String getUuid()
getUuid
in interface StagedModel
getUuid
in interface WebsiteModel
public long getWebsiteId()
getWebsiteId
in interface WebsiteModel
public boolean isPrimary()
true
if this website is primary.isPrimary
in interface WebsiteModel
true
if this website is primary; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setClassName(String className)
setClassName
in interface WebsiteModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface WebsiteModel
classNameId
- the class name ID of this websitepublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface WebsiteModel
classPK
- the class pk of this websitepublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface WebsiteModel
companyId
- the company ID of this websitepublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface WebsiteModel
createDate
- the create date of this websitepublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface WebsiteModel
lastPublishDate
- the last publish date of this websitepublic void setListTypeId(long listTypeId)
setListTypeId
in interface WebsiteModel
listTypeId
- the list type ID of this websitepublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface WebsiteModel
modifiedDate
- the modified date of this websitepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface WebsiteModel
mvccVersion
- the mvcc version of this websitepublic void setPrimary(boolean primary)
setPrimary
in interface WebsiteModel
primary
- the primary of this websitepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface WebsiteModel
primaryKey
- the primary key of this websitepublic void setUrl(String url)
setUrl
in interface WebsiteModel
url
- the url of this websitepublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface WebsiteModel
userId
- the user ID of this websitepublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface WebsiteModel
userName
- the user name of this websitepublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface WebsiteModel
userUuid
- the user uuid of this websitepublic void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface WebsiteModel
uuid
- the uuid of this websitepublic void setWebsiteId(long websiteId)
setWebsiteId
in interface WebsiteModel
websiteId
- the website ID of this websitepublic String toXmlString()
toXmlString
in interface WebsiteModel
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected WebsiteWrapper wrap(Website website)
wrap
in class BaseModelWrapper<Website>