@ProviderType public class WebsiteWrapper extends Object implements Website, ModelWrapper<Website>
This class is a wrapper for Website.
Website,
Serialized FormWEBSITE_ID_ACCESSOR| Constructor and Description |
|---|
WebsiteWrapper(Website website) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(Website website) |
boolean |
equals(Object obj) |
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 p k of this website.
|
long |
getCompanyId()
Returns the company ID of this website.
|
Date |
getCreateDate()
Returns the create date of this website.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Date |
getLastPublishDate()
Returns the last publish date of this website.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
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.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
StagedModelType |
getStagedModelType() |
ListType |
getType() |
long |
getTypeId()
Returns the type ID of this website.
|
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.
|
Website |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
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 |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this website.
|
void |
setClassPK(long classPK)
Sets the class p k 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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date 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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimary(boolean primary)
Sets whether this website is primary.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this website.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setTypeId(long typeId)
Sets the type ID 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.
|
CacheModel<Website> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
Website |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
Website |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public WebsiteWrapper(Website website)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Website>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Website>public CacheModel<Website> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<Website>toCacheModel in interface WebsiteModelpublic ListType getType() throws PortalException
getType in interface WebsitePortalExceptionpublic Website toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<Website>toEscapedModel in interface WebsiteModelAutoEscapeBeanHandlerpublic Website toUnescapedModel()
toUnescapedModel in interface BaseModel<Website>toUnescapedModel in interface WebsiteModelpublic boolean getPrimary()
getPrimary in interface WebsiteModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<Website>isCachedModel in interface WebsiteModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<Website>isEscapedModel in interface WebsiteModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<Website>isNew in interface WebsiteModeltrue if this model instance does not yet exist in
the database; false otherwisepublic boolean isPrimary()
true if this website is primary.isPrimary in interface WebsiteModeltrue if this website is primary; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<Website>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WebsiteModelpublic int compareTo(Website website)
compareTo in interface WebsiteModelcompareTo in interface Comparable<Website>public int hashCode()
hashCode in interface WebsiteModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<Website>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WebsiteModelpublic Object clone()
BaseModelclone in interface BaseModel<Website>clone in interface StagedModelclone in interface WebsiteModelclone in class Objectpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface WebsiteModelpublic String getUrl()
getUrl in interface WebsiteModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface WebsiteModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface WebsiteModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface WebsiteModelpublic String toString()
toString in interface WebsiteModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<Website>toXmlString in interface WebsiteModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface WebsiteModelpublic Date getLastPublishDate()
getLastPublishDate in interface WebsiteModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface WebsiteModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface WebsiteModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface WebsiteModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface WebsiteModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface WebsiteModelpublic long getPrimaryKey()
getPrimaryKey in interface WebsiteModelpublic long getTypeId()
getTypeId in interface WebsiteModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface WebsiteModelpublic long getWebsiteId()
getWebsiteId in interface WebsiteModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<Website>setCachedModel in interface WebsiteModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface WebsiteModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface WebsiteModelclassNameId - the class name ID of this websitepublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface WebsiteModelclassPK - the class p k of this websitepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface WebsiteModelcompanyId - the company ID of this websitepublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface WebsiteModelcreateDate - the create date of this websitepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Website>setExpandoBridgeAttributes in interface WebsiteModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Website>setExpandoBridgeAttributes in interface WebsiteModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<Website>setExpandoBridgeAttributes in interface WebsiteModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface WebsiteModellastPublishDate - the last publish date of this websitepublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface WebsiteModelmodifiedDate - the modified date of this websitepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface WebsiteModelmvccVersion - the mvcc version of this websitepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<Website>setNew in interface WebsiteModeln - whether this model instance does not yet exist in the databasepublic void setPrimary(boolean primary)
setPrimary in interface WebsiteModelprimary - the primary of this websitepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WebsiteModelprimaryKey - the primary key of this websitepublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<Website>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WebsiteModelprimaryKeyObj - the primary key of this model instancepublic void setTypeId(long typeId)
setTypeId in interface WebsiteModeltypeId - the type ID of this websitepublic void setUrl(String url)
setUrl in interface WebsiteModelurl - the url of this websitepublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface WebsiteModeluserId - the user ID of this websitepublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface WebsiteModeluserName - the user name of this websitepublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface WebsiteModeluserUuid - the user uuid of this websitepublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface WebsiteModeluuid - the uuid of this websitepublic void setWebsiteId(long websiteId)
setWebsiteId in interface WebsiteModelwebsiteId - the website ID of this websitepublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic Website getWrappedModel()
getWrappedModel in interface ModelWrapper<Website>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<Website>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<Website>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<Website>