|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<SocialRelation>
com.liferay.portlet.social.model.impl.SocialRelationModelImpl
public class SocialRelationModelImpl
This interface is a model that represents the SocialRelation table in the database.
SocialRelationImpl,
SocialRelation,
SocialRelationModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
SocialRelationModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SocialRelation socialRelation)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
|
long |
getCreateDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
int |
getOriginalType()
|
long |
getOriginalUserId1()
|
long |
getOriginalUserId2()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getRelationId()
|
int |
getType()
|
long |
getUserId1()
|
long |
getUserId2()
|
String |
getUuid()
|
int |
hashCode()
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(long createDate)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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 com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.social.model.SocialRelationModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public SocialRelationModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface SocialRelationModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface SocialRelationModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SocialRelation>getPrimaryKeyObj 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 getOriginalUserId1()
public long getUserId2()
getUserId2 in interface SocialRelationModelpublic void setUserId2(long userId2)
setUserId2 in interface SocialRelationModelpublic long getOriginalUserId2()
public int getType()
getType in interface SocialRelationModelpublic void setType(int type)
setType in interface SocialRelationModelpublic int getOriginalType()
public SocialRelation toEscapedModel()
toEscapedModel in interface SocialRelationModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SocialRelation>getExpandoBridge in interface SocialRelationModelgetExpandoBridge in class BaseModelImpl<SocialRelation>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SocialRelation>setExpandoBridgeAttributes in interface SocialRelationModelsetExpandoBridgeAttributes in class BaseModelImpl<SocialRelation>serviceContext - 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 BaseModelImpl<SocialRelation>public int compareTo(SocialRelation socialRelation)
compareTo in interface SocialRelationModelcompareTo in interface Comparable<SocialRelation>public boolean equals(Object obj)
equals in class Objectpublic 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 SocialRelationModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||