@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 u r l.
|
Date |
getCreateDate()
Returns the create date of this layout friendly u r l.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getFriendlyURL()
Returns the friendly u r l of this layout friendly u r l.
|
long |
getGroupId()
Returns the group ID of this layout friendly u r l.
|
String |
getLanguageId()
Returns the language ID of this layout friendly u r l.
|
Date |
getLastPublishDate()
Returns the last publish date of this layout friendly u r l.
|
long |
getLayoutFriendlyURLId()
Returns the layout friendly u r l ID of this layout friendly u r l.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate()
Returns the modified date of this layout friendly u r l.
|
long |
getMvccVersion()
Returns the mvcc version of this layout friendly u r l.
|
long |
getPlid()
Returns the plid of this layout friendly u r l.
|
long |
getPrimaryKey()
Returns the primary key of this layout friendly u r l.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
boolean |
getPrivateLayout()
Returns the private layout of this layout friendly u r l.
|
StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this layout friendly u r l.
|
String |
getUserName()
Returns the user name of this layout friendly u r l.
|
String |
getUserUuid()
Returns the user uuid of this layout friendly u r l.
|
String |
getUuid()
Returns the uuid of this layout friendly u r l.
|
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 u r l 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 u r l.
|
void |
setCreateDate(Date createDate)
Sets the create date of this layout friendly u r l.
|
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 u r l of this layout friendly u r l.
|
void |
setGroupId(long groupId)
Sets the group ID of this layout friendly u r l.
|
void |
setLanguageId(String languageId)
Sets the language ID of this layout friendly u r l.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this layout friendly u r l.
|
void |
setLayoutFriendlyURLId(long layoutFriendlyURLId)
Sets the layout friendly u r l ID of this layout friendly u r l.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this layout friendly u r l.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this layout friendly u r l.
|
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 u r l.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout friendly u r l.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout friendly u r l is private layout.
|
void |
setUserId(long userId)
Sets the user ID of this layout friendly u r l.
|
void |
setUserName(String userName)
Sets the user name of this layout friendly u r l.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this layout friendly u r l.
|
void |
setUuid(String uuid)
Sets the uuid of this layout friendly u r l.
|
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 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 LayoutFriendlyURL toUnescapedModel()
toUnescapedModel
in interface BaseModel<LayoutFriendlyURL>
toUnescapedModel
in interface LayoutFriendlyURLModel
public boolean getPrivateLayout()
getPrivateLayout
in interface LayoutFriendlyURLModel
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 u r l is private layout.isPrivateLayout
in interface LayoutFriendlyURLModel
true
if this layout friendly u r l is private layout; false
otherwisepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<LayoutFriendlyURL>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface LayoutFriendlyURLModel
public int compareTo(LayoutFriendlyURL layoutFriendlyURL)
compareTo
in interface LayoutFriendlyURLModel
compareTo
in interface Comparable<LayoutFriendlyURL>
public int hashCode()
hashCode
in interface LayoutFriendlyURLModel
hashCode
in class Object
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<LayoutFriendlyURL>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface LayoutFriendlyURLModel
public Object clone()
BaseModel
clone
in interface BaseModel<LayoutFriendlyURL>
clone
in interface LayoutFriendlyURLModel
clone
in interface StagedModel
clone
in class Object
public String getFriendlyURL()
getFriendlyURL
in interface LayoutFriendlyURLModel
public String getLanguageId()
getLanguageId
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 String toString()
toString
in interface LayoutFriendlyURLModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<LayoutFriendlyURL>
toXmlString
in interface LayoutFriendlyURLModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface LayoutFriendlyURLModel
getCreateDate
in interface StagedModel
public Date getLastPublishDate()
getLastPublishDate
in interface LayoutFriendlyURLModel
getLastPublishDate
in interface StagedGroupedModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface LayoutFriendlyURLModel
getModifiedDate
in interface StagedModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface LayoutFriendlyURLModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface LayoutFriendlyURLModel
public long getLayoutFriendlyURLId()
getLayoutFriendlyURLId
in interface LayoutFriendlyURLModel
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 long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface LayoutFriendlyURLModel
public 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 u r lpublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface LayoutFriendlyURLModel
setCreateDate
in interface StagedModel
createDate
- the create date of this layout friendly u r lpublic 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 u r l of this layout friendly u r lpublic void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface LayoutFriendlyURLModel
groupId
- the group ID of this layout friendly u r lpublic void setLanguageId(String languageId)
setLanguageId
in interface LayoutFriendlyURLModel
languageId
- the language ID of this layout friendly u r lpublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface LayoutFriendlyURLModel
setLastPublishDate
in interface StagedGroupedModel
lastPublishDate
- the last publish date of this layout friendly u r lpublic void setLayoutFriendlyURLId(long layoutFriendlyURLId)
setLayoutFriendlyURLId
in interface LayoutFriendlyURLModel
layoutFriendlyURLId
- the layout friendly u r l ID of this layout friendly u r lpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface LayoutFriendlyURLModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this layout friendly u r lpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface LayoutFriendlyURLModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this layout friendly u r lpublic 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 u r lpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutFriendlyURLModel
primaryKey
- the primary key of this layout friendly u r lpublic 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 u r lpublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface LayoutFriendlyURLModel
userId
- the user ID of this layout friendly u r lpublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface LayoutFriendlyURLModel
userName
- the user name of this layout friendly u r lpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface LayoutFriendlyURLModel
userUuid
- the user uuid of this layout friendly u r lpublic void setUuid(String uuid)
setUuid
in interface LayoutFriendlyURLModel
setUuid
in interface StagedModel
uuid
- the uuid of this layout friendly u r lpublic 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>