@ProviderType public interface PortalPreferencesModel extends BaseModel<PortalPreferences>, MVCCModel, ShardedModel
This interface and its corresponding implementation com.liferay.portal.model.impl.PortalPreferencesModelImpl 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.PortalPreferencesImpl.
PortalPreferences| Modifier and Type | Method and Description |
|---|---|
PortalPreferences |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this portal preferences.
|
long |
getMvccVersion()
Returns the mvcc version of this portal preferences.
|
long |
getOwnerId()
Returns the owner ID of this portal preferences.
|
int |
getOwnerType()
Returns the owner type of this portal preferences.
|
long |
getPortalPreferencesId()
Returns the portal preferences ID of this portal preferences.
|
long |
getPrimaryKey()
Returns the primary key of this portal preferences.
|
void |
setCompanyId(long companyId)
Sets the company ID of this portal preferences.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this portal preferences.
|
void |
setOwnerId(long ownerId)
Sets the owner ID of this portal preferences.
|
void |
setOwnerType(int ownerType)
Sets the owner type of this portal preferences.
|
void |
setPortalPreferencesId(long portalPreferencesId)
Sets the portal preferences ID of this portal preferences.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this portal 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()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this portal preferenceslong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this portal preferenceslong getPortalPreferencesId()
void setPortalPreferencesId(long portalPreferencesId)
portalPreferencesId - the portal preferences ID of this portal preferenceslong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this portal preferenceslong getOwnerId()
void setOwnerId(long ownerId)
ownerId - the owner ID of this portal preferencesint getOwnerType()
void setOwnerType(int ownerType)
ownerType - the owner type of this portal preferencesPortalPreferences cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<PortalPreferences>