Package com.liferay.portal.kernel.model
Interface WebsiteModel
- All Superinterfaces:
AttachedModel
,AuditedModel
,BaseModel<Website>
,ClassedModel
,Cloneable
,Comparable<Website>
,ExternalReferenceCodeModel
,MVCCModel
,Serializable
,ShardedModel
,StagedAuditedModel
,StagedModel
,TypedModel
- All Known Subinterfaces:
Website
- All Known Implementing Classes:
WebsiteWrapper
@ProviderType
public interface WebsiteModel
extends AttachedModel, BaseModel<Website>, ExternalReferenceCodeModel, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the Website service. Represents a row in the "Website" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.WebsiteModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.WebsiteImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this website.- Returns:
- the primary key of this website
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this website.- Parameters:
primaryKey
- the primary key of this website
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this website.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this website
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this website.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this website
-
getUuid
Returns the uuid of this website.- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this website
-
setUuid
Sets the uuid of this website.- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this website
-
getExternalReferenceCode
Returns the external reference code of this website.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Returns:
- the external reference code of this website
-
setExternalReferenceCode
Sets the external reference code of this website.- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this website
-
getWebsiteId
long getWebsiteId()Returns the website ID of this website.- Returns:
- the website ID of this website
-
setWebsiteId
void setWebsiteId(long websiteId) Sets the website ID of this website.- Parameters:
websiteId
- the website ID of this website
-
getCompanyId
long getCompanyId()Returns the company ID of this website.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this website
-
setCompanyId
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
- Parameters:
companyId
- the company ID of this website
-
getUserId
long getUserId()Returns the user ID of this website.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this website
-
setUserId
void setUserId(long userId) Sets the user ID of this website.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this website
-
getUserUuid
String getUserUuid()Returns the user uuid of this website.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this website
-
setUserUuid
Sets the user uuid of this website.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this website
-
getUserName
Returns the user name of this website.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this website
-
setUserName
Sets the user name of this website.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this website
-
getCreateDate
Date getCreateDate()Returns the create date of this website.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this website
-
setCreateDate
Sets the create date of this website.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this website
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this website.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this website
-
setModifiedDate
Sets the modified date of this website.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this website
-
getClassName
String getClassName()Returns the fully qualified class name of this website.- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this website
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this website.- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this website
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this website.- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this website
-
getClassPK
long getClassPK()Returns the class pk of this website.- Specified by:
getClassPK
in interfaceAttachedModel
- Returns:
- the class pk of this website
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this website.- Specified by:
setClassPK
in interfaceAttachedModel
- Parameters:
classPK
- the class pk of this website
-
getUrl
Returns the url of this website.- Returns:
- the url of this website
-
setUrl
Sets the url of this website.- Parameters:
url
- the url of this website
-
getListTypeId
long getListTypeId()Returns the list type ID of this website.- Returns:
- the list type ID of this website
-
setListTypeId
void setListTypeId(long listTypeId) Sets the list type ID of this website.- Parameters:
listTypeId
- the list type ID of this website
-
getPrimary
boolean getPrimary()Returns the primary of this website.- Returns:
- the primary of this website
-
isPrimary
boolean isPrimary()Returnstrue
if this website is primary.- Returns:
true
if this website is primary;false
otherwise
-
setPrimary
void setPrimary(boolean primary) Sets whether this website is primary.- Parameters:
primary
- the primary of this website
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this website.- Returns:
- the last publish date of this website
-
setLastPublishDate
Sets the last publish date of this website.- Parameters:
lastPublishDate
- the last publish date of this website
-
cloneWithOriginalValues
Website cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Website>
-
toXmlString
-