|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<PortletPreferences>
com.liferay.portal.model.impl.PortletPreferencesModelImpl
@JSON(strict=true) public class PortletPreferencesModelImpl
The base model implementation for the PortletPreferences service. Represents a row in the "PortletPreferences" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface PortletPreferencesModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PortletPreferencesImpl.
PortletPreferencesImpl,
PortletPreferences,
PortletPreferencesModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
OWNERID_COLUMN_BITMASK
|
static long |
OWNERTYPE_COLUMN_BITMASK
|
static long |
PLID_COLUMN_BITMASK
|
static long |
PORTLETID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
PortletPreferencesModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PortletPreferences portletPreferences)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalOwnerId()
|
int |
getOriginalOwnerType()
|
long |
getOriginalPlid()
|
String |
getOriginalPortletId()
|
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. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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. |
static PortletPreferences |
toModel(PortletPreferencesSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<PortletPreferences> |
toModels(PortletPreferencesSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.PortletPreferencesModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long OWNERID_COLUMN_BITMASK
public static long OWNERTYPE_COLUMN_BITMASK
public static long PLID_COLUMN_BITMASK
public static long PORTLETID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public PortletPreferencesModelImpl()
| Method Detail |
|---|
public static PortletPreferences toModel(PortletPreferencesSoap soapModel)
soapModel - the soap model instance to convert
public static List<PortletPreferences> toModels(PortletPreferencesSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
PortletPreferencesModel
getPrimaryKey in interface PortletPreferencesModelpublic void setPrimaryKey(long primaryKey)
PortletPreferencesModel
setPrimaryKey in interface PortletPreferencesModelprimaryKey - the primary key of this portlet preferencespublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PortletPreferences>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface PortletPreferencesModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<PortletPreferences>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface PortletPreferencesModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PortletPreferences>getModelAttributes in class BaseModelImpl<PortletPreferences>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PortletPreferences>setModelAttributes in class BaseModelImpl<PortletPreferences>@JSON public long getPortletPreferencesId()
PortletPreferencesModel
getPortletPreferencesId in interface PortletPreferencesModelpublic void setPortletPreferencesId(long portletPreferencesId)
PortletPreferencesModel
setPortletPreferencesId in interface PortletPreferencesModelportletPreferencesId - the portlet preferences ID of this portlet preferences@JSON public long getOwnerId()
PortletPreferencesModel
getOwnerId in interface PortletPreferencesModelpublic void setOwnerId(long ownerId)
PortletPreferencesModel
setOwnerId in interface PortletPreferencesModelownerId - the owner ID of this portlet preferencespublic long getOriginalOwnerId()
@JSON public int getOwnerType()
PortletPreferencesModel
getOwnerType in interface PortletPreferencesModelpublic void setOwnerType(int ownerType)
PortletPreferencesModel
setOwnerType in interface PortletPreferencesModelownerType - the owner type of this portlet preferencespublic int getOriginalOwnerType()
@JSON public long getPlid()
PortletPreferencesModel
getPlid in interface PortletPreferencesModelpublic void setPlid(long plid)
PortletPreferencesModel
setPlid in interface PortletPreferencesModelplid - the plid of this portlet preferencespublic long getOriginalPlid()
@JSON public String getPortletId()
PortletPreferencesModel
getPortletId in interface PortletPreferencesModelpublic void setPortletId(String portletId)
PortletPreferencesModel
setPortletId in interface PortletPreferencesModelportletId - the portlet ID of this portlet preferencespublic String getOriginalPortletId()
@JSON public String getPreferences()
PortletPreferencesModel
getPreferences in interface PortletPreferencesModelpublic void setPreferences(String preferences)
PortletPreferencesModel
setPreferences in interface PortletPreferencesModelpreferences - the preferences of this portlet preferencespublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PortletPreferences>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface PortletPreferencesModelgetExpandoBridge in class BaseModelImpl<PortletPreferences>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PortletPreferences>setExpandoBridgeAttributes in interface PortletPreferencesModelsetExpandoBridgeAttributes in class BaseModelImpl<PortletPreferences>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public PortletPreferences toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<PortletPreferences>toEscapedModel in interface PortletPreferencesModeltoEscapedModel in class BaseModelImpl<PortletPreferences>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<PortletPreferences>clone in interface PortletPreferencesModelclone in class BaseModelImpl<PortletPreferences>public int compareTo(PortletPreferences portletPreferences)
compareTo in interface PortletPreferencesModelcompareTo in interface Comparable<PortletPreferences>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface PortletPreferencesModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<PortletPreferences>resetOriginalValues in class BaseModelImpl<PortletPreferences>public CacheModel<PortletPreferences> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<PortletPreferences>toCacheModel in interface PortletPreferencesModeltoCacheModel in class BaseModelImpl<PortletPreferences>public String toString()
toString in interface PortletPreferencesModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PortletPreferences>toXmlString in interface PortletPreferencesModel
|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||