|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 PortletPreferencesModel
public void setPrimaryKey(long pk)
PortletPreferencesModel
setPrimaryKey
in interface PortletPreferencesModel
pk
- the primary key of this portlet preferencespublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<PortletPreferences>
getPrimaryKeyObj
in interface PortletPreferencesModel
public long getPortletPreferencesId()
PortletPreferencesModel
getPortletPreferencesId
in interface PortletPreferencesModel
public void setPortletPreferencesId(long portletPreferencesId)
PortletPreferencesModel
setPortletPreferencesId
in interface PortletPreferencesModel
portletPreferencesId
- the portlet preferences id of this portlet preferencespublic long getOwnerId()
PortletPreferencesModel
getOwnerId
in interface PortletPreferencesModel
public void setOwnerId(long ownerId)
PortletPreferencesModel
setOwnerId
in interface PortletPreferencesModel
ownerId
- the owner id of this portlet preferencespublic long getOriginalOwnerId()
public int getOwnerType()
PortletPreferencesModel
getOwnerType
in interface PortletPreferencesModel
public void setOwnerType(int ownerType)
PortletPreferencesModel
setOwnerType
in interface PortletPreferencesModel
ownerType
- the owner type of this portlet preferencespublic int getOriginalOwnerType()
public long getPlid()
PortletPreferencesModel
getPlid
in interface PortletPreferencesModel
public void setPlid(long plid)
PortletPreferencesModel
setPlid
in interface PortletPreferencesModel
plid
- the plid of this portlet preferencespublic long getOriginalPlid()
public String getPortletId()
PortletPreferencesModel
getPortletId
in interface PortletPreferencesModel
public void setPortletId(String portletId)
PortletPreferencesModel
setPortletId
in interface PortletPreferencesModel
portletId
- the portlet id of this portlet preferencespublic String getOriginalPortletId()
public String getPreferences()
PortletPreferencesModel
getPreferences
in interface PortletPreferencesModel
public void setPreferences(String preferences)
PortletPreferencesModel
setPreferences
in interface PortletPreferencesModel
preferences
- the preferences of this portlet preferencespublic PortletPreferences toEscapedModel()
PortletPreferencesModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface PortletPreferencesModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<PortletPreferences>
getExpandoBridge
in interface PortletPreferencesModel
getExpandoBridge
in class BaseModelImpl<PortletPreferences>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<PortletPreferences>
setExpandoBridgeAttributes
in interface PortletPreferencesModel
setExpandoBridgeAttributes
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 PortletPreferencesModel
clone
in class BaseModelImpl<PortletPreferences>
public int compareTo(PortletPreferences portletPreferences)
compareTo
in interface PortletPreferencesModel
compareTo
in interface Comparable<PortletPreferences>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface PortletPreferencesModel
hashCode
in class Object
public String toString()
toString
in interface PortletPreferencesModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<PortletPreferences>
toXmlString
in interface PortletPreferencesModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |