Package com.liferay.portal.kernel.model
Interface PortalPreferencesModel
- All Superinterfaces:
BaseModel<PortalPreferences>
,ClassedModel
,Cloneable
,Comparable<PortalPreferences>
,MVCCModel
,Serializable
,ShardedModel
- All Known Subinterfaces:
PortalPreferences
- All Known Implementing Classes:
PortalPreferencesWrapper
@ProviderType
public interface PortalPreferencesModel
extends BaseModel<PortalPreferences>, MVCCModel, ShardedModel
The base model interface for the PortalPreferences service. Represents a row in the "PortalPreferences" database table, with each column mapped to a property of this class.
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
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this portal preferences.long
Returns the mvcc version of this portal preferences.long
Returns the owner ID of this portal preferences.int
Returns the owner type of this portal preferences.long
Returns the portal preferences ID of this portal preferences.long
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.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 portal preferences.- Returns:
- the primary key of this portal preferences
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this portal preferences.- Parameters:
primaryKey
- the primary key of this portal preferences
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this portal preferences.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this portal preferences
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this portal preferences.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this portal preferences
-
getPortalPreferencesId
long getPortalPreferencesId()Returns the portal preferences ID of this portal preferences.- Returns:
- the portal preferences ID of this portal preferences
-
setPortalPreferencesId
void setPortalPreferencesId(long portalPreferencesId) Sets the portal preferences ID of this portal preferences.- Parameters:
portalPreferencesId
- the portal preferences ID of this portal preferences
-
getCompanyId
long getCompanyId()Returns the company ID of this portal preferences.- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this portal preferences
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this portal preferences.- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this portal preferences
-
getOwnerId
long getOwnerId()Returns the owner ID of this portal preferences.- Returns:
- the owner ID of this portal preferences
-
setOwnerId
void setOwnerId(long ownerId) Sets the owner ID of this portal preferences.- Parameters:
ownerId
- the owner ID of this portal preferences
-
getOwnerType
int getOwnerType()Returns the owner type of this portal preferences.- Returns:
- the owner type of this portal preferences
-
setOwnerType
void setOwnerType(int ownerType) Sets the owner type of this portal preferences.- Parameters:
ownerType
- the owner type of this portal preferences
-
cloneWithOriginalValues
PortalPreferences cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<PortalPreferences>
-
toXmlString
-