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
modelFields inherited from interface com.liferay.portal.kernel.model.PortalPreferenceValue
PORTAL_PREFERENCE_VALUE_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this portal preference value.intgetIndex()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.longReturns the mvcc version of this portal preference value.Returns the namespace of this portal preference value.longReturns the portal preferences ID of this portal preference value.longReturns the portal preference value ID of this portal preference value.longReturns the primary key of this portal preference value.Returns the small value of this portal preference value.getValue()voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetCompanyId(long companyId) Sets the company ID of this portal preference value.voidsetIndex(int index) Sets the index of this portal preference value.voidSets the key of this portal preference value.voidsetLargeValue(String largeValue) Sets the large value of this portal preference value.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this portal preference value.voidsetNamespace(String namespace) Sets the namespace of this portal preference value.voidsetPortalPreferencesId(long portalPreferencesId) Sets the portal preferences ID of this portal preference value.voidsetPortalPreferenceValueId(long portalPreferenceValueId) Sets the portal preference value ID of this portal preference value.voidsetPrimaryKey(long primaryKey) Sets the primary key of this portal preference value.voidsetSmallValue(String smallValue) Sets the small value of this portal preference value.voidprotected PortalPreferenceValueWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
PortalPreferenceValueWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<PortalPreferenceValue>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<PortalPreferenceValue>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<PortalPreferenceValue>- Specified by:
cloneWithOriginalValuesin interfacePortalPreferenceValueModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this portal preference value.- Specified by:
getCompanyIdin interfacePortalPreferenceValueModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this portal preference value
-
getIndex
public int getIndex()Returns the index of this portal preference value.- Specified by:
getIndexin interfacePortalPreferenceValueModel- Returns:
- the index of this portal preference value
-
getKey
Returns the key of this portal preference value.- Specified by:
getKeyin interfacePortalPreferenceValueModel- Returns:
- the key of this portal preference value
-
getLargeValue
Returns the large value of this portal preference value.- Specified by:
getLargeValuein 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:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfacePortalPreferenceValueModel- Returns:
- the mvcc version of this portal preference value
-
getNamespace
Returns the namespace of this portal preference value.- Specified by:
getNamespacein 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:
getPortalPreferencesIdin 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:
getPortalPreferenceValueIdin 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:
getPrimaryKeyin interfacePortalPreferenceValueModel- Returns:
- the primary key of this portal preference value
-
getSmallValue
Returns the small value of this portal preference value.- Specified by:
getSmallValuein interfacePortalPreferenceValueModel- Returns:
- the small value of this portal preference value
-
getValue
- Specified by:
getValuein interfacePortalPreferenceValue
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this portal preference value.- Specified by:
setCompanyIdin interfacePortalPreferenceValueModel- Specified by:
setCompanyIdin 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:
setIndexin interfacePortalPreferenceValueModel- Parameters:
index- the index of this portal preference value
-
setKey
Sets the key of this portal preference value.- Specified by:
setKeyin interfacePortalPreferenceValueModel- Parameters:
key- the key of this portal preference value
-
setLargeValue
Sets the large value of this portal preference value.- Specified by:
setLargeValuein 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:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfacePortalPreferenceValueModel- Parameters:
mvccVersion- the mvcc version of this portal preference value
-
setNamespace
Sets the namespace of this portal preference value.- Specified by:
setNamespacein 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:
setPortalPreferencesIdin 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:
setPortalPreferenceValueIdin 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:
setPrimaryKeyin interfacePortalPreferenceValueModel- Parameters:
primaryKey- the primary key of this portal preference value
-
setSmallValue
Sets the small value of this portal preference value.- Specified by:
setSmallValuein interfacePortalPreferenceValueModel- Parameters:
smallValue- the small value of this portal preference value
-
setValue
- Specified by:
setValuein interfacePortalPreferenceValue
-
toXmlString
- Specified by:
toXmlStringin interfacePortalPreferenceValueModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<PortalPreferenceValue>
-