@ProviderType public class SocialRequestWrapper extends Object implements SocialRequest, ModelWrapper<SocialRequest>
This class is a wrapper for SocialRequest.
SocialRequest,
Serialized FormREQUEST_ID_ACCESSOR| Constructor and Description |
|---|
SocialRequestWrapper(SocialRequest socialRequest) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SocialRequest socialRequest) |
boolean |
equals(Object obj) |
String |
getClassName()
Returns the fully qualified class name of this social request.
|
long |
getClassNameId()
Returns the class name ID of this social request.
|
long |
getClassPK()
Returns the class p k of this social request.
|
long |
getCompanyId()
Returns the company ID of this social request.
|
long |
getCreateDate()
Returns the create date of this social request.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getExtraData()
Returns the extra data of this social request.
|
long |
getGroupId()
Returns the group ID of this social request.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getModifiedDate()
Returns the modified date of this social request.
|
long |
getPrimaryKey()
Returns the primary key of this social request.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getReceiverUserId()
Returns the receiver user ID of this social request.
|
String |
getReceiverUserUuid()
Returns the receiver user uuid of this social request.
|
long |
getRequestId()
Returns the request ID of this social request.
|
int |
getStatus()
Returns the status of this social request.
|
int |
getType()
Returns the type of this social request.
|
long |
getUserId()
Returns the user ID of this social request.
|
String |
getUserUuid()
Returns the user uuid of this social request.
|
String |
getUuid()
Returns the uuid of this social request.
|
SocialRequest |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this social request.
|
void |
setClassPK(long classPK)
Sets the class p k 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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social request.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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 |
setUuid(String uuid)
Sets the uuid of this social request.
|
CacheModel<SocialRequest> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SocialRequest |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
SocialRequest |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public SocialRequestWrapper(SocialRequest socialRequest)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialRequest>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SocialRequest>public SocialRequest toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SocialRequest>toEscapedModel in interface SocialRequestModelAutoEscapeBeanHandlerpublic SocialRequest toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialRequest>toUnescapedModel in interface SocialRequestModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SocialRequest>isCachedModel in interface SocialRequestModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<SocialRequest>isEscapedModel in interface SocialRequestModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<SocialRequest>isNew in interface SocialRequestModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SocialRequest>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialRequestModelpublic CacheModel<SocialRequest> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SocialRequest>toCacheModel in interface SocialRequestModelpublic int compareTo(SocialRequest socialRequest)
compareTo in interface SocialRequestModelcompareTo in interface Comparable<SocialRequest>public int getStatus()
getStatus in interface SocialRequestModelpublic int getType()
getType in interface SocialRequestModelpublic int hashCode()
hashCode in interface SocialRequestModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SocialRequest>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialRequestModelpublic Object clone()
BaseModelclone in interface BaseModel<SocialRequest>clone in interface SocialRequestModelclone in class Objectpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface SocialRequestModelpublic String getExtraData()
getExtraData in interface SocialRequestModelpublic String getReceiverUserUuid()
getReceiverUserUuid in interface SocialRequestModelpublic String getUserUuid()
getUserUuid in interface SocialRequestModelpublic String getUuid()
getUuid in interface SocialRequestModelpublic String toString()
toString in interface SocialRequestModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<SocialRequest>toXmlString in interface SocialRequestModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SocialRequestModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SocialRequestModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SocialRequestModelpublic long getCreateDate()
getCreateDate in interface SocialRequestModelpublic long getGroupId()
getGroupId in interface SocialRequestModelpublic long getModifiedDate()
getModifiedDate in interface SocialRequestModelpublic long getPrimaryKey()
getPrimaryKey in interface SocialRequestModelpublic long getReceiverUserId()
getReceiverUserId in interface SocialRequestModelpublic long getRequestId()
getRequestId in interface SocialRequestModelpublic long getUserId()
getUserId in interface SocialRequestModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SocialRequest>setCachedModel in interface SocialRequestModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface SocialRequestModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface SocialRequestModelclassNameId - the class name ID of this social requestpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface SocialRequestModelclassPK - the class p k of this social requestpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface SocialRequestModelcompanyId - the company ID of this social requestpublic void setCreateDate(long createDate)
setCreateDate in interface SocialRequestModelcreateDate - the create date of this social requestpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SocialRequest>setExpandoBridgeAttributes in interface SocialRequestModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SocialRequest>setExpandoBridgeAttributes in interface SocialRequestModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SocialRequest>setExpandoBridgeAttributes in interface SocialRequestModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setExtraData(String extraData)
setExtraData in interface SocialRequestModelextraData - the extra data of this social requestpublic void setGroupId(long groupId)
setGroupId in interface SocialRequestModelgroupId - the group ID of this social requestpublic void setModifiedDate(long modifiedDate)
setModifiedDate in interface SocialRequestModelmodifiedDate - the modified date of this social requestpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SocialRequest>setNew in interface SocialRequestModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialRequestModelprimaryKey - the primary key of this social requestpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SocialRequest>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialRequestModelprimaryKeyObj - the primary key of this model instancepublic void setReceiverUserId(long receiverUserId)
setReceiverUserId in interface SocialRequestModelreceiverUserId - the receiver user ID of this social requestpublic void setReceiverUserUuid(String receiverUserUuid)
setReceiverUserUuid in interface SocialRequestModelreceiverUserUuid - the receiver user uuid of this social requestpublic void setRequestId(long requestId)
setRequestId in interface SocialRequestModelrequestId - the request ID of this social requestpublic void setStatus(int status)
setStatus in interface SocialRequestModelstatus - the status of this social requestpublic void setType(int type)
setType in interface SocialRequestModeltype - the type of this social requestpublic void setUserId(long userId)
setUserId in interface SocialRequestModeluserId - the user ID of this social requestpublic void setUserUuid(String userUuid)
setUserUuid in interface SocialRequestModeluserUuid - the user uuid of this social requestpublic void setUuid(String uuid)
setUuid in interface SocialRequestModeluuid - the uuid of this social requestpublic SocialRequest getWrappedModel()
getWrappedModel in interface ModelWrapper<SocialRequest>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<SocialRequest>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<SocialRequest>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SocialRequest>