Package com.liferay.portal.kernel.model
Interface PortletPreferencesModel
- All Superinterfaces:
BaseModel<PortletPreferences>
,ClassedModel
,Cloneable
,Comparable<PortletPreferences>
,CTModel<PortletPreferences>
,MVCCModel
,Serializable
,ShardedModel
- All Known Subinterfaces:
PortletPreferences
- All Known Implementing Classes:
PortletPreferencesWrapper
@ProviderType
public interface PortletPreferencesModel
extends BaseModel<PortletPreferences>, CTModel<PortletPreferences>, MVCCModel, ShardedModel
The base model interface for the PortletPreferences service. Represents a row in the "PortletPreferences" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.PortletPreferencesModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.PortletPreferencesImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this portlet preferences.long
Returns the ct collection ID of this portlet preferences.long
Returns the mvcc version of this portlet preferences.long
Returns the owner ID of this portlet preferences.int
Returns the owner type of this portlet preferences.long
getPlid()
Returns the plid of this portlet preferences.Returns the portlet ID of this portlet preferences.long
Returns the portlet preferences ID of this portlet preferences.long
Returns the primary key of this portlet preferences.void
setCompanyId
(long companyId) Sets the company ID of this portlet preferences.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this portlet preferences.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this portlet preferences.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
setPrimaryKey
(long primaryKey) Sets the primary key of this portlet preferences.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this portlet preferences.- Specified by:
getPrimaryKey
in interfaceCTModel<PortletPreferences>
- Returns:
- the primary key of this portlet preferences
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this portlet preferences.- Specified by:
setPrimaryKey
in interfaceCTModel<PortletPreferences>
- Parameters:
primaryKey
- the primary key of this portlet preferences
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this portlet preferences.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this portlet preferences
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this portlet preferences.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this portlet preferences
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this portlet preferences.- Specified by:
getCtCollectionId
in interfaceCTModel<PortletPreferences>
- Returns:
- the ct collection ID of this portlet preferences
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this portlet preferences.- Specified by:
setCtCollectionId
in interfaceCTModel<PortletPreferences>
- Parameters:
ctCollectionId
- the ct collection ID of this portlet preferences
-
getPortletPreferencesId
long getPortletPreferencesId()Returns the portlet preferences ID of this portlet preferences.- Returns:
- the portlet preferences ID of this portlet preferences
-
setPortletPreferencesId
void setPortletPreferencesId(long portletPreferencesId) Sets the portlet preferences ID of this portlet preferences.- Parameters:
portletPreferencesId
- the portlet preferences ID of this portlet preferences
-
getCompanyId
long getCompanyId()Returns the company ID of this portlet preferences.- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this portlet preferences
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this portlet preferences.- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this portlet preferences
-
getOwnerId
long getOwnerId()Returns the owner ID of this portlet preferences.- Returns:
- the owner ID of this portlet preferences
-
setOwnerId
void setOwnerId(long ownerId) Sets the owner ID of this portlet preferences.- Parameters:
ownerId
- the owner ID of this portlet preferences
-
getOwnerType
int getOwnerType()Returns the owner type of this portlet preferences.- Returns:
- the owner type of this portlet preferences
-
setOwnerType
void setOwnerType(int ownerType) Sets the owner type of this portlet preferences.- Parameters:
ownerType
- the owner type of this portlet preferences
-
getPlid
long getPlid()Returns the plid of this portlet preferences.- Returns:
- the plid of this portlet preferences
-
setPlid
void setPlid(long plid) Sets the plid of this portlet preferences.- Parameters:
plid
- the plid of this portlet preferences
-
getPortletId
Returns the portlet ID of this portlet preferences.- Returns:
- the portlet ID of this portlet preferences
-
setPortletId
Sets the portlet ID of this portlet preferences.- Parameters:
portletId
- the portlet ID of this portlet preferences
-
cloneWithOriginalValues
PortletPreferences cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<PortletPreferences>
-
toXmlString
-