@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.
|
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(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.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamelong 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 MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - 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 ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - 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 String getPortletId()
void setPortletId(String portletId)
portletId - the portlet ID of this portlet preferencesPortletPreferences cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<PortletPreferences>