Package com.liferay.social.kernel.model
Class SocialRequestWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SocialRequest>
com.liferay.social.kernel.model.SocialRequestWrapper
- All Implemented Interfaces:
AttachedModel
,BaseModel<SocialRequest>
,CTModel<SocialRequest>
,ClassedModel
,ModelWrapper<SocialRequest>
,MVCCModel
,PersistedModel
,ShardedModel
,TypedModel
,SocialRequest
,SocialRequestModel
,Serializable
,Cloneable
,Comparable<SocialRequest>
public class SocialRequestWrapper
extends BaseModelWrapper<SocialRequest>
implements ModelWrapper<SocialRequest>, SocialRequest
This class is a wrapper for SocialRequest
.
- 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.SocialRequest
REQUEST_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this social request.long
Returns the class name ID of this social request.long
Returns the class pk of this social request.long
Returns the company ID of this social request.long
Returns the create date of this social request.long
Returns the ct collection ID of this social request.Returns the extra data of this social request.long
Returns the group ID of this social request.long
Returns the modified date of this social request.long
Returns the mvcc version of this social request.long
Returns the primary key of this social request.long
Returns the receiver user ID of this social request.Returns the receiver user uuid of this social request.long
Returns the request ID of this social request.int
Returns the status of this social request.int
getType()
Returns the type of this social request.long
Returns the user ID of this social request.Returns the user uuid of this social request.getUuid()
Returns the uuid of this social request.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this social request.void
setClassPK
(long classPK) Sets the class pk of this social request.void
setCompanyId
(long companyId) Sets the company ID of this social request.void
setCreateDate
(long createDate) Sets the create date of this social request.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this social request.void
setExtraData
(String extraData) Sets the extra data of this social request.void
setGroupId
(long groupId) Sets the group ID of this social request.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(long modifiedDate) Sets the modified date of this social request.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this social request.void
setPrimaryKey
(long primaryKey) Sets the primary key of this social request.void
setReceiverUserId
(long receiverUserId) Sets the receiver user ID of this social request.void
setReceiverUserUuid
(String receiverUserUuid) Sets the receiver user uuid of this social request.void
setRequestId
(long requestId) Sets the request ID of this social request.void
setStatus
(int status) Sets the status of this social request.void
setType
(int type) Sets the type of this social request.void
setUserId
(long userId) Sets the user ID of this social request.void
setUserUuid
(String userUuid) Sets the user uuid of this social request.void
Sets the uuid of this social request.protected SocialRequestWrapper
wrap
(SocialRequest socialRequest) 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
-
SocialRequestWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<SocialRequest>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<SocialRequest>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<SocialRequest>
- Specified by:
cloneWithOriginalValues
in interfaceSocialRequestModel
-
getClassName
Returns the fully qualified class name of this social request.- Specified by:
getClassName
in interfaceSocialRequestModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this social request
-
getClassNameId
public long getClassNameId()Returns the class name ID of this social request.- Specified by:
getClassNameId
in interfaceSocialRequestModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this social request
-
getClassPK
public long getClassPK()Returns the class pk of this social request.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceSocialRequestModel
- Returns:
- the class pk of this social request
-
getCompanyId
public long getCompanyId()Returns the company ID of this social request.- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceSocialRequestModel
- Returns:
- the company ID of this social request
-
getCreateDate
public long getCreateDate()Returns the create date of this social request.- Specified by:
getCreateDate
in interfaceSocialRequestModel
- Returns:
- the create date of this social request
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this social request.- Specified by:
getCtCollectionId
in interfaceCTModel<SocialRequest>
- Specified by:
getCtCollectionId
in interfaceSocialRequestModel
- Returns:
- the ct collection ID of this social request
-
getExtraData
Returns the extra data of this social request.- Specified by:
getExtraData
in interfaceSocialRequestModel
- Returns:
- the extra data of this social request
-
getGroupId
public long getGroupId()Returns the group ID of this social request.- Specified by:
getGroupId
in interfaceSocialRequestModel
- Returns:
- the group ID of this social request
-
getModifiedDate
public long getModifiedDate()Returns the modified date of this social request.- Specified by:
getModifiedDate
in interfaceSocialRequestModel
- Returns:
- the modified date of this social request
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this social request.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceSocialRequestModel
- Returns:
- the mvcc version of this social request
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this social request.- Specified by:
getPrimaryKey
in interfaceCTModel<SocialRequest>
- Specified by:
getPrimaryKey
in interfaceSocialRequestModel
- Returns:
- the primary key of this social request
-
getReceiverUserId
public long getReceiverUserId()Returns the receiver user ID of this social request.- Specified by:
getReceiverUserId
in interfaceSocialRequestModel
- Returns:
- the receiver user ID of this social request
-
getReceiverUserUuid
Returns the receiver user uuid of this social request.- Specified by:
getReceiverUserUuid
in interfaceSocialRequestModel
- Returns:
- the receiver user uuid of this social request
-
getRequestId
public long getRequestId()Returns the request ID of this social request.- Specified by:
getRequestId
in interfaceSocialRequestModel
- Returns:
- the request ID of this social request
-
getStatus
public int getStatus()Returns the status of this social request.- Specified by:
getStatus
in interfaceSocialRequestModel
- Returns:
- the status of this social request
-
getType
public int getType()Returns the type of this social request.- Specified by:
getType
in interfaceSocialRequestModel
- Returns:
- the type of this social request
-
getUserId
public long getUserId()Returns the user ID of this social request.- Specified by:
getUserId
in interfaceSocialRequestModel
- Returns:
- the user ID of this social request
-
getUserUuid
Returns the user uuid of this social request.- Specified by:
getUserUuid
in interfaceSocialRequestModel
- Returns:
- the user uuid of this social request
-
getUuid
Returns the uuid of this social request.- Specified by:
getUuid
in interfaceSocialRequestModel
- Returns:
- the uuid of this social request
-
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
-
setClassName
- Specified by:
setClassName
in interfaceSocialRequestModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this social request.- Specified by:
setClassNameId
in interfaceSocialRequestModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this social request
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this social request.- Specified by:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfaceSocialRequestModel
- Parameters:
classPK
- the class pk of this social request
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this social request.- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceSocialRequestModel
- Parameters:
companyId
- the company ID of this social request
-
setCreateDate
public void setCreateDate(long createDate) Sets the create date of this social request.- Specified by:
setCreateDate
in interfaceSocialRequestModel
- Parameters:
createDate
- the create date of this social request
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social request.- Specified by:
setCtCollectionId
in interfaceCTModel<SocialRequest>
- Specified by:
setCtCollectionId
in interfaceSocialRequestModel
- Parameters:
ctCollectionId
- the ct collection ID of this social request
-
setExtraData
Sets the extra data of this social request.- Specified by:
setExtraData
in interfaceSocialRequestModel
- Parameters:
extraData
- the extra data of this social request
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this social request.- Specified by:
setGroupId
in interfaceSocialRequestModel
- Parameters:
groupId
- the group ID of this social request
-
setModifiedDate
public void setModifiedDate(long modifiedDate) Sets the modified date of this social request.- Specified by:
setModifiedDate
in interfaceSocialRequestModel
- Parameters:
modifiedDate
- the modified date of this social request
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this social request.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceSocialRequestModel
- Parameters:
mvccVersion
- the mvcc version of this social request
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this social request.- Specified by:
setPrimaryKey
in interfaceCTModel<SocialRequest>
- Specified by:
setPrimaryKey
in interfaceSocialRequestModel
- Parameters:
primaryKey
- the primary key of this social request
-
setReceiverUserId
public void setReceiverUserId(long receiverUserId) Sets the receiver user ID of this social request.- Specified by:
setReceiverUserId
in interfaceSocialRequestModel
- Parameters:
receiverUserId
- the receiver user ID of this social request
-
setReceiverUserUuid
Sets the receiver user uuid of this social request.- Specified by:
setReceiverUserUuid
in interfaceSocialRequestModel
- Parameters:
receiverUserUuid
- the receiver user uuid of this social request
-
setRequestId
public void setRequestId(long requestId) Sets the request ID of this social request.- Specified by:
setRequestId
in interfaceSocialRequestModel
- Parameters:
requestId
- the request ID of this social request
-
setStatus
public void setStatus(int status) Sets the status of this social request.- Specified by:
setStatus
in interfaceSocialRequestModel
- Parameters:
status
- the status of this social request
-
setType
public void setType(int type) Sets the type of this social request.- Specified by:
setType
in interfaceSocialRequestModel
- Parameters:
type
- the type of this social request
-
setUserId
public void setUserId(long userId) Sets the user ID of this social request.- Specified by:
setUserId
in interfaceSocialRequestModel
- Parameters:
userId
- the user ID of this social request
-
setUserUuid
Sets the user uuid of this social request.- Specified by:
setUserUuid
in interfaceSocialRequestModel
- Parameters:
userUuid
- the user uuid of this social request
-
setUuid
Sets the uuid of this social request.- Specified by:
setUuid
in interfaceSocialRequestModel
- Parameters:
uuid
- the uuid of this social request
-
toXmlString
- Specified by:
toXmlString
in interfaceSocialRequestModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<SocialRequest>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<SocialRequest>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<SocialRequest>
-