|
Liferay 6.0.3 | |||||||||
| 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()
|
long |
getClassNameId()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
|
Date |
getModifiedDate()
|
String |
getName()
|
String |
getPortletId()
|
long |
getPortletItemId()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
PortletItem |
getWrappedPortletItem()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setName(String name)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPortletId(String portletId)
|
void |
setPortletItemId(long portletItemId)
|
void |
setPrimaryKey(long pk)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
PortletItem |
toEscapedModel()
|
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()
getPrimaryKey in interface PortletItemModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface PortletItemModelpublic long getPortletItemId()
getPortletItemId in interface PortletItemModelpublic void setPortletItemId(long portletItemId)
setPortletItemId in interface PortletItemModelpublic long getGroupId()
getGroupId in interface PortletItemModelpublic void setGroupId(long groupId)
setGroupId in interface PortletItemModelpublic long getCompanyId()
getCompanyId in interface PortletItemModelpublic void setCompanyId(long companyId)
setCompanyId in interface PortletItemModelpublic long getUserId()
getUserId in interface PortletItemModelpublic void setUserId(long userId)
setUserId in interface PortletItemModel
public String getUserUuid()
throws SystemException
getUserUuid in interface PortletItemModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface PortletItemModelpublic String getUserName()
getUserName in interface PortletItemModelpublic void setUserName(String userName)
setUserName in interface PortletItemModelpublic Date getCreateDate()
getCreateDate in interface PortletItemModelpublic void setCreateDate(Date createDate)
setCreateDate in interface PortletItemModelpublic Date getModifiedDate()
getModifiedDate in interface PortletItemModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface PortletItemModelpublic String getName()
getName in interface PortletItemModelpublic void setName(String name)
setName in interface PortletItemModelpublic String getPortletId()
getPortletId in interface PortletItemModelpublic void setPortletId(String portletId)
setPortletId in interface PortletItemModelpublic String getClassName()
getClassName in interface PortletItemModelpublic long getClassNameId()
getClassNameId in interface PortletItemModelpublic void setClassNameId(long classNameId)
setClassNameId in interface PortletItemModelpublic PortletItem toEscapedModel()
toEscapedModel in interface PortletItemModelpublic 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 has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped 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 has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||