com.liferay.portal.model.impl
Class PortalPreferencesModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortalPreferences>
com.liferay.portal.model.impl.PortalPreferencesModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortalPreferences>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.PortalPreferencesModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.PortalPreferences>
- Direct Known Subclasses:
- PortalPreferencesBaseImpl
public class PortalPreferencesModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortalPreferences>
- implements com.liferay.portal.model.PortalPreferencesModel
The base model implementation for the PortalPreferences service. Represents a row in the "PortalPreferences" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface PortalPreferencesModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PortalPreferencesImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
PortalPreferencesImpl,
PortalPreferences,
PortalPreferencesModel,
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.PortalPreferencesModel |
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
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
PortalPreferencesModelImpl
public PortalPreferencesModelImpl()
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portal.model.PortalPreferencesModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portal.model.PortalPreferencesModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortalPreferences>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.PortalPreferencesModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortalPreferences>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.PortalPreferencesModel
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
getPortalPreferencesId
public long getPortalPreferencesId()
- Specified by:
getPortalPreferencesId in interface com.liferay.portal.model.PortalPreferencesModel
setPortalPreferencesId
public void setPortalPreferencesId(long portalPreferencesId)
- Specified by:
setPortalPreferencesId in interface com.liferay.portal.model.PortalPreferencesModel
getOwnerId
public long getOwnerId()
- Specified by:
getOwnerId in interface com.liferay.portal.model.PortalPreferencesModel
setOwnerId
public void setOwnerId(long ownerId)
- Specified by:
setOwnerId in interface com.liferay.portal.model.PortalPreferencesModel
getOriginalOwnerId
public long getOriginalOwnerId()
getOwnerType
public int getOwnerType()
- Specified by:
getOwnerType in interface com.liferay.portal.model.PortalPreferencesModel
setOwnerType
public void setOwnerType(int ownerType)
- Specified by:
setOwnerType in interface com.liferay.portal.model.PortalPreferencesModel
getOriginalOwnerType
public int getOriginalOwnerType()
getPreferences
public java.lang.String getPreferences()
- Specified by:
getPreferences in interface com.liferay.portal.model.PortalPreferencesModel
setPreferences
public void setPreferences(java.lang.String preferences)
- Specified by:
setPreferences in interface com.liferay.portal.model.PortalPreferencesModel
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portal.model.PortalPreferences toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortalPreferences>- Specified by:
toEscapedModel in interface com.liferay.portal.model.PortalPreferencesModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortalPreferences>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortalPreferences>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portal.model.PortalPreferencesModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortalPreferences>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortalPreferences>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.PortalPreferencesModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortalPreferences>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortalPreferences>- Specified by:
clone in interface com.liferay.portal.model.PortalPreferencesModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortalPreferences>
compareTo
public int compareTo(com.liferay.portal.model.PortalPreferences portalPreferences)
- Specified by:
compareTo in interface com.liferay.portal.model.PortalPreferencesModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portal.model.PortalPreferences>
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.PortalPreferencesModel- 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.PortalPreferences>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortalPreferences>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portal.model.PortalPreferences> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.PortalPreferences>- Specified by:
toCacheModel in interface com.liferay.portal.model.PortalPreferencesModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PortalPreferences>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portal.model.PortalPreferencesModel- 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.PortalPreferences>- Specified by:
toXmlString in interface com.liferay.portal.model.PortalPreferencesModel