|
Liferay 6.2-ce-ga4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.PortalPreferencesWrapper
@ProviderType public class PortalPreferencesWrapper
This class is a wrapper for PortalPreferences.
PortalPreferences,
Serialized Form| Constructor Summary | |
|---|---|
PortalPreferencesWrapper(PortalPreferences portalPreferences)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PortalPreferences portalPreferences)
|
boolean |
equals(Object obj)
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOwnerId()
Returns the owner ID of this portal preferences. |
int |
getOwnerType()
Returns the owner type of this portal preferences. |
long |
getPortalPreferencesId()
Returns the portal preferences ID of this portal preferences. |
String |
getPreferences()
Returns the preferences of this portal preferences. |
long |
getPrimaryKey()
Returns the primary key of this portal preferences. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
PortalPreferences |
getWrappedModel()
|
PortalPreferences |
getWrappedPortalPreferences()
Deprecated. As of 6.1.0, replaced by 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. |
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 |
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 |
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 portal preferences. |
void |
setOwnerType(int ownerType)
Sets the owner type of this portal preferences. |
void |
setPortalPreferencesId(long portalPreferencesId)
Sets the portal preferences ID of this portal preferences. |
void |
setPreferences(String preferences)
Sets the preferences of this portal preferences. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this portal preferences. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
CacheModel<PortalPreferences> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
PortalPreferences |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
PortalPreferences |
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 PortalPreferencesWrapper(PortalPreferences portalPreferences)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PortalPreferences>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PortalPreferences>public long getPrimaryKey()
getPrimaryKey in interface PortalPreferencesModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PortalPreferencesModelprimaryKey - the primary key of this portal preferencespublic long getPortalPreferencesId()
getPortalPreferencesId in interface PortalPreferencesModelpublic void setPortalPreferencesId(long portalPreferencesId)
setPortalPreferencesId in interface PortalPreferencesModelportalPreferencesId - the portal preferences ID of this portal preferencespublic long getOwnerId()
getOwnerId in interface PortalPreferencesModelpublic void setOwnerId(long ownerId)
setOwnerId in interface PortalPreferencesModelownerId - the owner ID of this portal preferencespublic int getOwnerType()
getOwnerType in interface PortalPreferencesModelpublic void setOwnerType(int ownerType)
setOwnerType in interface PortalPreferencesModelownerType - the owner type of this portal preferencespublic String getPreferences()
getPreferences in interface PortalPreferencesModelpublic void setPreferences(String preferences)
setPreferences in interface PortalPreferencesModelpreferences - the preferences of this portal preferencespublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<PortalPreferences>isNew in interface PortalPreferencesModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<PortalPreferences>setNew in interface PortalPreferencesModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<PortalPreferences>isCachedModel in interface PortalPreferencesModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<PortalPreferences>setCachedModel in interface PortalPreferencesModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<PortalPreferences>isEscapedModel in interface PortalPreferencesModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PortalPreferences>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface PortalPreferencesModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<PortalPreferences>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface PortalPreferencesModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PortalPreferences>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface PortalPreferencesModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<PortalPreferences>setExpandoBridgeAttributes in interface PortalPreferencesModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<PortalPreferences>setExpandoBridgeAttributes in interface PortalPreferencesModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PortalPreferences>setExpandoBridgeAttributes in interface PortalPreferencesModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<PortalPreferences>clone in interface PortalPreferencesModelclone in class Objectpublic int compareTo(PortalPreferences portalPreferences)
compareTo in interface PortalPreferencesModelcompareTo in interface Comparable<PortalPreferences>public int hashCode()
hashCode in interface PortalPreferencesModelhashCode in class Objectpublic CacheModel<PortalPreferences> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<PortalPreferences>toCacheModel in interface PortalPreferencesModelpublic PortalPreferences toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<PortalPreferences>toEscapedModel in interface PortalPreferencesModelAutoEscapeBeanHandlerpublic PortalPreferences toUnescapedModel()
toUnescapedModel in interface BaseModel<PortalPreferences>toUnescapedModel in interface PortalPreferencesModelpublic String toString()
toString in interface PortalPreferencesModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PortalPreferences>toXmlString in interface PortalPreferencesModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(Object obj)
equals in class Objectpublic PortalPreferences getWrappedPortalPreferences()
getWrappedModel()
public PortalPreferences getWrappedModel()
getWrappedModel in interface ModelWrapper<PortalPreferences>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<PortalPreferences>
|
Liferay 6.2-ce-ga4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||