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
model
Fields inherited from interface com.liferay.portal.kernel.model.PortletPreferenceValue
PORTLET_PREFERENCE_VALUE_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionPortletPreferenceValueWrapper
(PortletPreferenceValue portletPreferenceValue) -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this portlet preference value.long
Returns the ct collection ID of this portlet preference value.int
getIndex()
Returns the index of this portlet preference value.Returns the large value of this portlet preference value.long
Returns the mvcc version of this portlet preference value.getName()
Returns the name of this portlet preference value.long
Returns the portlet preferences ID of this portlet preference value.long
Returns the portlet preference value ID of this portlet preference value.long
Returns the primary key of this portlet preference value.boolean
Returns the read only of this portlet preference value.Returns the small value of this portlet preference value.getValue()
boolean
Returnstrue
if this portlet preference value is read only.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 portlet preference value.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this portlet preference value.void
setIndex
(int index) Sets the index of this portlet preference value.void
setLargeValue
(String largeValue) Sets the large value of this portlet preference value.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this portlet preference value.void
Sets the name of this portlet preference value.void
setPortletPreferencesId
(long portletPreferencesId) Sets the portlet preferences ID of this portlet preference value.void
setPortletPreferenceValueId
(long portletPreferenceValueId) Sets the portlet preference value ID of this portlet preference value.void
setPrimaryKey
(long primaryKey) Sets the primary key of this portlet preference value.void
setReadOnly
(boolean readOnly) Sets whether this portlet preference value is read only.void
setSmallValue
(String smallValue) Sets the small value of this portlet preference value.void
protected PortletPreferenceValueWrapper
wrap
(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, 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, 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
-
PortletPreferenceValueWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<PortletPreferenceValue>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<PortletPreferenceValue>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<PortletPreferenceValue>
- Specified by:
cloneWithOriginalValues
in interfacePortletPreferenceValueModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this portlet preference value.- Specified by:
getCompanyId
in interfacePortletPreferenceValueModel
- Specified by:
getCompanyId
in 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:
getCtCollectionId
in interfaceCTModel<PortletPreferenceValue>
- Specified by:
getCtCollectionId
in 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:
getIndex
in interfacePortletPreferenceValueModel
- Returns:
- the index of this portlet preference value
-
getLargeValue
Returns the large value of this portlet preference value.- Specified by:
getLargeValue
in 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:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfacePortletPreferenceValueModel
- Returns:
- the mvcc version of this portlet preference value
-
getName
Returns the name of this portlet preference value.- Specified by:
getName
in 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:
getPortletPreferencesId
in 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:
getPortletPreferenceValueId
in 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:
getPrimaryKey
in interfaceCTModel<PortletPreferenceValue>
- Specified by:
getPrimaryKey
in 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:
getReadOnly
in interfacePortletPreferenceValueModel
- Returns:
- the read only of this portlet preference value
-
getSmallValue
Returns the small value of this portlet preference value.- Specified by:
getSmallValue
in interfacePortletPreferenceValueModel
- Returns:
- the small value of this portlet preference value
-
getValue
- Specified by:
getValue
in interfacePortletPreferenceValue
-
isReadOnly
public boolean isReadOnly()Returnstrue
if this portlet preference value is read only.- Specified by:
isReadOnly
in interfacePortletPreferenceValueModel
- Returns:
true
if this portlet preference value is read only;false
otherwise
-
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 portlet preference value.- Specified by:
setCompanyId
in interfacePortletPreferenceValueModel
- Specified by:
setCompanyId
in 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:
setCtCollectionId
in interfaceCTModel<PortletPreferenceValue>
- Specified by:
setCtCollectionId
in 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:
setIndex
in interfacePortletPreferenceValueModel
- Parameters:
index
- the index of this portlet preference value
-
setLargeValue
Sets the large value of this portlet preference value.- Specified by:
setLargeValue
in 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:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfacePortletPreferenceValueModel
- Parameters:
mvccVersion
- the mvcc version of this portlet preference value
-
setName
Sets the name of this portlet preference value.- Specified by:
setName
in 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:
setPortletPreferencesId
in 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:
setPortletPreferenceValueId
in 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:
setPrimaryKey
in interfaceCTModel<PortletPreferenceValue>
- Specified by:
setPrimaryKey
in 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:
setReadOnly
in interfacePortletPreferenceValueModel
- Parameters:
readOnly
- the read only of this portlet preference value
-
setSmallValue
Sets the small value of this portlet preference value.- Specified by:
setSmallValue
in interfacePortletPreferenceValueModel
- Parameters:
smallValue
- the small value of this portlet preference value
-
setValue
- Specified by:
setValue
in interfacePortletPreferenceValue
-
toXmlString
- Specified by:
toXmlString
in interfacePortletPreferenceValueModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<PortletPreferenceValue>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<PortletPreferenceValue>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<PortletPreferenceValue>
-