|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.PortletItemWrapper
public class PortletItemWrapper
This class is a wrapper for PortletItem.
PortletItem,
Serialized Form| Constructor Summary | |
|---|---|
PortletItemWrapper(PortletItem portletItem)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PortletItem portletItem)
|
String |
getClassName()
Gets the class name of the model instance this portlet item is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this portlet item. |
long |
getCompanyId()
Gets the company id of this portlet item. |
Date |
getCreateDate()
Gets the create date of this portlet item. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this portlet item. |
Date |
getModifiedDate()
Gets the modified date of this portlet item. |
String |
getName()
Gets the name of this portlet item. |
String |
getPortletId()
Gets the portlet id of this portlet item. |
long |
getPortletItemId()
Gets the portlet item id of this portlet item. |
long |
getPrimaryKey()
Gets the primary key of this portlet item. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id of this portlet item. |
String |
getUserName()
Gets the user name of this portlet item. |
String |
getUserUuid()
Gets the user uuid of this portlet item. |
PortletItem |
getWrappedPortletItem()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassNameId(long classNameId)
Sets the class name id of this portlet item. |
void |
setCompanyId(long companyId)
Sets the company id of this portlet item. |
void |
setCreateDate(Date createDate)
Sets the create date of this portlet item. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group id of this portlet item. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this portlet item. |
void |
setName(String name)
Sets the name of this portlet item. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPortletId(String portletId)
Sets the portlet id of this portlet item. |
void |
setPortletItemId(long portletItemId)
Sets the portlet item id of this portlet item. |
void |
setPrimaryKey(long pk)
Sets the primary key of this portlet item |
void |
setUserId(long userId)
Sets the user id of this portlet item. |
void |
setUserName(String userName)
Sets the user name of this portlet item. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this portlet item. |
PortletItem |
toEscapedModel()
Gets a copy of this portlet item as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PortletItemWrapper(PortletItem portletItem)
| Method Detail |
|---|
public long getPrimaryKey()
PortletItemModel
getPrimaryKey in interface PortletItemModelpublic void setPrimaryKey(long pk)
PortletItemModel
setPrimaryKey in interface PortletItemModelpk - the primary key of this portlet itempublic long getPortletItemId()
PortletItemModel
getPortletItemId in interface PortletItemModelpublic void setPortletItemId(long portletItemId)
PortletItemModel
setPortletItemId in interface PortletItemModelportletItemId - the portlet item id of this portlet itempublic long getGroupId()
PortletItemModel
getGroupId in interface PortletItemModelpublic void setGroupId(long groupId)
PortletItemModel
setGroupId in interface PortletItemModelgroupId - the group id of this portlet itempublic long getCompanyId()
PortletItemModel
getCompanyId in interface PortletItemModelpublic void setCompanyId(long companyId)
PortletItemModel
setCompanyId in interface PortletItemModelcompanyId - the company id of this portlet itempublic long getUserId()
PortletItemModel
getUserId in interface PortletItemModelpublic void setUserId(long userId)
PortletItemModel
setUserId in interface PortletItemModeluserId - the user id of this portlet item
public String getUserUuid()
throws SystemException
PortletItemModel
getUserUuid in interface PortletItemModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
PortletItemModel
setUserUuid in interface PortletItemModeluserUuid - the user uuid of this portlet itempublic String getUserName()
PortletItemModel
getUserName in interface PortletItemModelpublic void setUserName(String userName)
PortletItemModel
setUserName in interface PortletItemModeluserName - the user name of this portlet itempublic Date getCreateDate()
PortletItemModel
getCreateDate in interface PortletItemModelpublic void setCreateDate(Date createDate)
PortletItemModel
setCreateDate in interface PortletItemModelcreateDate - the create date of this portlet itempublic Date getModifiedDate()
PortletItemModel
getModifiedDate in interface PortletItemModelpublic void setModifiedDate(Date modifiedDate)
PortletItemModel
setModifiedDate in interface PortletItemModelmodifiedDate - the modified date of this portlet itempublic String getName()
PortletItemModel
getName in interface PortletItemModelpublic void setName(String name)
PortletItemModel
setName in interface PortletItemModelname - the name of this portlet itempublic String getPortletId()
PortletItemModel
getPortletId in interface PortletItemModelpublic void setPortletId(String portletId)
PortletItemModel
setPortletId in interface PortletItemModelportletId - the portlet id of this portlet itempublic String getClassName()
PortletItemModel
getClassName in interface PortletItemModelpublic long getClassNameId()
PortletItemModel
getClassNameId in interface PortletItemModelpublic void setClassNameId(long classNameId)
PortletItemModel
setClassNameId in interface PortletItemModelclassNameId - the class name id of this portlet itempublic PortletItem toEscapedModel()
PortletItemModelAutoEscapeBeanHandler.
toEscapedModel in interface PortletItemModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<PortletItem>isNew in interface PortletItemModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<PortletItem>setNew in interface PortletItemModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<PortletItem>isCachedModel in interface PortletItemModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<PortletItem>setCachedModel in interface PortletItemModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<PortletItem>isEscapedModel in interface PortletItemModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<PortletItem>setEscapedModel in interface PortletItemModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PortletItem>getPrimaryKeyObj in interface PortletItemModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PortletItem>getExpandoBridge in interface PortletItemModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PortletItem>setExpandoBridgeAttributes in interface PortletItemModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<PortletItem>clone in interface PortletItemModelclone in class Objectpublic int compareTo(PortletItem portletItem)
compareTo in interface PortletItemModelcompareTo in interface Comparable<PortletItem>public int hashCode()
hashCode in interface PortletItemModelhashCode in class Objectpublic String toString()
toString in interface PortletItemModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PortletItem>toXmlString in interface PortletItemModelpublic PortletItem getWrappedPortletItem()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||