public class PortletPreferenceValueWrapper extends BaseModelWrapper<PortletPreferenceValue> implements ModelWrapper<PortletPreferenceValue>, PortletPreferenceValue
This class is a wrapper for PortletPreferenceValue.
PortletPreferenceValue,
Serialized FormmodelPORTLET_PREFERENCE_VALUE_ID_ACCESSOR| Constructor and Description |
|---|
PortletPreferenceValueWrapper(PortletPreferenceValue portletPreferenceValue) |
| Modifier and Type | Method and Description |
|---|---|
PortletPreferenceValue |
cloneWithOriginalValues() |
Map<String,Function<PortletPreferenceValue,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<PortletPreferenceValue,Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this portlet preference value.
|
long |
getCtCollectionId()
Returns the ct collection ID of this portlet preference value.
|
int |
getIndex()
Returns the index of this portlet preference value.
|
String |
getLargeValue()
Returns the large value of this portlet preference value.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this portlet preference value.
|
String |
getName()
Returns the name of this portlet preference value.
|
long |
getPortletPreferencesId()
Returns the portlet preferences ID of this portlet preference value.
|
long |
getPortletPreferenceValueId()
Returns the portlet preference value ID of this portlet preference value.
|
long |
getPrimaryKey()
Returns the primary key of this portlet preference value.
|
boolean |
getReadOnly()
Returns the read only of this portlet preference value.
|
String |
getSmallValue()
Returns the small value of this portlet preference value.
|
String |
getValue() |
boolean |
isReadOnly()
Returns
true 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 |
setName(String name)
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 |
setValue(String value) |
protected PortletPreferenceValueWrapper |
wrap(PortletPreferenceValue portletPreferenceValue) |
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, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic PortletPreferenceValueWrapper(PortletPreferenceValue portletPreferenceValue)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PortletPreferenceValue>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PortletPreferenceValue>public PortletPreferenceValue cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<PortletPreferenceValue>cloneWithOriginalValues in interface PortletPreferenceValueModelpublic long getCompanyId()
getCompanyId in interface PortletPreferenceValueModelgetCompanyId in interface ShardedModelpublic long getCtCollectionId()
getCtCollectionId in interface CTModel<PortletPreferenceValue>getCtCollectionId in interface PortletPreferenceValueModelpublic int getIndex()
getIndex in interface PortletPreferenceValueModelpublic String getLargeValue()
getLargeValue in interface PortletPreferenceValueModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface PortletPreferenceValueModelpublic String getName()
getName in interface PortletPreferenceValueModelpublic long getPortletPreferencesId()
getPortletPreferencesId in interface PortletPreferenceValueModelpublic long getPortletPreferenceValueId()
getPortletPreferenceValueId in interface PortletPreferenceValueModelpublic long getPrimaryKey()
getPrimaryKey in interface CTModel<PortletPreferenceValue>getPrimaryKey in interface PortletPreferenceValueModelpublic boolean getReadOnly()
getReadOnly in interface PortletPreferenceValueModelpublic String getSmallValue()
getSmallValue in interface PortletPreferenceValueModelpublic String getValue()
getValue in interface PortletPreferenceValuepublic boolean isReadOnly()
true if this portlet preference value is read only.isReadOnly in interface PortletPreferenceValueModeltrue if this portlet preference value is read only; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface PortletPreferenceValueModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this portlet preference valuepublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<PortletPreferenceValue>setCtCollectionId in interface PortletPreferenceValueModelctCollectionId - the ct collection ID of this portlet preference valuepublic void setIndex(int index)
setIndex in interface PortletPreferenceValueModelindex - the index of this portlet preference valuepublic void setLargeValue(String largeValue)
setLargeValue in interface PortletPreferenceValueModellargeValue - the large value of this portlet preference valuepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface PortletPreferenceValueModelmvccVersion - the mvcc version of this portlet preference valuepublic void setName(String name)
setName in interface PortletPreferenceValueModelname - the name of this portlet preference valuepublic void setPortletPreferencesId(long portletPreferencesId)
setPortletPreferencesId in interface PortletPreferenceValueModelportletPreferencesId - the portlet preferences ID of this portlet preference valuepublic void setPortletPreferenceValueId(long portletPreferenceValueId)
setPortletPreferenceValueId in interface PortletPreferenceValueModelportletPreferenceValueId - the portlet preference value ID of this portlet preference valuepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTModel<PortletPreferenceValue>setPrimaryKey in interface PortletPreferenceValueModelprimaryKey - the primary key of this portlet preference valuepublic void setReadOnly(boolean readOnly)
setReadOnly in interface PortletPreferenceValueModelreadOnly - the read only of this portlet preference valuepublic void setSmallValue(String smallValue)
setSmallValue in interface PortletPreferenceValueModelsmallValue - the small value of this portlet preference valuepublic void setValue(String value)
setValue in interface PortletPreferenceValuepublic Map<String,Function<PortletPreferenceValue,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<PortletPreferenceValue>public Map<String,BiConsumer<PortletPreferenceValue,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<PortletPreferenceValue>protected PortletPreferenceValueWrapper wrap(PortletPreferenceValue portletPreferenceValue)
wrap in class BaseModelWrapper<PortletPreferenceValue>