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
modelFields 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.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.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected WebsiteWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, 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.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
WebsiteWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Website>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Website>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Website>- Specified by:
cloneWithOriginalValuesin interfaceWebsiteModel
-
getClassName
Returns the fully qualified class name of this website.- Specified by:
getClassNamein interfaceTypedModel- Specified by:
getClassNamein interfaceWebsiteModel- Returns:
- the fully qualified class name of this website
-
getClassNameId
public long getClassNameId()Returns the class name ID of this website.- Specified by:
getClassNameIdin interfaceTypedModel- Specified by:
getClassNameIdin interfaceWebsiteModel- Returns:
- the class name ID of this website
-
getClassPK
public long getClassPK()Returns the class pk of this website.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceWebsiteModel- Returns:
- the class pk of this website
-
getCompanyId
public long getCompanyId()Returns the company ID of this website.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Specified by:
getCompanyIdin interfaceWebsiteModel- Returns:
- the company ID of this website
-
getCreateDate
Returns the create date of this website.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Specified by:
getCreateDatein interfaceWebsiteModel- Returns:
- the create date of this website
-
getExternalReferenceCode
Returns the external reference code of this website.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
getExternalReferenceCodein interfaceWebsiteModel- Returns:
- the external reference code of this website
-
getLastPublishDate
Returns the last publish date of this website.- Specified by:
getLastPublishDatein interfaceWebsiteModel- Returns:
- the last publish date of this website
-
getListType
- Specified by:
getListTypein interfaceWebsite- Throws:
PortalException
-
getListTypeId
public long getListTypeId()Returns the list type ID of this website.- Specified by:
getListTypeIdin interfaceWebsiteModel- Returns:
- the list type ID of this website
-
getModifiedDate
Returns the modified date of this website.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Specified by:
getModifiedDatein interfaceWebsiteModel- Returns:
- the modified date of this website
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this website.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceWebsiteModel- Returns:
- the mvcc version of this website
-
getPrimary
public boolean getPrimary()Returns the primary of this website.- Specified by:
getPrimaryin interfaceWebsiteModel- Returns:
- the primary of this website
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this website.- Specified by:
getPrimaryKeyin interfaceWebsiteModel- Returns:
- the primary key of this website
-
getUrl
Returns the url of this website.- Specified by:
getUrlin interfaceWebsiteModel- Returns:
- the url of this website
-
getUserId
public long getUserId()Returns the user ID of this website.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceWebsiteModel- Returns:
- the user ID of this website
-
getUserName
Returns the user name of this website.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceWebsiteModel- Returns:
- the user name of this website
-
getUserUuid
Returns the user uuid of this website.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceWebsiteModel- Returns:
- the user uuid of this website
-
getUuid
Returns the uuid of this website.- Specified by:
getUuidin interfaceStagedModel- Specified by:
getUuidin interfaceWebsiteModel- Returns:
- the uuid of this website
-
getWebsiteId
public long getWebsiteId()Returns the website ID of this website.- Specified by:
getWebsiteIdin interfaceWebsiteModel- Returns:
- the website ID of this website
-
isPrimary
public boolean isPrimary()Returnstrueif this website is primary.- Specified by:
isPrimaryin interfaceWebsiteModel- Returns:
trueif this website is primary;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setClassName
- Specified by:
setClassNamein interfaceWebsiteModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this website.- Specified by:
setClassNameIdin interfaceTypedModel- Specified by:
setClassNameIdin 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:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin interfaceWebsiteModel- Parameters:
classPK- the class pk of this website
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this website.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Specified by:
setCompanyIdin interfaceWebsiteModel- Parameters:
companyId- the company ID of this website
-
setCreateDate
Sets the create date of this website.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Specified by:
setCreateDatein interfaceWebsiteModel- Parameters:
createDate- the create date of this website
-
setExternalReferenceCode
Sets the external reference code of this website.- Specified by:
setExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
setExternalReferenceCodein interfaceWebsiteModel- Parameters:
externalReferenceCode- the external reference code of this website
-
setLastPublishDate
Sets the last publish date of this website.- Specified by:
setLastPublishDatein 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:
setListTypeIdin interfaceWebsiteModel- Parameters:
listTypeId- the list type ID of this website
-
setModifiedDate
Sets the modified date of this website.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceStagedModel- Specified by:
setModifiedDatein interfaceWebsiteModel- Parameters:
modifiedDate- the modified date of this website
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this website.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceWebsiteModel- Parameters:
mvccVersion- the mvcc version of this website
-
setPrimary
public void setPrimary(boolean primary) Sets whether this website is primary.- Specified by:
setPrimaryin interfaceWebsiteModel- Parameters:
primary- the primary of this website
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this website.- Specified by:
setPrimaryKeyin interfaceWebsiteModel- Parameters:
primaryKey- the primary key of this website
-
setUrl
Sets the url of this website.- Specified by:
setUrlin interfaceWebsiteModel- Parameters:
url- the url of this website
-
setUserId
public void setUserId(long userId) Sets the user ID of this website.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceWebsiteModel- Parameters:
userId- the user ID of this website
-
setUserName
Sets the user name of this website.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceWebsiteModel- Parameters:
userName- the user name of this website
-
setUserUuid
Sets the user uuid of this website.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceWebsiteModel- Parameters:
userUuid- the user uuid of this website
-
setUuid
Sets the uuid of this website.- Specified by:
setUuidin interfaceStagedModel- Specified by:
setUuidin interfaceWebsiteModel- Parameters:
uuid- the uuid of this website
-
setWebsiteId
public void setWebsiteId(long websiteId) Sets the website ID of this website.- Specified by:
setWebsiteIdin interfaceWebsiteModel- Parameters:
websiteId- the website ID of this website
-
toXmlString
- Specified by:
toXmlStringin interfaceWebsiteModel
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Website>
-