|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.PortletPreferencesWrapper
@ProviderType public class PortletPreferencesWrapper
This class is a wrapper for PortletPreferences.
PortletPreferences,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.PortletPreferences |
|---|
PORTLET_PREFERENCES_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
PortletPreferencesWrapper(PortletPreferences portletPreferences)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PortletPreferences portletPreferences)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Returns the company ID of this portlet preferences. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this portlet preferences. |
long |
getOwnerId()
Returns the owner ID of this portlet preferences. |
int |
getOwnerType()
Returns the owner type of this portlet preferences. |
long |
getPlid()
Returns the plid of this portlet preferences. |
String |
getPortletId()
Returns the portlet ID of this portlet preferences. |
long |
getPortletPreferencesId()
Returns the portlet preferences ID of this portlet preferences. |
String |
getPreferences()
Returns the preferences of this portlet preferences. |
long |
getPrimaryKey()
Returns the primary key of this portlet preferences. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
PortletPreferences |
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. |
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 portlet preferences. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this portlet preferences. |
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 primaryKey)
Sets the primary key of this portlet preferences. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
CacheModel<PortletPreferences> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
PortletPreferences |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
PortletPreferences |
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 PortletPreferencesWrapper(PortletPreferences portletPreferences)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PortletPreferences>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PortletPreferences>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 long getCompanyId()
getCompanyId in interface PortletPreferencesModelgetCompanyId in interface ShardedModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PortletPreferences>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface PortletPreferencesModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface PortletPreferencesModelpublic long getOwnerId()
getOwnerId in interface PortletPreferencesModelpublic int getOwnerType()
getOwnerType in interface PortletPreferencesModelpublic long getPlid()
getPlid in interface PortletPreferencesModelpublic String getPortletId()
getPortletId in interface PortletPreferencesModelpublic long getPortletPreferencesId()
getPortletPreferencesId in interface PortletPreferencesModelpublic String getPreferences()
getPreferences in interface PortletPreferencesModelpublic long getPrimaryKey()
getPrimaryKey in interface PortletPreferencesModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PortletPreferences>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface PortletPreferencesModelpublic int hashCode()
hashCode in interface PortletPreferencesModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<PortletPreferences>isCachedModel in interface PortletPreferencesModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<PortletPreferences>isEscapedModel in interface PortletPreferencesModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<PortletPreferences>isNew in interface PortletPreferencesModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<PortletPreferences>setCachedModel in interface PortletPreferencesModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface PortletPreferencesModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this portlet preferencespublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<PortletPreferences>setExpandoBridgeAttributes in interface PortletPreferencesModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<PortletPreferences>setExpandoBridgeAttributes in interface PortletPreferencesModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PortletPreferences>setExpandoBridgeAttributes in interface PortletPreferencesModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface PortletPreferencesModelmvccVersion - the mvcc version of this portlet preferencespublic 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 void setOwnerId(long ownerId)
setOwnerId in interface PortletPreferencesModelownerId - the owner ID of this portlet preferencespublic void setOwnerType(int ownerType)
setOwnerType in interface PortletPreferencesModelownerType - the owner type of this portlet preferencespublic void setPlid(long plid)
setPlid in interface PortletPreferencesModelplid - the plid of this portlet preferencespublic void setPortletId(String portletId)
setPortletId in interface PortletPreferencesModelportletId - the portlet ID of this portlet preferencespublic void setPortletPreferencesId(long portletPreferencesId)
setPortletPreferencesId in interface PortletPreferencesModelportletPreferencesId - the portlet preferences ID of this portlet preferencespublic void setPreferences(String preferences)
setPreferences in interface PortletPreferencesModelpreferences - the preferences of this portlet preferencespublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PortletPreferencesModelprimaryKey - the primary key of this portlet preferencespublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<PortletPreferences>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface PortletPreferencesModelprimaryKeyObj - the primary key of this model instancepublic CacheModel<PortletPreferences> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<PortletPreferences>toCacheModel in interface PortletPreferencesModelpublic PortletPreferences toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<PortletPreferences>toEscapedModel in interface PortletPreferencesModelAutoEscapeBeanHandlerpublic String toString()
toString in interface PortletPreferencesModeltoString in class Objectpublic PortletPreferences toUnescapedModel()
toUnescapedModel in interface BaseModel<PortletPreferences>toUnescapedModel in interface PortletPreferencesModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PortletPreferences>toXmlString in interface PortletPreferencesModelpublic boolean equals(Object obj)
equals in class Objectpublic PortletPreferences getWrappedModel()
getWrappedModel in interface ModelWrapper<PortletPreferences>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<PortletPreferences>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<PortletPreferences>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<PortletPreferences>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||