public class CTPreferencesWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTPreferences> implements CTPreferences, com.liferay.portal.kernel.model.ModelWrapper<CTPreferences>
This class is a wrapper for CTPreferences
.
CTPreferences
,
Serialized FormCT_PREFERENCES_ID_ACCESSOR
Constructor and Description |
---|
CTPreferencesWrapper(CTPreferences ctPreferences) |
Modifier and Type | Method and Description |
---|---|
CTPreferences |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this ct preferences.
|
boolean |
getConfirmationEnabled()
Returns the confirmation enabled of this ct preferences.
|
long |
getCtCollectionId()
Returns the ct collection ID of this ct preferences.
|
long |
getCtPreferencesId()
Returns the ct preferences ID of this ct preferences.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this ct preferences.
|
long |
getPreviousCtCollectionId()
Returns the previous ct collection ID of this ct preferences.
|
long |
getPrimaryKey()
Returns the primary key of this ct preferences.
|
long |
getUserId()
Returns the user ID of this ct preferences.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this ct preferences.
|
boolean |
isConfirmationEnabled()
Returns
true if this ct preferences is confirmation enabled. |
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this ct preferences.
|
void |
setConfirmationEnabled(boolean confirmationEnabled)
Sets whether this ct preferences is confirmation enabled.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this ct preferences.
|
void |
setCtPreferencesId(long ctPreferencesId)
Sets the ct preferences ID of this ct preferences.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ct preferences.
|
void |
setPreviousCtCollectionId(long previousCtCollectionId)
Sets the previous ct collection ID of this ct preferences.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ct preferences.
|
void |
setUserId(long userId)
Sets the user ID of this ct preferences.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this ct preferences.
|
protected CTPreferencesWrapper |
wrap(CTPreferences ctPreferences) |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public CTPreferencesWrapper(CTPreferences ctPreferences)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CTPreferences>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CTPreferences>
public CTPreferences cloneWithOriginalValues()
cloneWithOriginalValues
in interface CTPreferencesModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CTPreferences>
public long getCompanyId()
getCompanyId
in interface CTPreferencesModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public boolean getConfirmationEnabled()
getConfirmationEnabled
in interface CTPreferencesModel
public long getCtCollectionId()
getCtCollectionId
in interface CTPreferencesModel
public long getCtPreferencesId()
getCtPreferencesId
in interface CTPreferencesModel
public long getMvccVersion()
getMvccVersion
in interface CTPreferencesModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPreviousCtCollectionId()
getPreviousCtCollectionId
in interface CTPreferencesModel
public long getPrimaryKey()
getPrimaryKey
in interface CTPreferencesModel
public long getUserId()
getUserId
in interface CTPreferencesModel
public java.lang.String getUserUuid()
getUserUuid
in interface CTPreferencesModel
public boolean isConfirmationEnabled()
true
if this ct preferences is confirmation enabled.isConfirmationEnabled
in interface CTPreferencesModel
true
if this ct preferences is confirmation enabled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface CTPreferencesModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this ct preferencespublic void setConfirmationEnabled(boolean confirmationEnabled)
setConfirmationEnabled
in interface CTPreferencesModel
confirmationEnabled
- the confirmation enabled of this ct preferencespublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTPreferencesModel
ctCollectionId
- the ct collection ID of this ct preferencespublic void setCtPreferencesId(long ctPreferencesId)
setCtPreferencesId
in interface CTPreferencesModel
ctPreferencesId
- the ct preferences ID of this ct preferencespublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CTPreferencesModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this ct preferencespublic void setPreviousCtCollectionId(long previousCtCollectionId)
setPreviousCtCollectionId
in interface CTPreferencesModel
previousCtCollectionId
- the previous ct collection ID of this ct preferencespublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTPreferencesModel
primaryKey
- the primary key of this ct preferencespublic void setUserId(long userId)
setUserId
in interface CTPreferencesModel
userId
- the user ID of this ct preferencespublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CTPreferencesModel
userUuid
- the user uuid of this ct preferencesprotected CTPreferencesWrapper wrap(CTPreferences ctPreferences)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTPreferences>