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
modelFields 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.longReturns the class name ID of this social request.longReturns the class pk of this social request.longReturns the company ID of this social request.longReturns the create date of this social request.longReturns the ct collection ID of this social request.Returns the extra data of this social request.longReturns the group ID of this social request.longReturns the modified date of this social request.longReturns the mvcc version of this social request.longReturns the primary key of this social request.longReturns the receiver user ID of this social request.Returns the receiver user uuid of this social request.longReturns the request ID of this social request.intReturns the status of this social request.intgetType()Returns the type of this social request.longReturns the user ID of this social request.Returns the user uuid of this social request.getUuid()Returns the uuid of this social request.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this social request.voidsetClassPK(long classPK) Sets the class pk of this social request.voidsetCompanyId(long companyId) Sets the company ID of this social request.voidsetCreateDate(long createDate) Sets the create date of this social request.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social request.voidsetExtraData(String extraData) Sets the extra data of this social request.voidsetGroupId(long groupId) Sets the group ID of this social request.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(long modifiedDate) Sets the modified date of this social request.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this social request.voidsetPrimaryKey(long primaryKey) Sets the primary key of this social request.voidsetReceiverUserId(long receiverUserId) Sets the receiver user ID of this social request.voidsetReceiverUserUuid(String receiverUserUuid) Sets the receiver user uuid of this social request.voidsetRequestId(long requestId) Sets the request ID of this social request.voidsetStatus(int status) Sets the status of this social request.voidsetType(int type) Sets the type of this social request.voidsetUserId(long userId) Sets the user ID of this social request.voidsetUserUuid(String userUuid) Sets the user uuid of this social request.voidSets the uuid of this social request.protected SocialRequestWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
SocialRequestWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<SocialRequest>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<SocialRequest>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<SocialRequest>- Specified by:
cloneWithOriginalValuesin interfaceSocialRequestModel
-
getClassName
Returns the fully qualified class name of this social request.- Specified by:
getClassNamein interfaceSocialRequestModel- Specified by:
getClassNamein 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:
getClassNameIdin interfaceSocialRequestModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this social request
-
getClassPK
public long getClassPK()Returns the class pk of this social request.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceSocialRequestModel- Returns:
- the class pk of this social request
-
getCompanyId
public long getCompanyId()Returns the company ID of this social request.- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceSocialRequestModel- Returns:
- the company ID of this social request
-
getCreateDate
public long getCreateDate()Returns the create date of this social request.- Specified by:
getCreateDatein interfaceSocialRequestModel- Returns:
- the create date of this social request
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this social request.- Specified by:
getCtCollectionIdin interfaceCTModel<SocialRequest>- Specified by:
getCtCollectionIdin interfaceSocialRequestModel- Returns:
- the ct collection ID of this social request
-
getExtraData
Returns the extra data of this social request.- Specified by:
getExtraDatain interfaceSocialRequestModel- Returns:
- the extra data of this social request
-
getGroupId
public long getGroupId()Returns the group ID of this social request.- Specified by:
getGroupIdin interfaceSocialRequestModel- Returns:
- the group ID of this social request
-
getModifiedDate
public long getModifiedDate()Returns the modified date of this social request.- Specified by:
getModifiedDatein interfaceSocialRequestModel- Returns:
- the modified date of this social request
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this social request.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceSocialRequestModel- Returns:
- the mvcc version of this social request
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this social request.- Specified by:
getPrimaryKeyin interfaceCTModel<SocialRequest>- Specified by:
getPrimaryKeyin interfaceSocialRequestModel- Returns:
- the primary key of this social request
-
getReceiverUserId
public long getReceiverUserId()Returns the receiver user ID of this social request.- Specified by:
getReceiverUserIdin interfaceSocialRequestModel- Returns:
- the receiver user ID of this social request
-
getReceiverUserUuid
Returns the receiver user uuid of this social request.- Specified by:
getReceiverUserUuidin interfaceSocialRequestModel- Returns:
- the receiver user uuid of this social request
-
getRequestId
public long getRequestId()Returns the request ID of this social request.- Specified by:
getRequestIdin interfaceSocialRequestModel- Returns:
- the request ID of this social request
-
getStatus
public int getStatus()Returns the status of this social request.- Specified by:
getStatusin interfaceSocialRequestModel- Returns:
- the status of this social request
-
getType
public int getType()Returns the type of this social request.- Specified by:
getTypein interfaceSocialRequestModel- Returns:
- the type of this social request
-
getUserId
public long getUserId()Returns the user ID of this social request.- Specified by:
getUserIdin interfaceSocialRequestModel- Returns:
- the user ID of this social request
-
getUserUuid
Returns the user uuid of this social request.- Specified by:
getUserUuidin interfaceSocialRequestModel- Returns:
- the user uuid of this social request
-
getUuid
Returns the uuid of this social request.- Specified by:
getUuidin interfaceSocialRequestModel- Returns:
- the uuid of this social request
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setClassName
- Specified by:
setClassNamein interfaceSocialRequestModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this social request.- Specified by:
setClassNameIdin interfaceSocialRequestModel- Specified by:
setClassNameIdin 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:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin 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:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin 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:
setCreateDatein 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:
setCtCollectionIdin interfaceCTModel<SocialRequest>- Specified by:
setCtCollectionIdin interfaceSocialRequestModel- Parameters:
ctCollectionId- the ct collection ID of this social request
-
setExtraData
Sets the extra data of this social request.- Specified by:
setExtraDatain 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:
setGroupIdin 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:
setModifiedDatein 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:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin 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:
setPrimaryKeyin interfaceCTModel<SocialRequest>- Specified by:
setPrimaryKeyin 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:
setReceiverUserIdin interfaceSocialRequestModel- Parameters:
receiverUserId- the receiver user ID of this social request
-
setReceiverUserUuid
Sets the receiver user uuid of this social request.- Specified by:
setReceiverUserUuidin 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:
setRequestIdin 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:
setStatusin interfaceSocialRequestModel- Parameters:
status- the status of this social request
-
setType
public void setType(int type) Sets the type of this social request.- Specified by:
setTypein 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:
setUserIdin interfaceSocialRequestModel- Parameters:
userId- the user ID of this social request
-
setUserUuid
Sets the user uuid of this social request.- Specified by:
setUserUuidin interfaceSocialRequestModel- Parameters:
userUuid- the user uuid of this social request
-
setUuid
Sets the uuid of this social request.- Specified by:
setUuidin interfaceSocialRequestModel- Parameters:
uuid- the uuid of this social request
-
toXmlString
- Specified by:
toXmlStringin interfaceSocialRequestModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<SocialRequest>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<SocialRequest>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<SocialRequest>
-