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 TypeMethodDescriptionlongReturns the company ID of this portlet preferences.longReturns the ct collection ID of this portlet preferences.longReturns the mvcc version of this portlet preferences.longReturns the owner ID of this portlet preferences.intReturns the owner type of this portlet preferences.longgetPlid()Returns the plid of this portlet preferences.Returns the portlet ID of this portlet preferences.longReturns the portlet preferences ID of this portlet preferences.longReturns the primary key of this portlet preferences.voidsetCompanyId(long companyId) Sets the company ID of this portlet preferences.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this portlet preferences.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this portlet preferences.voidsetOwnerId(long ownerId) Sets the owner ID of this portlet preferences.voidsetOwnerType(int ownerType) Sets the owner type of this portlet preferences.voidsetPlid(long plid) Sets the plid of this portlet preferences.voidsetPortletId(String portletId) Sets the portlet ID of this portlet preferences.voidsetPortletPreferencesId(long portletPreferencesId) Sets the portlet preferences ID of this portlet preferences.voidsetPrimaryKey(long primaryKey) Sets the primary key of this portlet preferences.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this portlet preferences.- Specified by:
getPrimaryKeyin 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:
setPrimaryKeyin interfaceCTModel<PortletPreferences>- Parameters:
primaryKey- the primary key of this portlet preferences
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this portlet preferences.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this portlet preferences
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this portlet preferences.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this portlet preferences
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this portlet preferences.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this portlet preferences
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this portlet preferences.- Specified by:
setCompanyIdin 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:
cloneWithOriginalValuesin interfaceBaseModel<PortletPreferences>
-
toXmlString
-