@ProviderType public class LayoutFriendlyURLWrapper extends Object implements LayoutFriendlyURL, ModelWrapper<LayoutFriendlyURL>
This class is a wrapper for LayoutFriendlyURL
.
LayoutFriendlyURL
,
Serialized FormLAYOUT_FRIENDLY_U_R_L_ID_ACCESSOR
Constructor and Description |
---|
LayoutFriendlyURLWrapper(LayoutFriendlyURL layoutFriendlyURL) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(LayoutFriendlyURL layoutFriendlyURL) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this layout friendly url.
|
Date |
getCreateDate()
Returns the create date of this layout friendly url.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getFriendlyURL()
Returns the friendly url of this layout friendly url.
|
long |
getGroupId()
Returns the group ID of this layout friendly url.
|
String |
getLanguageId()
Returns the language ID of this layout friendly url.
|
Date |
getLastPublishDate()
Returns the last publish date of this layout friendly url.
|
long |
getLayoutFriendlyURLId()
Returns the layout friendly url ID of this layout friendly url.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate()
Returns the modified date of this layout friendly url.
|
long |
getMvccVersion()
Returns the mvcc version of this layout friendly url.
|
long |
getPlid()
Returns the plid of this layout friendly url.
|
long |
getPrimaryKey()
Returns the primary key of this layout friendly url.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
boolean |
getPrivateLayout()
Returns the private layout of this layout friendly url.
|
StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this layout friendly url.
|
String |
getUserName()
Returns the user name of this layout friendly url.
|
String |
getUserUuid()
Returns the user uuid of this layout friendly url.
|
String |
getUuid()
Returns the uuid of this layout friendly url.
|
LayoutFriendlyURL |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isPrivateLayout()
Returns
true 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 |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
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 |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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 |
setUuid(String uuid)
Sets the uuid of this layout friendly url.
|
CacheModel<LayoutFriendlyURL> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
LayoutFriendlyURL |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
LayoutFriendlyURL |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public LayoutFriendlyURLWrapper(LayoutFriendlyURL layoutFriendlyURL)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<LayoutFriendlyURL>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<LayoutFriendlyURL>
public Object clone()
BaseModel
clone
in interface BaseModel<LayoutFriendlyURL>
clone
in interface LayoutFriendlyURLModel
clone
in interface StagedModel
clone
in class Object
public int compareTo(LayoutFriendlyURL layoutFriendlyURL)
compareTo
in interface LayoutFriendlyURLModel
compareTo
in interface Comparable<LayoutFriendlyURL>
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface LayoutFriendlyURLModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface LayoutFriendlyURLModel
getCreateDate
in interface StagedModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<LayoutFriendlyURL>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface LayoutFriendlyURLModel
public String getFriendlyURL()
getFriendlyURL
in interface LayoutFriendlyURLModel
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface LayoutFriendlyURLModel
public String getLanguageId()
getLanguageId
in interface LayoutFriendlyURLModel
public Date getLastPublishDate()
getLastPublishDate
in interface LayoutFriendlyURLModel
getLastPublishDate
in interface StagedGroupedModel
public long getLayoutFriendlyURLId()
getLayoutFriendlyURLId
in interface LayoutFriendlyURLModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface LayoutFriendlyURLModel
getModifiedDate
in interface StagedModel
public long getMvccVersion()
getMvccVersion
in interface LayoutFriendlyURLModel
getMvccVersion
in interface MVCCModel
public long getPlid()
getPlid
in interface LayoutFriendlyURLModel
public long getPrimaryKey()
getPrimaryKey
in interface LayoutFriendlyURLModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<LayoutFriendlyURL>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface LayoutFriendlyURLModel
public boolean getPrivateLayout()
getPrivateLayout
in interface LayoutFriendlyURLModel
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface LayoutFriendlyURLModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface LayoutFriendlyURLModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface LayoutFriendlyURLModel
public String getUuid()
getUuid
in interface LayoutFriendlyURLModel
getUuid
in interface StagedModel
public int hashCode()
hashCode
in interface LayoutFriendlyURLModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<LayoutFriendlyURL>
isCachedModel
in interface LayoutFriendlyURLModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<LayoutFriendlyURL>
isEscapedModel
in interface LayoutFriendlyURLModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<LayoutFriendlyURL>
isNew
in interface LayoutFriendlyURLModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic boolean isPrivateLayout()
true
if this layout friendly url is private layout.isPrivateLayout
in interface LayoutFriendlyURLModel
true
if this layout friendly url is private layout; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<LayoutFriendlyURL>
setCachedModel
in interface LayoutFriendlyURLModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface LayoutFriendlyURLModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this layout friendly urlpublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface LayoutFriendlyURLModel
setCreateDate
in interface StagedModel
createDate
- the create date of this layout friendly urlpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<LayoutFriendlyURL>
setExpandoBridgeAttributes
in interface LayoutFriendlyURLModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<LayoutFriendlyURL>
setExpandoBridgeAttributes
in interface LayoutFriendlyURLModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<LayoutFriendlyURL>
setExpandoBridgeAttributes
in interface LayoutFriendlyURLModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setFriendlyURL(String friendlyURL)
setFriendlyURL
in interface LayoutFriendlyURLModel
friendlyURL
- the friendly url of this layout friendly urlpublic void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface LayoutFriendlyURLModel
groupId
- the group ID of this layout friendly urlpublic void setLanguageId(String languageId)
setLanguageId
in interface LayoutFriendlyURLModel
languageId
- the language ID of this layout friendly urlpublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface LayoutFriendlyURLModel
setLastPublishDate
in interface StagedGroupedModel
lastPublishDate
- the last publish date of this layout friendly urlpublic void setLayoutFriendlyURLId(long layoutFriendlyURLId)
setLayoutFriendlyURLId
in interface LayoutFriendlyURLModel
layoutFriendlyURLId
- the layout friendly url ID of this layout friendly urlpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface LayoutFriendlyURLModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this layout friendly urlpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface LayoutFriendlyURLModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this layout friendly urlpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<LayoutFriendlyURL>
setNew
in interface LayoutFriendlyURLModel
n
- whether this model instance does not yet exist in the databasepublic void setPlid(long plid)
setPlid
in interface LayoutFriendlyURLModel
plid
- the plid of this layout friendly urlpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutFriendlyURLModel
primaryKey
- the primary key of this layout friendly urlpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<LayoutFriendlyURL>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface LayoutFriendlyURLModel
primaryKeyObj
- the primary key of this model instancepublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout
in interface LayoutFriendlyURLModel
privateLayout
- the private layout of this layout friendly urlpublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface LayoutFriendlyURLModel
userId
- the user ID of this layout friendly urlpublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface LayoutFriendlyURLModel
userName
- the user name of this layout friendly urlpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface LayoutFriendlyURLModel
userUuid
- the user uuid of this layout friendly urlpublic void setUuid(String uuid)
setUuid
in interface LayoutFriendlyURLModel
setUuid
in interface StagedModel
uuid
- the uuid of this layout friendly urlpublic CacheModel<LayoutFriendlyURL> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<LayoutFriendlyURL>
toCacheModel
in interface LayoutFriendlyURLModel
public LayoutFriendlyURL toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<LayoutFriendlyURL>
toEscapedModel
in interface LayoutFriendlyURLModel
AutoEscapeBeanHandler
public String toString()
toString
in interface LayoutFriendlyURLModel
toString
in class Object
public LayoutFriendlyURL toUnescapedModel()
toUnescapedModel
in interface BaseModel<LayoutFriendlyURL>
toUnescapedModel
in interface LayoutFriendlyURLModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<LayoutFriendlyURL>
toXmlString
in interface LayoutFriendlyURLModel
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public LayoutFriendlyURL getWrappedModel()
getWrappedModel
in interface ModelWrapper<LayoutFriendlyURL>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<LayoutFriendlyURL>
true
if this model's entity cache is enabled;
false
otherwisepublic boolean isFinderCacheEnabled()
BaseModel
true
if this model's finder cache is enabled.isFinderCacheEnabled
in interface BaseModel<LayoutFriendlyURL>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<LayoutFriendlyURL>