|
Liferay 6.0.4 | |||||||||
| 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
The base model implementation for the SocialRelation service. Represents a row in the "SocialRelation" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface SocialRelationModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialRelationImpl.
Never modify or reference this class directly. All methods that expect a social relation model instance should use the SocialRelation interface instead.
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()
Gets the company id of this social relation. |
long |
getCreateDate()
Gets the create date of this social relation. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
int |
getOriginalType()
|
long |
getOriginalUserId1()
|
long |
getOriginalUserId2()
|
long |
getPrimaryKey()
Gets the primary key of this social relation. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getRelationId()
Gets the relation id of this social relation. |
int |
getType()
Gets the type of this social relation. |
long |
getUserId1()
Gets the user id1 of this social relation. |
long |
getUserId2()
Gets the user id2 of this social relation. |
String |
getUuid()
Gets the uuid of this social relation. |
int |
hashCode()
|
void |
setCompanyId(long companyId)
Sets the company id of this social relation. |
void |
setCreateDate(long createDate)
Sets the create date of this social relation. |
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)
Sets the primary key of this social relation |
void |
setRelationId(long relationId)
Sets the relation id of this social relation. |
void |
setType(int type)
Sets the type of this social relation. |
void |
setUserId1(long userId1)
Sets the user id1 of this social relation. |
void |
setUserId2(long userId2)
Sets the user id2 of this social relation. |
void |
setUuid(String uuid)
Sets the uuid of this social relation. |
SocialRelation |
toEscapedModel()
Gets a copy of this social relation as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
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()
SocialRelationModel
getPrimaryKey in interface SocialRelationModelpublic void setPrimaryKey(long pk)
SocialRelationModel
setPrimaryKey in interface SocialRelationModelpk - the primary key of this social relationpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SocialRelation>getPrimaryKeyObj in interface SocialRelationModelpublic String getUuid()
SocialRelationModel
getUuid in interface SocialRelationModelpublic void setUuid(String uuid)
SocialRelationModel
setUuid in interface SocialRelationModeluuid - the uuid of this social relationpublic long getRelationId()
SocialRelationModel
getRelationId in interface SocialRelationModelpublic void setRelationId(long relationId)
SocialRelationModel
setRelationId in interface SocialRelationModelrelationId - the relation id of this social relationpublic long getCompanyId()
SocialRelationModel
getCompanyId in interface SocialRelationModelpublic void setCompanyId(long companyId)
SocialRelationModel
setCompanyId in interface SocialRelationModelcompanyId - the company id of this social relationpublic long getCreateDate()
SocialRelationModel
getCreateDate in interface SocialRelationModelpublic void setCreateDate(long createDate)
SocialRelationModel
setCreateDate in interface SocialRelationModelcreateDate - the create date of this social relationpublic long getUserId1()
SocialRelationModel
getUserId1 in interface SocialRelationModelpublic void setUserId1(long userId1)
SocialRelationModel
setUserId1 in interface SocialRelationModeluserId1 - the user id1 of this social relationpublic long getOriginalUserId1()
public long getUserId2()
SocialRelationModel
getUserId2 in interface SocialRelationModelpublic void setUserId2(long userId2)
SocialRelationModel
setUserId2 in interface SocialRelationModeluserId2 - the user id2 of this social relationpublic long getOriginalUserId2()
public int getType()
SocialRelationModel
getType in interface SocialRelationModelpublic void setType(int type)
SocialRelationModel
setType in interface SocialRelationModeltype - the type of this social relationpublic int getOriginalType()
public SocialRelation toEscapedModel()
SocialRelationModelAutoEscapeBeanHandler.
toEscapedModel in interface SocialRelationModelAutoEscapeBeanHandlerpublic 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.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||