|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.social.model.SocialRelationWrapper
public class SocialRelationWrapper
This class is a wrapper for SocialRelation.
SocialRelation,
Serialized Form| Constructor Summary | |
|---|---|
SocialRelationWrapper(SocialRelation socialRelation)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SocialRelation socialRelation)
|
long |
getCompanyId()
|
long |
getCreateDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getRelationId()
|
int |
getType()
|
long |
getUserId1()
|
long |
getUserId2()
|
String |
getUuid()
|
SocialRelation |
getWrappedSocialRelation()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
|
void |
setCreateDate(long createDate)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setRelationId(long relationId)
|
void |
setType(int type)
|
void |
setUserId1(long userId1)
|
void |
setUserId2(long userId2)
|
void |
setUuid(String uuid)
|
SocialRelation |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SocialRelationWrapper(SocialRelation socialRelation)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface SocialRelationModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface SocialRelationModelpublic String getUuid()
getUuid in interface SocialRelationModelpublic void setUuid(String uuid)
setUuid in interface SocialRelationModelpublic long getRelationId()
getRelationId in interface SocialRelationModelpublic void setRelationId(long relationId)
setRelationId in interface SocialRelationModelpublic long getCompanyId()
getCompanyId in interface SocialRelationModelpublic void setCompanyId(long companyId)
setCompanyId in interface SocialRelationModelpublic long getCreateDate()
getCreateDate in interface SocialRelationModelpublic void setCreateDate(long createDate)
setCreateDate in interface SocialRelationModelpublic long getUserId1()
getUserId1 in interface SocialRelationModelpublic void setUserId1(long userId1)
setUserId1 in interface SocialRelationModelpublic long getUserId2()
getUserId2 in interface SocialRelationModelpublic void setUserId2(long userId2)
setUserId2 in interface SocialRelationModelpublic int getType()
getType in interface SocialRelationModelpublic void setType(int type)
setType in interface SocialRelationModelpublic SocialRelation toEscapedModel()
toEscapedModel in interface SocialRelationModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<SocialRelation>isNew in interface SocialRelationModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<SocialRelation>setNew in interface SocialRelationModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<SocialRelation>isCachedModel in interface SocialRelationModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<SocialRelation>setCachedModel in interface SocialRelationModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<SocialRelation>isEscapedModel in interface SocialRelationModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<SocialRelation>setEscapedModel in interface SocialRelationModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SocialRelation>getPrimaryKeyObj in interface SocialRelationModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SocialRelation>getExpandoBridge in interface SocialRelationModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SocialRelation>setExpandoBridgeAttributes in interface SocialRelationModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<SocialRelation>clone in interface SocialRelationModelclone in class Objectpublic int compareTo(SocialRelation socialRelation)
compareTo in interface SocialRelationModelcompareTo in interface Comparable<SocialRelation>public int hashCode()
hashCode in interface SocialRelationModelhashCode in class Objectpublic String toString()
toString in interface SocialRelationModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SocialRelation>toXmlString in interface SocialRelationModelpublic SocialRelation getWrappedSocialRelation()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||