Package com.liferay.portal.kernel.model
Class LayoutFriendlyURLWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutFriendlyURL>
com.liferay.portal.kernel.model.LayoutFriendlyURLWrapper
- All Implemented Interfaces:
AuditedModel
,BaseModel<LayoutFriendlyURL>
,CTModel<LayoutFriendlyURL>
,ClassedModel
,GroupedModel
,LayoutFriendlyURL
,LayoutFriendlyURLModel
,ModelWrapper<LayoutFriendlyURL>
,MVCCModel
,PersistedModel
,ShardedModel
,StagedGroupedModel
,StagedModel
,Serializable
,Cloneable
,Comparable<LayoutFriendlyURL>
public class LayoutFriendlyURLWrapper
extends BaseModelWrapper<LayoutFriendlyURL>
implements LayoutFriendlyURL, ModelWrapper<LayoutFriendlyURL>
This class is a wrapper for LayoutFriendlyURL
.
- 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.LayoutFriendlyURL
LAYOUT_FRIENDLY_U_R_L_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this layout friendly url.Returns the create date of this layout friendly url.long
Returns the ct collection ID of this layout friendly url.Returns the friendly url of this layout friendly url.long
Returns the group ID of this layout friendly url.Returns the language ID of this layout friendly url.Returns the last publish date of this layout friendly url.long
Returns the layout friendly url ID of this layout friendly url.Returns the modified date of this layout friendly url.long
Returns the mvcc version of this layout friendly url.long
getPlid()
Returns the plid of this layout friendly url.long
Returns the primary key of this layout friendly url.boolean
Returns the private layout of this layout friendly url.long
Returns the user ID of this layout friendly url.Returns the user name of this layout friendly url.Returns the user uuid of this layout friendly url.getUuid()
Returns the uuid of this layout friendly url.boolean
Returnstrue
if this layout friendly url is private layout.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setCompanyId
(long companyId) Sets the company ID of this layout friendly url.void
setCreateDate
(Date createDate) Sets the create date of this layout friendly url.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this layout friendly url.void
setFriendlyURL
(String friendlyURL) Sets the friendly url of this layout friendly url.void
setGroupId
(long groupId) Sets the group ID of this layout friendly url.void
setLanguageId
(String languageId) Sets the language ID of this layout friendly url.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this layout friendly url.void
setLayoutFriendlyURLId
(long layoutFriendlyURLId) Sets the layout friendly url ID of this layout friendly url.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this layout friendly url.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this layout friendly url.void
setPlid
(long plid) Sets the plid of this layout friendly url.void
setPrimaryKey
(long primaryKey) Sets the primary key of this layout friendly url.void
setPrivateLayout
(boolean privateLayout) Sets whether this layout friendly url is private layout.void
setUserId
(long userId) Sets the user ID of this layout friendly url.void
setUserName
(String userName) Sets the user name of this layout friendly url.void
setUserUuid
(String userUuid) Sets the user uuid of this layout friendly url.void
Sets the uuid of this layout friendly url.protected LayoutFriendlyURLWrapper
wrap
(LayoutFriendlyURL layoutFriendlyURL) 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, 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
-
LayoutFriendlyURLWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<LayoutFriendlyURL>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<LayoutFriendlyURL>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<LayoutFriendlyURL>
- Specified by:
cloneWithOriginalValues
in interfaceLayoutFriendlyURLModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this layout friendly url.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceLayoutFriendlyURLModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this layout friendly url
-
getCreateDate
Returns the create date of this layout friendly url.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceLayoutFriendlyURLModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this layout friendly url
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this layout friendly url.- Specified by:
getCtCollectionId
in interfaceCTModel<LayoutFriendlyURL>
- Specified by:
getCtCollectionId
in interfaceLayoutFriendlyURLModel
- Returns:
- the ct collection ID of this layout friendly url
-
getFriendlyURL
Returns the friendly url of this layout friendly url.- Specified by:
getFriendlyURL
in interfaceLayoutFriendlyURLModel
- Returns:
- the friendly url of this layout friendly url
-
getGroupId
public long getGroupId()Returns the group ID of this layout friendly url.- Specified by:
getGroupId
in interfaceGroupedModel
- Specified by:
getGroupId
in interfaceLayoutFriendlyURLModel
- Returns:
- the group ID of this layout friendly url
-
getLanguageId
Returns the language ID of this layout friendly url.- Specified by:
getLanguageId
in interfaceLayoutFriendlyURLModel
- Returns:
- the language ID of this layout friendly url
-
getLastPublishDate
Returns the last publish date of this layout friendly url.- Specified by:
getLastPublishDate
in interfaceLayoutFriendlyURLModel
- Specified by:
getLastPublishDate
in interfaceStagedGroupedModel
- Returns:
- the last publish date of this layout friendly url
-
getLayoutFriendlyURLId
public long getLayoutFriendlyURLId()Returns the layout friendly url ID of this layout friendly url.- Specified by:
getLayoutFriendlyURLId
in interfaceLayoutFriendlyURLModel
- Returns:
- the layout friendly url ID of this layout friendly url
-
getModifiedDate
Returns the modified date of this layout friendly url.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceLayoutFriendlyURLModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this layout friendly url
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this layout friendly url.- Specified by:
getMvccVersion
in interfaceLayoutFriendlyURLModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this layout friendly url
-
getPlid
public long getPlid()Returns the plid of this layout friendly url.- Specified by:
getPlid
in interfaceLayoutFriendlyURLModel
- Returns:
- the plid of this layout friendly url
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this layout friendly url.- Specified by:
getPrimaryKey
in interfaceCTModel<LayoutFriendlyURL>
- Specified by:
getPrimaryKey
in interfaceLayoutFriendlyURLModel
- Returns:
- the primary key of this layout friendly url
-
getPrivateLayout
public boolean getPrivateLayout()Returns the private layout of this layout friendly url.- Specified by:
getPrivateLayout
in interfaceLayoutFriendlyURLModel
- Returns:
- the private layout of this layout friendly url
-
getUserId
public long getUserId()Returns the user ID of this layout friendly url.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceLayoutFriendlyURLModel
- Returns:
- the user ID of this layout friendly url
-
getUserName
Returns the user name of this layout friendly url.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceLayoutFriendlyURLModel
- Returns:
- the user name of this layout friendly url
-
getUserUuid
Returns the user uuid of this layout friendly url.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceLayoutFriendlyURLModel
- Returns:
- the user uuid of this layout friendly url
-
getUuid
Returns the uuid of this layout friendly url.- Specified by:
getUuid
in interfaceLayoutFriendlyURLModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this layout friendly url
-
isPrivateLayout
public boolean isPrivateLayout()Returnstrue
if this layout friendly url is private layout.- Specified by:
isPrivateLayout
in interfaceLayoutFriendlyURLModel
- Returns:
true
if this layout friendly url is private layout;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
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this layout friendly url.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceLayoutFriendlyURLModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this layout friendly url
-
setCreateDate
Sets the create date of this layout friendly url.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceLayoutFriendlyURLModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this layout friendly url
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this layout friendly url.- Specified by:
setCtCollectionId
in interfaceCTModel<LayoutFriendlyURL>
- Specified by:
setCtCollectionId
in interfaceLayoutFriendlyURLModel
- Parameters:
ctCollectionId
- the ct collection ID of this layout friendly url
-
setFriendlyURL
Sets the friendly url of this layout friendly url.- Specified by:
setFriendlyURL
in interfaceLayoutFriendlyURLModel
- Parameters:
friendlyURL
- the friendly url of this layout friendly url
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this layout friendly url.- Specified by:
setGroupId
in interfaceGroupedModel
- Specified by:
setGroupId
in interfaceLayoutFriendlyURLModel
- Parameters:
groupId
- the group ID of this layout friendly url
-
setLanguageId
Sets the language ID of this layout friendly url.- Specified by:
setLanguageId
in interfaceLayoutFriendlyURLModel
- Parameters:
languageId
- the language ID of this layout friendly url
-
setLastPublishDate
Sets the last publish date of this layout friendly url.- Specified by:
setLastPublishDate
in interfaceLayoutFriendlyURLModel
- Specified by:
setLastPublishDate
in interfaceStagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this layout friendly url
-
setLayoutFriendlyURLId
public void setLayoutFriendlyURLId(long layoutFriendlyURLId) Sets the layout friendly url ID of this layout friendly url.- Specified by:
setLayoutFriendlyURLId
in interfaceLayoutFriendlyURLModel
- Parameters:
layoutFriendlyURLId
- the layout friendly url ID of this layout friendly url
-
setModifiedDate
Sets the modified date of this layout friendly url.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceLayoutFriendlyURLModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this layout friendly url
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this layout friendly url.- Specified by:
setMvccVersion
in interfaceLayoutFriendlyURLModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this layout friendly url
-
setPlid
public void setPlid(long plid) Sets the plid of this layout friendly url.- Specified by:
setPlid
in interfaceLayoutFriendlyURLModel
- Parameters:
plid
- the plid of this layout friendly url
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this layout friendly url.- Specified by:
setPrimaryKey
in interfaceCTModel<LayoutFriendlyURL>
- Specified by:
setPrimaryKey
in interfaceLayoutFriendlyURLModel
- Parameters:
primaryKey
- the primary key of this layout friendly url
-
setPrivateLayout
public void setPrivateLayout(boolean privateLayout) Sets whether this layout friendly url is private layout.- Specified by:
setPrivateLayout
in interfaceLayoutFriendlyURLModel
- Parameters:
privateLayout
- the private layout of this layout friendly url
-
setUserId
public void setUserId(long userId) Sets the user ID of this layout friendly url.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceLayoutFriendlyURLModel
- Parameters:
userId
- the user ID of this layout friendly url
-
setUserName
Sets the user name of this layout friendly url.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceLayoutFriendlyURLModel
- Parameters:
userName
- the user name of this layout friendly url
-
setUserUuid
Sets the user uuid of this layout friendly url.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceLayoutFriendlyURLModel
- Parameters:
userUuid
- the user uuid of this layout friendly url
-
setUuid
Sets the uuid of this layout friendly url.- Specified by:
setUuid
in interfaceLayoutFriendlyURLModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this layout friendly url
-
toXmlString
- Specified by:
toXmlString
in interfaceLayoutFriendlyURLModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<LayoutFriendlyURL>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<LayoutFriendlyURL>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<LayoutFriendlyURL>
-