|
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.PortletPreferencesWrapper
public class PortletPreferencesWrapper
This class is a wrapper for PortletPreferences.
PortletPreferences,
Serialized Form| Constructor Summary | |
|---|---|
PortletPreferencesWrapper(PortletPreferences portletPreferences)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PortletPreferences portletPreferences)
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getOwnerId()
Gets the owner id of this portlet preferences. |
int |
getOwnerType()
Gets the owner type of this portlet preferences. |
long |
getPlid()
Gets the plid of this portlet preferences. |
String |
getPortletId()
Gets the portlet id of this portlet preferences. |
long |
getPortletPreferencesId()
Gets the portlet preferences id of this portlet preferences. |
String |
getPreferences()
Gets the preferences of this portlet preferences. |
long |
getPrimaryKey()
Gets the primary key of this portlet preferences. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
PortletPreferences |
getWrappedPortletPreferences()
|
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 |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setOwnerId(long ownerId)
Sets the owner id of this portlet preferences. |
void |
setOwnerType(int ownerType)
Sets the owner type of this portlet preferences. |
void |
setPlid(long plid)
Sets the plid of this portlet preferences. |
void |
setPortletId(String portletId)
Sets the portlet id of this portlet preferences. |
void |
setPortletPreferencesId(long portletPreferencesId)
Sets the portlet preferences id of this portlet preferences. |
void |
setPreferences(String preferences)
Sets the preferences of this portlet preferences. |
void |
setPrimaryKey(long pk)
Sets the primary key of this portlet preferences |
PortletPreferences |
toEscapedModel()
Gets a copy of this portlet preferences 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 PortletPreferencesWrapper(PortletPreferences portletPreferences)
| Method Detail |
|---|
public long getPrimaryKey()
PortletPreferencesModel
getPrimaryKey in interface PortletPreferencesModelpublic void setPrimaryKey(long pk)
PortletPreferencesModel
setPrimaryKey in interface PortletPreferencesModelpk - the primary key of this portlet preferencespublic long getPortletPreferencesId()
PortletPreferencesModel
getPortletPreferencesId in interface PortletPreferencesModelpublic void setPortletPreferencesId(long portletPreferencesId)
PortletPreferencesModel
setPortletPreferencesId in interface PortletPreferencesModelportletPreferencesId - the portlet preferences id of this portlet preferencespublic long getOwnerId()
PortletPreferencesModel
getOwnerId in interface PortletPreferencesModelpublic void setOwnerId(long ownerId)
PortletPreferencesModel
setOwnerId in interface PortletPreferencesModelownerId - the owner id of this portlet preferencespublic int getOwnerType()
PortletPreferencesModel
getOwnerType in interface PortletPreferencesModelpublic void setOwnerType(int ownerType)
PortletPreferencesModel
setOwnerType in interface PortletPreferencesModelownerType - the owner type of this portlet preferencespublic long getPlid()
PortletPreferencesModel
getPlid in interface PortletPreferencesModelpublic void setPlid(long plid)
PortletPreferencesModel
setPlid in interface PortletPreferencesModelplid - the plid of this portlet preferencespublic String getPortletId()
PortletPreferencesModel
getPortletId in interface PortletPreferencesModelpublic void setPortletId(String portletId)
PortletPreferencesModel
setPortletId in interface PortletPreferencesModelportletId - the portlet id of this portlet preferencespublic String getPreferences()
PortletPreferencesModel
getPreferences in interface PortletPreferencesModelpublic void setPreferences(String preferences)
PortletPreferencesModel
setPreferences in interface PortletPreferencesModelpreferences - the preferences of this portlet preferencespublic PortletPreferences toEscapedModel()
PortletPreferencesModelAutoEscapeBeanHandler.
toEscapedModel in interface PortletPreferencesModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<PortletPreferences>isNew in interface PortletPreferencesModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<PortletPreferences>setNew in interface PortletPreferencesModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<PortletPreferences>isCachedModel in interface PortletPreferencesModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<PortletPreferences>setCachedModel in interface PortletPreferencesModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<PortletPreferences>isEscapedModel in interface PortletPreferencesModeltrue 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<PortletPreferences>setEscapedModel in interface PortletPreferencesModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PortletPreferences>getPrimaryKeyObj in interface PortletPreferencesModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PortletPreferences>getExpandoBridge in interface PortletPreferencesModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PortletPreferences>setExpandoBridgeAttributes in interface PortletPreferencesModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<PortletPreferences>clone in interface PortletPreferencesModelclone in class Objectpublic int compareTo(PortletPreferences portletPreferences)
compareTo in interface PortletPreferencesModelcompareTo in interface Comparable<PortletPreferences>public int hashCode()
hashCode in interface PortletPreferencesModelhashCode in class Objectpublic String toString()
toString in interface PortletPreferencesModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PortletPreferences>toXmlString in interface PortletPreferencesModelpublic PortletPreferences getWrappedPortletPreferences()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||