@ProviderType public interface PortletPreferencesModel extends BaseModel<PortletPreferences>, CTModel<PortletPreferences>, MVCCModel, ShardedModel
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
.
PortletPreferences
Modifier and Type | Method and Description |
---|---|
PortletPreferences |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this portlet preferences.
|
long |
getCtCollectionId()
Returns the ct collection ID of this portlet preferences.
|
long |
getMvccVersion()
Returns the mvcc version of this portlet preferences.
|
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.
|
java.lang.String |
getPortletId()
Returns the portlet ID of this portlet preferences.
|
long |
getPortletPreferencesId()
Returns the portlet preferences ID of this portlet preferences.
|
long |
getPrimaryKey()
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(java.lang.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 java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
long getPrimaryKey()
getPrimaryKey
in interface CTModel<PortletPreferences>
void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<PortletPreferences>
primaryKey
- the primary key of this portlet preferenceslong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this portlet preferenceslong getCtCollectionId()
getCtCollectionId
in interface CTModel<PortletPreferences>
void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<PortletPreferences>
ctCollectionId
- the ct collection ID of this portlet preferenceslong getPortletPreferencesId()
void setPortletPreferencesId(long portletPreferencesId)
portletPreferencesId
- the portlet preferences ID of this portlet preferenceslong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this portlet preferenceslong getOwnerId()
void setOwnerId(long ownerId)
ownerId
- the owner ID of this portlet preferencesint getOwnerType()
void setOwnerType(int ownerType)
ownerType
- the owner type of this portlet preferenceslong getPlid()
void setPlid(long plid)
plid
- the plid of this portlet preferences@AutoEscape java.lang.String getPortletId()
void setPortletId(java.lang.String portletId)
portletId
- the portlet ID of this portlet preferencesPortletPreferences cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<PortletPreferences>
default java.lang.String toXmlString()