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.longReturns the class name ID of this website.longReturns the class pk of this website.longReturns 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.longReturns the list type ID of this website.Returns the modified date of this website.longReturns the mvcc version of this website.booleanReturns the primary of this website.longReturns the primary key of this website.getUrl()Returns the url of this website.longReturns 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.longReturns the website ID of this website.booleanReturnstrueif this website is primary.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this website.voidsetClassPK(long classPK) Sets the class pk of this website.voidsetCompanyId(long companyId) Sets the company ID of this website.voidsetCreateDate(Date createDate) Sets the create date of this website.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this website.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this website.voidsetListTypeId(long listTypeId) Sets the list type ID of this website.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this website.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this website.voidsetPrimary(boolean primary) Sets whether this website is primary.voidsetPrimaryKey(long primaryKey) Sets the primary key of this website.voidSets the url of this website.voidsetUserId(long userId) Sets the user ID of this website.voidsetUserName(String userName) Sets the user name of this website.voidsetUserUuid(String userUuid) Sets the user uuid of this website.voidSets the uuid of this website.voidsetWebsiteId(long websiteId) Sets the website ID of this website.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods 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:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this website
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this website.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this website
-
getUuid
Returns the uuid of this website.- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this website
-
setUuid
Sets the uuid of this website.- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this website
-
getExternalReferenceCode
Returns the external reference code of this website.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Returns:
- the external reference code of this website
-
setExternalReferenceCode
Sets the external reference code of this website.- Specified by:
setExternalReferenceCodein 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:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this website
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this website.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this website
-
getUserId
long getUserId()Returns the user ID of this website.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this website
-
setUserId
void setUserId(long userId) Sets the user ID of this website.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this website
-
getUserUuid
String getUserUuid()Returns the user uuid of this website.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this website
-
setUserUuid
Sets the user uuid of this website.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this website
-
getUserName
Returns the user name of this website.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this website
-
setUserName
Sets the user name of this website.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this website
-
getCreateDate
Date getCreateDate()Returns the create date of this website.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this website
-
setCreateDate
Sets the create date of this website.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this website
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this website.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this website
-
setModifiedDate
Sets the modified date of this website.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this website
-
getClassName
String getClassName()Returns the fully qualified class name of this website.- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this website
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this website.- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this website
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this website.- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this website
-
getClassPK
long getClassPK()Returns the class pk of this website.- Specified by:
getClassPKin interfaceAttachedModel- Returns:
- the class pk of this website
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this website.- Specified by:
setClassPKin 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()Returnstrueif this website is primary.- Returns:
trueif this website is primary;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<Website>
-
toXmlString
-