com.liferay.portal.model.impl
Class PortletPreferencesModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortletPreferences>
com.liferay.portal.model.impl.PortletPreferencesModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortletPreferences>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.PortletPreferencesModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.PortletPreferences>
- Direct Known Subclasses:
- PortletPreferencesBaseImpl
@JSON(strict=true)
public class PortletPreferencesModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortletPreferences>
- implements com.liferay.portal.model.PortletPreferencesModel
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.
- Author:
- Brian Wing Shun Chan
- See Also:
PortletPreferencesImpl,
PortletPreferences,
PortletPreferencesModel,
Serialized Form- Generated:
| 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 |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final java.lang.String TABLE_SQL_DROP
- See Also:
- Constant Field Values
DATA_SOURCE
public static final java.lang.String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final java.lang.String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final java.lang.String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
OWNERID_COLUMN_BITMASK
public static long OWNERID_COLUMN_BITMASK
OWNERTYPE_COLUMN_BITMASK
public static long OWNERTYPE_COLUMN_BITMASK
PLID_COLUMN_BITMASK
public static long PLID_COLUMN_BITMASK
PORTLETID_COLUMN_BITMASK
public static long PORTLETID_COLUMN_BITMASK
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
PortletPreferencesModelImpl
public PortletPreferencesModelImpl()
toModel
public static com.liferay.portal.model.PortletPreferences toModel(com.liferay.portal.model.PortletPreferencesSoap soapModel)
- Converts the soap model instance into a normal model instance.
- Parameters:
soapModel - the soap model instance to convert
- Returns:
- the normal model instance
toModels
public static java.util.List<com.liferay.portal.model.PortletPreferences> toModels(com.liferay.portal.model.PortletPreferencesSoap[] soapModels)
- Converts the soap model instances into normal model instances.
- Parameters:
soapModels - the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portal.model.PortletPreferencesModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portal.model.PortletPreferencesModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortletPreferences>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.PortletPreferencesModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortletPreferences>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.PortletPreferencesModel
getModelClass
public java.lang.Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel
getModelClassName
public java.lang.String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel
getPortletPreferencesId
@JSON
public long getPortletPreferencesId()
- Specified by:
getPortletPreferencesId in interface com.liferay.portal.model.PortletPreferencesModel
setPortletPreferencesId
public void setPortletPreferencesId(long portletPreferencesId)
- Specified by:
setPortletPreferencesId in interface com.liferay.portal.model.PortletPreferencesModel
getOwnerId
@JSON
public long getOwnerId()
- Specified by:
getOwnerId in interface com.liferay.portal.model.PortletPreferencesModel
setOwnerId
public void setOwnerId(long ownerId)
- Specified by:
setOwnerId in interface com.liferay.portal.model.PortletPreferencesModel
getOriginalOwnerId
public long getOriginalOwnerId()
getOwnerType
@JSON
public int getOwnerType()
- Specified by:
getOwnerType in interface com.liferay.portal.model.PortletPreferencesModel
setOwnerType
public void setOwnerType(int ownerType)
- Specified by:
setOwnerType in interface com.liferay.portal.model.PortletPreferencesModel
getOriginalOwnerType
public int getOriginalOwnerType()
getPlid
@JSON
public long getPlid()
- Specified by:
getPlid in interface com.liferay.portal.model.PortletPreferencesModel
setPlid
public void setPlid(long plid)
- Specified by:
setPlid in interface com.liferay.portal.model.PortletPreferencesModel
getOriginalPlid
public long getOriginalPlid()
getPortletId
@JSON
public java.lang.String getPortletId()
- Specified by:
getPortletId in interface com.liferay.portal.model.PortletPreferencesModel
setPortletId
public void setPortletId(java.lang.String portletId)
- Specified by:
setPortletId in interface com.liferay.portal.model.PortletPreferencesModel
getOriginalPortletId
public java.lang.String getOriginalPortletId()
getPreferences
@JSON
public java.lang.String getPreferences()
- Specified by:
getPreferences in interface com.liferay.portal.model.PortletPreferencesModel
setPreferences
public void setPreferences(java.lang.String preferences)
- Specified by:
setPreferences in interface com.liferay.portal.model.PortletPreferencesModel
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portal.model.PortletPreferences toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortletPreferences>- Specified by:
toEscapedModel in interface com.liferay.portal.model.PortletPreferencesModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortletPreferences>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortletPreferences>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portal.model.PortletPreferencesModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortletPreferences>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortletPreferences>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.PortletPreferencesModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortletPreferences>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortletPreferences>- Specified by:
clone in interface com.liferay.portal.model.PortletPreferencesModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortletPreferences>
compareTo
public int compareTo(com.liferay.portal.model.PortletPreferences portletPreferences)
- Specified by:
compareTo in interface com.liferay.portal.model.PortletPreferencesModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portal.model.PortletPreferences>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portal.model.PortletPreferencesModel- Overrides:
hashCode in class java.lang.Object
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortletPreferences>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortletPreferences>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portal.model.PortletPreferences> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortletPreferences>- Specified by:
toCacheModel in interface com.liferay.portal.model.PortletPreferencesModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortletPreferences>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portal.model.PortletPreferencesModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortletPreferences>- Specified by:
toXmlString in interface com.liferay.portal.model.PortletPreferencesModel