Package com.liferay.social.kernel.model
Class SocialActivitySettingWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SocialActivitySetting>
com.liferay.social.kernel.model.SocialActivitySettingWrapper
- All Implemented Interfaces:
BaseModel<SocialActivitySetting>
,CTModel<SocialActivitySetting>
,ClassedModel
,ModelWrapper<SocialActivitySetting>
,MVCCModel
,PersistedModel
,ShardedModel
,TypedModel
,SocialActivitySetting
,SocialActivitySettingModel
,Serializable
,Cloneable
,Comparable<SocialActivitySetting>
public class SocialActivitySettingWrapper
extends BaseModelWrapper<SocialActivitySetting>
implements ModelWrapper<SocialActivitySetting>, SocialActivitySetting
This class is a wrapper for SocialActivitySetting
.
- 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.social.kernel.model.SocialActivitySetting
ACTIVITY_SETTING_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the activity setting ID of this social activity setting.int
Returns the activity type of this social activity setting.Returns the fully qualified class name of this social activity setting.long
Returns the class name ID of this social activity setting.long
Returns the company ID of this social activity setting.long
Returns the ct collection ID of this social activity setting.long
Returns the group ID of this social activity setting.long
Returns the mvcc version of this social activity setting.getName()
Returns the name of this social activity setting.long
Returns the primary key of this social activity setting.getValue()
Returns the value of this social activity setting.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setActivitySettingId
(long activitySettingId) Sets the activity setting ID of this social activity setting.void
setActivityType
(int activityType) Sets the activity type of this social activity setting.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this social activity setting.void
setCompanyId
(long companyId) Sets the company ID of this social activity setting.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this social activity setting.void
setGroupId
(long groupId) Sets the group ID of this social activity setting.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this social activity setting.void
Sets the name of this social activity setting.void
setPrimaryKey
(long primaryKey) Sets the primary key of this social activity setting.void
Sets the value of this social activity setting.protected SocialActivitySettingWrapper
wrap
(SocialActivitySetting socialActivitySetting) 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
-
SocialActivitySettingWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<SocialActivitySetting>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<SocialActivitySetting>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<SocialActivitySetting>
- Specified by:
cloneWithOriginalValues
in interfaceSocialActivitySettingModel
-
getActivitySettingId
public long getActivitySettingId()Returns the activity setting ID of this social activity setting.- Specified by:
getActivitySettingId
in interfaceSocialActivitySettingModel
- Returns:
- the activity setting ID of this social activity setting
-
getActivityType
public int getActivityType()Returns the activity type of this social activity setting.- Specified by:
getActivityType
in interfaceSocialActivitySettingModel
- Returns:
- the activity type of this social activity setting
-
getClassName
Returns the fully qualified class name of this social activity setting.- Specified by:
getClassName
in interfaceSocialActivitySettingModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this social activity setting
-
getClassNameId
public long getClassNameId()Returns the class name ID of this social activity setting.- Specified by:
getClassNameId
in interfaceSocialActivitySettingModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this social activity setting
-
getCompanyId
public long getCompanyId()Returns the company ID of this social activity setting.- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceSocialActivitySettingModel
- Returns:
- the company ID of this social activity setting
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this social activity setting.- Specified by:
getCtCollectionId
in interfaceCTModel<SocialActivitySetting>
- Specified by:
getCtCollectionId
in interfaceSocialActivitySettingModel
- Returns:
- the ct collection ID of this social activity setting
-
getGroupId
public long getGroupId()Returns the group ID of this social activity setting.- Specified by:
getGroupId
in interfaceSocialActivitySettingModel
- Returns:
- the group ID of this social activity setting
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this social activity setting.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceSocialActivitySettingModel
- Returns:
- the mvcc version of this social activity setting
-
getName
Returns the name of this social activity setting.- Specified by:
getName
in interfaceSocialActivitySettingModel
- Returns:
- the name of this social activity setting
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this social activity setting.- Specified by:
getPrimaryKey
in interfaceCTModel<SocialActivitySetting>
- Specified by:
getPrimaryKey
in interfaceSocialActivitySettingModel
- Returns:
- the primary key of this social activity setting
-
getValue
Returns the value of this social activity setting.- Specified by:
getValue
in interfaceSocialActivitySettingModel
- Returns:
- the value of this social activity setting
-
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
-
setActivitySettingId
public void setActivitySettingId(long activitySettingId) Sets the activity setting ID of this social activity setting.- Specified by:
setActivitySettingId
in interfaceSocialActivitySettingModel
- Parameters:
activitySettingId
- the activity setting ID of this social activity setting
-
setActivityType
public void setActivityType(int activityType) Sets the activity type of this social activity setting.- Specified by:
setActivityType
in interfaceSocialActivitySettingModel
- Parameters:
activityType
- the activity type of this social activity setting
-
setClassName
- Specified by:
setClassName
in interfaceSocialActivitySettingModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this social activity setting.- Specified by:
setClassNameId
in interfaceSocialActivitySettingModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this social activity setting
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this social activity setting.- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceSocialActivitySettingModel
- Parameters:
companyId
- the company ID of this social activity setting
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social activity setting.- Specified by:
setCtCollectionId
in interfaceCTModel<SocialActivitySetting>
- Specified by:
setCtCollectionId
in interfaceSocialActivitySettingModel
- Parameters:
ctCollectionId
- the ct collection ID of this social activity setting
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this social activity setting.- Specified by:
setGroupId
in interfaceSocialActivitySettingModel
- Parameters:
groupId
- the group ID of this social activity setting
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this social activity setting.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceSocialActivitySettingModel
- Parameters:
mvccVersion
- the mvcc version of this social activity setting
-
setName
Sets the name of this social activity setting.- Specified by:
setName
in interfaceSocialActivitySettingModel
- Parameters:
name
- the name of this social activity setting
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this social activity setting.- Specified by:
setPrimaryKey
in interfaceCTModel<SocialActivitySetting>
- Specified by:
setPrimaryKey
in interfaceSocialActivitySettingModel
- Parameters:
primaryKey
- the primary key of this social activity setting
-
setValue
Sets the value of this social activity setting.- Specified by:
setValue
in interfaceSocialActivitySettingModel
- Parameters:
value
- the value of this social activity setting
-
toXmlString
- Specified by:
toXmlString
in interfaceSocialActivitySettingModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<SocialActivitySetting>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<SocialActivitySetting>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<SocialActivitySetting>
-