Package com.liferay.portal.kernel.model
Class WebsiteWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Website>
com.liferay.portal.kernel.model.WebsiteWrapper
- All Implemented Interfaces:
AttachedModel
,AuditedModel
,BaseModel<Website>
,ClassedModel
,ExternalReferenceCodeModel
,ModelWrapper<Website>
,MVCCModel
,PersistedModel
,ShardedModel
,StagedAuditedModel
,StagedModel
,TypedModel
,Website
,WebsiteModel
,Serializable
,Cloneable
,Comparable<Website>
public class WebsiteWrapper
extends BaseModelWrapper<Website>
implements ModelWrapper<Website>, Website
This class is a wrapper for Website
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.Website
WEBSITE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this website.long
Returns the class name ID of this website.long
Returns the class pk of this website.long
Returns the company ID of this website.Returns the create date of this website.Returns the external reference code of this website.Returns the last publish date of this website.long
Returns the list type ID of this website.Returns the modified date of this website.long
Returns the mvcc version of this website.boolean
Returns the primary of this website.long
Returns the primary key of this website.getUrl()
Returns the url of this website.long
Returns the user ID of this website.Returns the user name of this website.Returns the user uuid of this website.getUuid()
Returns the uuid of this website.long
Returns the website ID of this website.boolean
Returnstrue
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
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code 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
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
Sets the uuid of this website.void
setWebsiteId
(long websiteId) Sets the website ID of this website.protected WebsiteWrapper
Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
WebsiteWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Website>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Website>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Website>
- Specified by:
cloneWithOriginalValues
in interfaceWebsiteModel
-
getClassName
Returns the fully qualified class name of this website.- Specified by:
getClassName
in interfaceTypedModel
- Specified by:
getClassName
in interfaceWebsiteModel
- Returns:
- the fully qualified class name of this website
-
getClassNameId
public long getClassNameId()Returns the class name ID of this website.- Specified by:
getClassNameId
in interfaceTypedModel
- Specified by:
getClassNameId
in interfaceWebsiteModel
- Returns:
- the class name ID of this website
-
getClassPK
public long getClassPK()Returns the class pk of this website.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceWebsiteModel
- Returns:
- the class pk of this website
-
getCompanyId
public long getCompanyId()Returns the company ID of this website.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Specified by:
getCompanyId
in interfaceWebsiteModel
- Returns:
- the company ID of this website
-
getCreateDate
Returns the create date of this website.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Specified by:
getCreateDate
in interfaceWebsiteModel
- Returns:
- the create date of this website
-
getExternalReferenceCode
Returns the external reference code of this website.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceWebsiteModel
- Returns:
- the external reference code of this website
-
getLastPublishDate
Returns the last publish date of this website.- Specified by:
getLastPublishDate
in interfaceWebsiteModel
- Returns:
- the last publish date of this website
-
getListType
- Specified by:
getListType
in interfaceWebsite
- Throws:
PortalException
-
getListTypeId
public long getListTypeId()Returns the list type ID of this website.- Specified by:
getListTypeId
in interfaceWebsiteModel
- Returns:
- the list type ID of this website
-
getModifiedDate
Returns the modified date of this website.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Specified by:
getModifiedDate
in interfaceWebsiteModel
- Returns:
- the modified date of this website
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this website.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceWebsiteModel
- Returns:
- the mvcc version of this website
-
getPrimary
public boolean getPrimary()Returns the primary of this website.- Specified by:
getPrimary
in interfaceWebsiteModel
- Returns:
- the primary of this website
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this website.- Specified by:
getPrimaryKey
in interfaceWebsiteModel
- Returns:
- the primary key of this website
-
getUrl
Returns the url of this website.- Specified by:
getUrl
in interfaceWebsiteModel
- Returns:
- the url of this website
-
getUserId
public long getUserId()Returns the user ID of this website.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceWebsiteModel
- Returns:
- the user ID of this website
-
getUserName
Returns the user name of this website.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceWebsiteModel
- Returns:
- the user name of this website
-
getUserUuid
Returns the user uuid of this website.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceWebsiteModel
- Returns:
- the user uuid of this website
-
getUuid
Returns the uuid of this website.- Specified by:
getUuid
in interfaceStagedModel
- Specified by:
getUuid
in interfaceWebsiteModel
- Returns:
- the uuid of this website
-
getWebsiteId
public long getWebsiteId()Returns the website ID of this website.- Specified by:
getWebsiteId
in interfaceWebsiteModel
- Returns:
- the website ID of this website
-
isPrimary
public boolean isPrimary()Returnstrue
if this website is primary.- Specified by:
isPrimary
in interfaceWebsiteModel
- Returns:
true
if this website is primary;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setClassName
- Specified by:
setClassName
in interfaceWebsiteModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this website.- Specified by:
setClassNameId
in interfaceTypedModel
- Specified by:
setClassNameId
in interfaceWebsiteModel
- Parameters:
classNameId
- the class name ID of this website
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this website.- Specified by:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfaceWebsiteModel
- Parameters:
classPK
- the class pk of this website
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this website.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Specified by:
setCompanyId
in interfaceWebsiteModel
- Parameters:
companyId
- the company ID of this website
-
setCreateDate
Sets the create date of this website.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Specified by:
setCreateDate
in interfaceWebsiteModel
- Parameters:
createDate
- the create date of this website
-
setExternalReferenceCode
Sets the external reference code of this website.- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceWebsiteModel
- Parameters:
externalReferenceCode
- the external reference code of this website
-
setLastPublishDate
Sets the last publish date of this website.- Specified by:
setLastPublishDate
in interfaceWebsiteModel
- Parameters:
lastPublishDate
- the last publish date of this website
-
setListTypeId
public void setListTypeId(long listTypeId) Sets the list type ID of this website.- Specified by:
setListTypeId
in interfaceWebsiteModel
- Parameters:
listTypeId
- the list type ID of this website
-
setModifiedDate
Sets the modified date of this website.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Specified by:
setModifiedDate
in interfaceWebsiteModel
- Parameters:
modifiedDate
- the modified date of this website
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this website.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceWebsiteModel
- Parameters:
mvccVersion
- the mvcc version of this website
-
setPrimary
public void setPrimary(boolean primary) Sets whether this website is primary.- Specified by:
setPrimary
in interfaceWebsiteModel
- Parameters:
primary
- the primary of this website
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this website.- Specified by:
setPrimaryKey
in interfaceWebsiteModel
- Parameters:
primaryKey
- the primary key of this website
-
setUrl
Sets the url of this website.- Specified by:
setUrl
in interfaceWebsiteModel
- Parameters:
url
- the url of this website
-
setUserId
public void setUserId(long userId) Sets the user ID of this website.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceWebsiteModel
- Parameters:
userId
- the user ID of this website
-
setUserName
Sets the user name of this website.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceWebsiteModel
- Parameters:
userName
- the user name of this website
-
setUserUuid
Sets the user uuid of this website.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceWebsiteModel
- Parameters:
userUuid
- the user uuid of this website
-
setUuid
Sets the uuid of this website.- Specified by:
setUuid
in interfaceStagedModel
- Specified by:
setUuid
in interfaceWebsiteModel
- Parameters:
uuid
- the uuid of this website
-
setWebsiteId
public void setWebsiteId(long websiteId) Sets the website ID of this website.- Specified by:
setWebsiteId
in interfaceWebsiteModel
- Parameters:
websiteId
- the website ID of this website
-
toXmlString
- Specified by:
toXmlString
in interfaceWebsiteModel
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Website>
-