Package com.liferay.portal.kernel.model
Class PortalPreferenceValueWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<PortalPreferenceValue>
com.liferay.portal.kernel.model.PortalPreferenceValueWrapper
- All Implemented Interfaces:
BaseModel<PortalPreferenceValue>
,ClassedModel
,ModelWrapper<PortalPreferenceValue>
,MVCCModel
,PersistedModel
,PortalPreferenceValue
,PortalPreferenceValueModel
,ShardedModel
,Serializable
,Cloneable
,Comparable<PortalPreferenceValue>
public class PortalPreferenceValueWrapper
extends BaseModelWrapper<PortalPreferenceValue>
implements ModelWrapper<PortalPreferenceValue>, PortalPreferenceValue
This class is a wrapper for PortalPreferenceValue
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.PortalPreferenceValue
PORTAL_PREFERENCE_VALUE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this portal preference value.int
getIndex()
Returns the index of this portal preference value.getKey()
Returns the key of this portal preference value.Returns the large value of this portal preference value.long
Returns the mvcc version of this portal preference value.Returns the namespace of this portal preference value.long
Returns the portal preferences ID of this portal preference value.long
Returns the portal preference value ID of this portal preference value.long
Returns the primary key of this portal preference value.Returns the small value of this portal preference value.getValue()
void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setCompanyId
(long companyId) Sets the company ID of this portal preference value.void
setIndex
(int index) Sets the index of this portal preference value.void
Sets the key of this portal preference value.void
setLargeValue
(String largeValue) Sets the large value of this portal preference value.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this portal preference value.void
setNamespace
(String namespace) Sets the namespace of this portal preference value.void
setPortalPreferencesId
(long portalPreferencesId) Sets the portal preferences ID of this portal preference value.void
setPortalPreferenceValueId
(long portalPreferenceValueId) Sets the portal preference value ID of this portal preference value.void
setPrimaryKey
(long primaryKey) Sets the primary key of this portal preference value.void
setSmallValue
(String smallValue) Sets the small value of this portal preference value.void
protected PortalPreferenceValueWrapper
wrap
(PortalPreferenceValue portalPreferenceValue) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
PortalPreferenceValueWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<PortalPreferenceValue>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<PortalPreferenceValue>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<PortalPreferenceValue>
- Specified by:
cloneWithOriginalValues
in interfacePortalPreferenceValueModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this portal preference value.- Specified by:
getCompanyId
in interfacePortalPreferenceValueModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this portal preference value
-
getIndex
public int getIndex()Returns the index of this portal preference value.- Specified by:
getIndex
in interfacePortalPreferenceValueModel
- Returns:
- the index of this portal preference value
-
getKey
Returns the key of this portal preference value.- Specified by:
getKey
in interfacePortalPreferenceValueModel
- Returns:
- the key of this portal preference value
-
getLargeValue
Returns the large value of this portal preference value.- Specified by:
getLargeValue
in interfacePortalPreferenceValueModel
- Returns:
- the large value of this portal preference value
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this portal preference value.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfacePortalPreferenceValueModel
- Returns:
- the mvcc version of this portal preference value
-
getNamespace
Returns the namespace of this portal preference value.- Specified by:
getNamespace
in interfacePortalPreferenceValueModel
- Returns:
- the namespace of this portal preference value
-
getPortalPreferencesId
public long getPortalPreferencesId()Returns the portal preferences ID of this portal preference value.- Specified by:
getPortalPreferencesId
in interfacePortalPreferenceValueModel
- Returns:
- the portal preferences ID of this portal preference value
-
getPortalPreferenceValueId
public long getPortalPreferenceValueId()Returns the portal preference value ID of this portal preference value.- Specified by:
getPortalPreferenceValueId
in interfacePortalPreferenceValueModel
- Returns:
- the portal preference value ID of this portal preference value
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this portal preference value.- Specified by:
getPrimaryKey
in interfacePortalPreferenceValueModel
- Returns:
- the primary key of this portal preference value
-
getSmallValue
Returns the small value of this portal preference value.- Specified by:
getSmallValue
in interfacePortalPreferenceValueModel
- Returns:
- the small value of this portal preference value
-
getValue
- Specified by:
getValue
in interfacePortalPreferenceValue
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this portal preference value.- Specified by:
setCompanyId
in interfacePortalPreferenceValueModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this portal preference value
-
setIndex
public void setIndex(int index) Sets the index of this portal preference value.- Specified by:
setIndex
in interfacePortalPreferenceValueModel
- Parameters:
index
- the index of this portal preference value
-
setKey
Sets the key of this portal preference value.- Specified by:
setKey
in interfacePortalPreferenceValueModel
- Parameters:
key
- the key of this portal preference value
-
setLargeValue
Sets the large value of this portal preference value.- Specified by:
setLargeValue
in interfacePortalPreferenceValueModel
- Parameters:
largeValue
- the large value of this portal preference value
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this portal preference value.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfacePortalPreferenceValueModel
- Parameters:
mvccVersion
- the mvcc version of this portal preference value
-
setNamespace
Sets the namespace of this portal preference value.- Specified by:
setNamespace
in interfacePortalPreferenceValueModel
- Parameters:
namespace
- the namespace of this portal preference value
-
setPortalPreferencesId
public void setPortalPreferencesId(long portalPreferencesId) Sets the portal preferences ID of this portal preference value.- Specified by:
setPortalPreferencesId
in interfacePortalPreferenceValueModel
- Parameters:
portalPreferencesId
- the portal preferences ID of this portal preference value
-
setPortalPreferenceValueId
public void setPortalPreferenceValueId(long portalPreferenceValueId) Sets the portal preference value ID of this portal preference value.- Specified by:
setPortalPreferenceValueId
in interfacePortalPreferenceValueModel
- Parameters:
portalPreferenceValueId
- the portal preference value ID of this portal preference value
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this portal preference value.- Specified by:
setPrimaryKey
in interfacePortalPreferenceValueModel
- Parameters:
primaryKey
- the primary key of this portal preference value
-
setSmallValue
Sets the small value of this portal preference value.- Specified by:
setSmallValue
in interfacePortalPreferenceValueModel
- Parameters:
smallValue
- the small value of this portal preference value
-
setValue
- Specified by:
setValue
in interfacePortalPreferenceValue
-
toXmlString
- Specified by:
toXmlString
in interfacePortalPreferenceValueModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<PortalPreferenceValue>
-