|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.LayoutFriendlyURLWrapper
@ProviderType public class LayoutFriendlyURLWrapper
This class is a wrapper for LayoutFriendlyURL
.
LayoutFriendlyURL
,
Serialized FormConstructor Summary | |
---|---|
LayoutFriendlyURLWrapper(LayoutFriendlyURL layoutFriendlyURL)
|
Method Summary | |
---|---|
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. |
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 |
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 |
getWrappedLayoutFriendlyURL()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
LayoutFriendlyURL |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
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 |
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 |
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. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LayoutFriendlyURLWrapper(LayoutFriendlyURL layoutFriendlyURL)
Method Detail |
---|
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 long getPrimaryKey()
getPrimaryKey
in interface LayoutFriendlyURLModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutFriendlyURLModel
primaryKey
- the primary key of this layout friendly u r lpublic String getUuid()
getUuid
in interface LayoutFriendlyURLModel
getUuid
in interface StagedModel
public void setUuid(String uuid)
setUuid
in interface LayoutFriendlyURLModel
setUuid
in interface StagedModel
uuid
- the uuid of this layout friendly u r lpublic long getLayoutFriendlyURLId()
getLayoutFriendlyURLId
in interface LayoutFriendlyURLModel
public void setLayoutFriendlyURLId(long layoutFriendlyURLId)
setLayoutFriendlyURLId
in interface LayoutFriendlyURLModel
layoutFriendlyURLId
- the layout friendly u r l ID of this layout friendly u r lpublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface LayoutFriendlyURLModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface LayoutFriendlyURLModel
groupId
- the group ID of this layout friendly u r lpublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface LayoutFriendlyURLModel
getCompanyId
in interface StagedModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface LayoutFriendlyURLModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this layout friendly u r lpublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface LayoutFriendlyURLModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface LayoutFriendlyURLModel
userId
- the user ID of this layout friendly u r lpublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface LayoutFriendlyURLModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface LayoutFriendlyURLModel
userUuid
- the user uuid of this layout friendly u r lpublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface LayoutFriendlyURLModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface LayoutFriendlyURLModel
userName
- the user name of this layout friendly u r lpublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface LayoutFriendlyURLModel
getCreateDate
in interface StagedModel
public 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 Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface LayoutFriendlyURLModel
getModifiedDate
in interface StagedModel
public 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 long getPlid()
getPlid
in interface LayoutFriendlyURLModel
public void setPlid(long plid)
setPlid
in interface LayoutFriendlyURLModel
plid
- the plid of this layout friendly u r lpublic boolean getPrivateLayout()
getPrivateLayout
in interface LayoutFriendlyURLModel
public 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 void setPrivateLayout(boolean privateLayout)
setPrivateLayout
in interface LayoutFriendlyURLModel
privateLayout
- the private layout of this layout friendly u r lpublic String getFriendlyURL()
getFriendlyURL
in interface LayoutFriendlyURLModel
public void setFriendlyURL(String friendlyURL)
setFriendlyURL
in interface LayoutFriendlyURLModel
friendlyURL
- the friendly u r l of this layout friendly u r lpublic String getLanguageId()
getLanguageId
in interface LayoutFriendlyURLModel
public void setLanguageId(String languageId)
setLanguageId
in interface LayoutFriendlyURLModel
languageId
- the language ID of this layout friendly u r lpublic 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 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 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 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 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<LayoutFriendlyURL>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface LayoutFriendlyURLModel
public 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<LayoutFriendlyURL>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface LayoutFriendlyURLModel
public 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 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 int hashCode()
hashCode
in interface LayoutFriendlyURLModel
hashCode
in class Object
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 String toString()
toString
in interface LayoutFriendlyURLModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<LayoutFriendlyURL>
toXmlString
in interface LayoutFriendlyURLModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public LayoutFriendlyURL getWrappedLayoutFriendlyURL()
getWrappedModel()
public LayoutFriendlyURL getWrappedModel()
getWrappedModel
in interface ModelWrapper<LayoutFriendlyURL>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<LayoutFriendlyURL>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |