Class CTPreferencesWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTPreferences>
com.liferay.change.tracking.model.CTPreferencesWrapper
- All Implemented Interfaces:
CTPreferences
,CTPreferencesModel
,com.liferay.portal.kernel.model.BaseModel<CTPreferences>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ModelWrapper<CTPreferences>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,Serializable
,Cloneable
,Comparable<CTPreferences>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.change.tracking.model.CTPreferences
CT_PREFERENCES_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this ct preferences.boolean
Returns the confirmation enabled of this ct preferences.long
Returns the ct collection ID of this ct preferences.long
Returns the ct preferences ID of this ct preferences.long
Returns the mvcc version of this ct preferences.long
Returns the previous ct collection ID of this ct preferences.long
Returns the primary key of this ct preferences.long
Returns the user ID of this ct preferences.Returns the user uuid of this ct preferences.boolean
Returnstrue
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
(Map<String, 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
(String userUuid) Sets the user uuid of this ct preferences.protected CTPreferencesWrapper
wrap
(CTPreferences ctPreferences) 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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, 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
-
CTPreferencesWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CTPreferences>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CTPreferences>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CTPreferences>
- Specified by:
cloneWithOriginalValues
in interfaceCTPreferencesModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this ct preferences.- Specified by:
getCompanyId
in interfaceCTPreferencesModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Returns:
- the company ID of this ct preferences
-
getConfirmationEnabled
public boolean getConfirmationEnabled()Returns the confirmation enabled of this ct preferences.- Specified by:
getConfirmationEnabled
in interfaceCTPreferencesModel
- Returns:
- the confirmation enabled of this ct preferences
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this ct preferences.- Specified by:
getCtCollectionId
in interfaceCTPreferencesModel
- Returns:
- the ct collection ID of this ct preferences
-
getCtPreferencesId
public long getCtPreferencesId()Returns the ct preferences ID of this ct preferences.- Specified by:
getCtPreferencesId
in interfaceCTPreferencesModel
- Returns:
- the ct preferences ID of this ct preferences
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this ct preferences.- Specified by:
getMvccVersion
in interfaceCTPreferencesModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this ct preferences
-
getPreviousCtCollectionId
public long getPreviousCtCollectionId()Returns the previous ct collection ID of this ct preferences.- Specified by:
getPreviousCtCollectionId
in interfaceCTPreferencesModel
- Returns:
- the previous ct collection ID of this ct preferences
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this ct preferences.- Specified by:
getPrimaryKey
in interfaceCTPreferencesModel
- Returns:
- the primary key of this ct preferences
-
getUserId
public long getUserId()Returns the user ID of this ct preferences.- Specified by:
getUserId
in interfaceCTPreferencesModel
- Returns:
- the user ID of this ct preferences
-
getUserUuid
Returns the user uuid of this ct preferences.- Specified by:
getUserUuid
in interfaceCTPreferencesModel
- Returns:
- the user uuid of this ct preferences
-
isConfirmationEnabled
public boolean isConfirmationEnabled()Returnstrue
if this ct preferences is confirmation enabled.- Specified by:
isConfirmationEnabled
in interfaceCTPreferencesModel
- Returns:
true
if this ct preferences is confirmation enabled;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this ct preferences.- Specified by:
setCompanyId
in interfaceCTPreferencesModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Parameters:
companyId
- the company ID of this ct preferences
-
setConfirmationEnabled
public void setConfirmationEnabled(boolean confirmationEnabled) Sets whether this ct preferences is confirmation enabled.- Specified by:
setConfirmationEnabled
in interfaceCTPreferencesModel
- Parameters:
confirmationEnabled
- the confirmation enabled of this ct preferences
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this ct preferences.- Specified by:
setCtCollectionId
in interfaceCTPreferencesModel
- Parameters:
ctCollectionId
- the ct collection ID of this ct preferences
-
setCtPreferencesId
public void setCtPreferencesId(long ctPreferencesId) Sets the ct preferences ID of this ct preferences.- Specified by:
setCtPreferencesId
in interfaceCTPreferencesModel
- Parameters:
ctPreferencesId
- the ct preferences ID of this ct preferences
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this ct preferences.- Specified by:
setMvccVersion
in interfaceCTPreferencesModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this ct preferences
-
setPreviousCtCollectionId
public void setPreviousCtCollectionId(long previousCtCollectionId) Sets the previous ct collection ID of this ct preferences.- Specified by:
setPreviousCtCollectionId
in interfaceCTPreferencesModel
- Parameters:
previousCtCollectionId
- the previous ct collection ID of this ct preferences
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this ct preferences.- Specified by:
setPrimaryKey
in interfaceCTPreferencesModel
- Parameters:
primaryKey
- the primary key of this ct preferences
-
setUserId
public void setUserId(long userId) Sets the user ID of this ct preferences.- Specified by:
setUserId
in interfaceCTPreferencesModel
- Parameters:
userId
- the user ID of this ct preferences
-
setUserUuid
Sets the user uuid of this ct preferences.- Specified by:
setUserUuid
in interfaceCTPreferencesModel
- Parameters:
userUuid
- the user uuid of this ct preferences
-
toXmlString
- Specified by:
toXmlString
in interfaceCTPreferencesModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTPreferences>
-