Package com.liferay.social.kernel.model
Class SocialActivityLimitWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SocialActivityLimit>
com.liferay.social.kernel.model.SocialActivityLimitWrapper
- All Implemented Interfaces:
AttachedModel
,BaseModel<SocialActivityLimit>
,CTModel<SocialActivityLimit>
,ClassedModel
,ModelWrapper<SocialActivityLimit>
,MVCCModel
,PersistedModel
,ShardedModel
,TypedModel
,SocialActivityLimit
,SocialActivityLimitModel
,Serializable
,Cloneable
,Comparable<SocialActivityLimit>
public class SocialActivityLimitWrapper
extends BaseModelWrapper<SocialActivityLimit>
implements ModelWrapper<SocialActivityLimit>, SocialActivityLimit
This class is a wrapper for SocialActivityLimit
.
- 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.SocialActivityLimit
ACTIVITY_LIMIT_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the activity counter name of this social activity limit.long
Returns the activity limit ID of this social activity limit.int
Returns the activity type of this social activity limit.Returns the fully qualified class name of this social activity limit.long
Returns the class name ID of this social activity limit.long
Returns the class pk of this social activity limit.long
Returns the company ID of this social activity limit.int
getCount()
int
getCount
(int limitPeriod) long
Returns the ct collection ID of this social activity limit.long
Returns the group ID of this social activity limit.long
Returns the mvcc version of this social activity limit.long
Returns the primary key of this social activity limit.long
Returns the user ID of this social activity limit.Returns the user uuid of this social activity limit.getValue()
Returns the value of this social activity limit.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setActivityCounterName
(String activityCounterName) Sets the activity counter name of this social activity limit.void
setActivityLimitId
(long activityLimitId) Sets the activity limit ID of this social activity limit.void
setActivityType
(int activityType) Sets the activity type of this social activity limit.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this social activity limit.void
setClassPK
(long classPK) Sets the class pk of this social activity limit.void
setCompanyId
(long companyId) Sets the company ID of this social activity limit.void
setCount
(int limitPeriod, int count) void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this social activity limit.void
setGroupId
(long groupId) Sets the group ID of this social activity limit.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this social activity limit.void
setPrimaryKey
(long primaryKey) Sets the primary key of this social activity limit.void
setUserId
(long userId) Sets the user ID of this social activity limit.void
setUserUuid
(String userUuid) Sets the user uuid of this social activity limit.void
Sets the value of this social activity limit.protected SocialActivityLimitWrapper
wrap
(SocialActivityLimit socialActivityLimit) 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
-
SocialActivityLimitWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<SocialActivityLimit>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<SocialActivityLimit>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<SocialActivityLimit>
- Specified by:
cloneWithOriginalValues
in interfaceSocialActivityLimitModel
-
getActivityCounterName
Returns the activity counter name of this social activity limit.- Specified by:
getActivityCounterName
in interfaceSocialActivityLimitModel
- Returns:
- the activity counter name of this social activity limit
-
getActivityLimitId
public long getActivityLimitId()Returns the activity limit ID of this social activity limit.- Specified by:
getActivityLimitId
in interfaceSocialActivityLimitModel
- Returns:
- the activity limit ID of this social activity limit
-
getActivityType
public int getActivityType()Returns the activity type of this social activity limit.- Specified by:
getActivityType
in interfaceSocialActivityLimitModel
- Returns:
- the activity type of this social activity limit
-
getClassName
Returns the fully qualified class name of this social activity limit.- Specified by:
getClassName
in interfaceSocialActivityLimitModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this social activity limit
-
getClassNameId
public long getClassNameId()Returns the class name ID of this social activity limit.- Specified by:
getClassNameId
in interfaceSocialActivityLimitModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this social activity limit
-
getClassPK
public long getClassPK()Returns the class pk of this social activity limit.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceSocialActivityLimitModel
- Returns:
- the class pk of this social activity limit
-
getCompanyId
public long getCompanyId()Returns the company ID of this social activity limit.- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceSocialActivityLimitModel
- Returns:
- the company ID of this social activity limit
-
getCount
public int getCount()- Specified by:
getCount
in interfaceSocialActivityLimit
-
getCount
public int getCount(int limitPeriod) - Specified by:
getCount
in interfaceSocialActivityLimit
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this social activity limit.- Specified by:
getCtCollectionId
in interfaceCTModel<SocialActivityLimit>
- Specified by:
getCtCollectionId
in interfaceSocialActivityLimitModel
- Returns:
- the ct collection ID of this social activity limit
-
getGroupId
public long getGroupId()Returns the group ID of this social activity limit.- Specified by:
getGroupId
in interfaceSocialActivityLimitModel
- Returns:
- the group ID of this social activity limit
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this social activity limit.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceSocialActivityLimitModel
- Returns:
- the mvcc version of this social activity limit
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this social activity limit.- Specified by:
getPrimaryKey
in interfaceCTModel<SocialActivityLimit>
- Specified by:
getPrimaryKey
in interfaceSocialActivityLimitModel
- Returns:
- the primary key of this social activity limit
-
getUserId
public long getUserId()Returns the user ID of this social activity limit.- Specified by:
getUserId
in interfaceSocialActivityLimitModel
- Returns:
- the user ID of this social activity limit
-
getUserUuid
Returns the user uuid of this social activity limit.- Specified by:
getUserUuid
in interfaceSocialActivityLimitModel
- Returns:
- the user uuid of this social activity limit
-
getValue
Returns the value of this social activity limit.- Specified by:
getValue
in interfaceSocialActivityLimitModel
- Returns:
- the value of this social activity limit
-
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
-
setActivityCounterName
Sets the activity counter name of this social activity limit.- Specified by:
setActivityCounterName
in interfaceSocialActivityLimitModel
- Parameters:
activityCounterName
- the activity counter name of this social activity limit
-
setActivityLimitId
public void setActivityLimitId(long activityLimitId) Sets the activity limit ID of this social activity limit.- Specified by:
setActivityLimitId
in interfaceSocialActivityLimitModel
- Parameters:
activityLimitId
- the activity limit ID of this social activity limit
-
setActivityType
public void setActivityType(int activityType) Sets the activity type of this social activity limit.- Specified by:
setActivityType
in interfaceSocialActivityLimitModel
- Parameters:
activityType
- the activity type of this social activity limit
-
setClassName
- Specified by:
setClassName
in interfaceSocialActivityLimitModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this social activity limit.- Specified by:
setClassNameId
in interfaceSocialActivityLimitModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this social activity limit
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this social activity limit.- Specified by:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfaceSocialActivityLimitModel
- Parameters:
classPK
- the class pk of this social activity limit
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this social activity limit.- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceSocialActivityLimitModel
- Parameters:
companyId
- the company ID of this social activity limit
-
setCount
public void setCount(int limitPeriod, int count) - Specified by:
setCount
in interfaceSocialActivityLimit
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social activity limit.- Specified by:
setCtCollectionId
in interfaceCTModel<SocialActivityLimit>
- Specified by:
setCtCollectionId
in interfaceSocialActivityLimitModel
- Parameters:
ctCollectionId
- the ct collection ID of this social activity limit
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this social activity limit.- Specified by:
setGroupId
in interfaceSocialActivityLimitModel
- Parameters:
groupId
- the group ID of this social activity limit
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this social activity limit.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceSocialActivityLimitModel
- Parameters:
mvccVersion
- the mvcc version of this social activity limit
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this social activity limit.- Specified by:
setPrimaryKey
in interfaceCTModel<SocialActivityLimit>
- Specified by:
setPrimaryKey
in interfaceSocialActivityLimitModel
- Parameters:
primaryKey
- the primary key of this social activity limit
-
setUserId
public void setUserId(long userId) Sets the user ID of this social activity limit.- Specified by:
setUserId
in interfaceSocialActivityLimitModel
- Parameters:
userId
- the user ID of this social activity limit
-
setUserUuid
Sets the user uuid of this social activity limit.- Specified by:
setUserUuid
in interfaceSocialActivityLimitModel
- Parameters:
userUuid
- the user uuid of this social activity limit
-
setValue
Sets the value of this social activity limit.- Specified by:
setValue
in interfaceSocialActivityLimitModel
- Parameters:
value
- the value of this social activity limit
-
toXmlString
- Specified by:
toXmlString
in interfaceSocialActivityLimitModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<SocialActivityLimit>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<SocialActivityLimit>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<SocialActivityLimit>
-