|
Liferay 6.1.2-ce-ga3 | |||||||||
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
@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 FormField 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()
|
PortletPreferences |
toUnescapedModel()
|
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 PortletPreferencesModel
public void setPrimaryKey(long primaryKey)
PortletPreferencesModel
setPrimaryKey
in interface PortletPreferencesModel
primaryKey
- the primary key of this portlet preferencespublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<PortletPreferences>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface PortletPreferencesModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<PortletPreferences>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface PortletPreferencesModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 PortletPreferencesModel
public void setPortletPreferencesId(long portletPreferencesId)
PortletPreferencesModel
setPortletPreferencesId
in interface PortletPreferencesModel
portletPreferencesId
- the portlet preferences ID of this portlet preferences@JSON public 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()
@JSON 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()
@JSON 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()
@JSON 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()
@JSON 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 long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<PortletPreferences>
getExpandoBridge
in interface ClassedModel
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 contextServiceContext.getExpandoBridgeAttributes(
)
public PortletPreferences toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<PortletPreferences>
toEscapedModel
in interface PortletPreferencesModel
toEscapedModel
in class BaseModelImpl<PortletPreferences>
AutoEscapeBeanHandler
public PortletPreferences toUnescapedModel()
toUnescapedModel
in interface BaseModel<PortletPreferences>
toUnescapedModel
in interface PortletPreferencesModel
toUnescapedModel
in class BaseModelImpl<PortletPreferences>
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 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 PortletPreferencesModel
toCacheModel
in class BaseModelImpl<PortletPreferences>
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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |