|
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.impl.BaseModelImpl<PortletPreferences>
com.liferay.portal.model.impl.PortletPreferencesModelImpl
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.
Never modify or reference this class directly. All methods that expect a portlet preferences model instance should use the PortletPreferences interface instead.
PortletPreferencesImpl,
PortletPreferences,
PortletPreferencesModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
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)
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getOriginalOwnerId()
|
int |
getOriginalOwnerType()
|
long |
getOriginalPlid()
|
String |
getOriginalPortletId()
|
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. |
int |
hashCode()
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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. |
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()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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, setEscapedModel, 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 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 pk)
PortletPreferencesModel
setPrimaryKey in interface PortletPreferencesModelpk - the primary key of this portlet preferencespublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PortletPreferences>getPrimaryKeyObj in interface PortletPreferencesModelpublic 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 long getOriginalOwnerId()
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()
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()
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()
public 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PortletPreferences>getExpandoBridge 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 context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public 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 String toString()
toString in interface PortletPreferencesModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PortletPreferences>toXmlString in interface PortletPreferencesModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||