Package com.liferay.portal.kernel.model
Class PortletPreferenceValueWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<PortletPreferenceValue>
com.liferay.portal.kernel.model.PortletPreferenceValueWrapper
- All Implemented Interfaces:
BaseModel<PortletPreferenceValue>,CTModel<PortletPreferenceValue>,ClassedModel,ModelWrapper<PortletPreferenceValue>,MVCCModel,PersistedModel,PortletPreferenceValue,PortletPreferenceValueModel,ShardedModel,Serializable,Cloneable,Comparable<PortletPreferenceValue>
public class PortletPreferenceValueWrapper
extends BaseModelWrapper<PortletPreferenceValue>
implements ModelWrapper<PortletPreferenceValue>, PortletPreferenceValue
This class is a wrapper for PortletPreferenceValue.
- 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.PortletPreferenceValue
PORTLET_PREFERENCE_VALUE_ID_ACCESSOR -
Constructor Summary
ConstructorsConstructorDescriptionPortletPreferenceValueWrapper(PortletPreferenceValue portletPreferenceValue) -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this portlet preference value.longReturns the ct collection ID of this portlet preference value.intgetIndex()Returns the index of this portlet preference value.Returns the large value of this portlet preference value.longReturns the mvcc version of this portlet preference value.getName()Returns the name of this portlet preference value.longReturns the portlet preferences ID of this portlet preference value.longReturns the portlet preference value ID of this portlet preference value.longReturns the primary key of this portlet preference value.booleanReturns the read only of this portlet preference value.Returns the small value of this portlet preference value.getValue()booleanReturnstrueif this portlet preference value is read only.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 portlet preference value.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this portlet preference value.voidsetIndex(int index) Sets the index of this portlet preference value.voidsetLargeValue(String largeValue) Sets the large value of this portlet preference value.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this portlet preference value.voidSets the name of this portlet preference value.voidsetPortletPreferencesId(long portletPreferencesId) Sets the portlet preferences ID of this portlet preference value.voidsetPortletPreferenceValueId(long portletPreferenceValueId) Sets the portlet preference value ID of this portlet preference value.voidsetPrimaryKey(long primaryKey) Sets the primary key of this portlet preference value.voidsetReadOnly(boolean readOnly) Sets whether this portlet preference value is read only.voidsetSmallValue(String smallValue) Sets the small value of this portlet preference value.voidprotected PortletPreferenceValueWrapperwrap(PortletPreferenceValue portletPreferenceValue) 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, 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
-
PortletPreferenceValueWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<PortletPreferenceValue>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<PortletPreferenceValue>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<PortletPreferenceValue>- Specified by:
cloneWithOriginalValuesin interfacePortletPreferenceValueModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this portlet preference value.- Specified by:
getCompanyIdin interfacePortletPreferenceValueModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this portlet preference value
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this portlet preference value.- Specified by:
getCtCollectionIdin interfaceCTModel<PortletPreferenceValue>- Specified by:
getCtCollectionIdin interfacePortletPreferenceValueModel- Returns:
- the ct collection ID of this portlet preference value
-
getIndex
public int getIndex()Returns the index of this portlet preference value.- Specified by:
getIndexin interfacePortletPreferenceValueModel- Returns:
- the index of this portlet preference value
-
getLargeValue
Returns the large value of this portlet preference value.- Specified by:
getLargeValuein interfacePortletPreferenceValueModel- Returns:
- the large value of this portlet preference value
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this portlet preference value.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfacePortletPreferenceValueModel- Returns:
- the mvcc version of this portlet preference value
-
getName
Returns the name of this portlet preference value.- Specified by:
getNamein interfacePortletPreferenceValueModel- Returns:
- the name of this portlet preference value
-
getPortletPreferencesId
public long getPortletPreferencesId()Returns the portlet preferences ID of this portlet preference value.- Specified by:
getPortletPreferencesIdin interfacePortletPreferenceValueModel- Returns:
- the portlet preferences ID of this portlet preference value
-
getPortletPreferenceValueId
public long getPortletPreferenceValueId()Returns the portlet preference value ID of this portlet preference value.- Specified by:
getPortletPreferenceValueIdin interfacePortletPreferenceValueModel- Returns:
- the portlet preference value ID of this portlet preference value
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this portlet preference value.- Specified by:
getPrimaryKeyin interfaceCTModel<PortletPreferenceValue>- Specified by:
getPrimaryKeyin interfacePortletPreferenceValueModel- Returns:
- the primary key of this portlet preference value
-
getReadOnly
public boolean getReadOnly()Returns the read only of this portlet preference value.- Specified by:
getReadOnlyin interfacePortletPreferenceValueModel- Returns:
- the read only of this portlet preference value
-
getSmallValue
Returns the small value of this portlet preference value.- Specified by:
getSmallValuein interfacePortletPreferenceValueModel- Returns:
- the small value of this portlet preference value
-
getValue
- Specified by:
getValuein interfacePortletPreferenceValue
-
isReadOnly
public boolean isReadOnly()Returnstrueif this portlet preference value is read only.- Specified by:
isReadOnlyin interfacePortletPreferenceValueModel- Returns:
trueif this portlet preference value is read only;falseotherwise
-
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 portlet preference value.- Specified by:
setCompanyIdin interfacePortletPreferenceValueModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this portlet preference value
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this portlet preference value.- Specified by:
setCtCollectionIdin interfaceCTModel<PortletPreferenceValue>- Specified by:
setCtCollectionIdin interfacePortletPreferenceValueModel- Parameters:
ctCollectionId- the ct collection ID of this portlet preference value
-
setIndex
public void setIndex(int index) Sets the index of this portlet preference value.- Specified by:
setIndexin interfacePortletPreferenceValueModel- Parameters:
index- the index of this portlet preference value
-
setLargeValue
Sets the large value of this portlet preference value.- Specified by:
setLargeValuein interfacePortletPreferenceValueModel- Parameters:
largeValue- the large value of this portlet preference value
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this portlet preference value.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfacePortletPreferenceValueModel- Parameters:
mvccVersion- the mvcc version of this portlet preference value
-
setName
Sets the name of this portlet preference value.- Specified by:
setNamein interfacePortletPreferenceValueModel- Parameters:
name- the name of this portlet preference value
-
setPortletPreferencesId
public void setPortletPreferencesId(long portletPreferencesId) Sets the portlet preferences ID of this portlet preference value.- Specified by:
setPortletPreferencesIdin interfacePortletPreferenceValueModel- Parameters:
portletPreferencesId- the portlet preferences ID of this portlet preference value
-
setPortletPreferenceValueId
public void setPortletPreferenceValueId(long portletPreferenceValueId) Sets the portlet preference value ID of this portlet preference value.- Specified by:
setPortletPreferenceValueIdin interfacePortletPreferenceValueModel- Parameters:
portletPreferenceValueId- the portlet preference value ID of this portlet preference value
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this portlet preference value.- Specified by:
setPrimaryKeyin interfaceCTModel<PortletPreferenceValue>- Specified by:
setPrimaryKeyin interfacePortletPreferenceValueModel- Parameters:
primaryKey- the primary key of this portlet preference value
-
setReadOnly
public void setReadOnly(boolean readOnly) Sets whether this portlet preference value is read only.- Specified by:
setReadOnlyin interfacePortletPreferenceValueModel- Parameters:
readOnly- the read only of this portlet preference value
-
setSmallValue
Sets the small value of this portlet preference value.- Specified by:
setSmallValuein interfacePortletPreferenceValueModel- Parameters:
smallValue- the small value of this portlet preference value
-
setValue
- Specified by:
setValuein interfacePortletPreferenceValue
-
toXmlString
- Specified by:
toXmlStringin interfacePortletPreferenceValueModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<PortletPreferenceValue>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<PortletPreferenceValue>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<PortletPreferenceValue>
-