@ProviderType
public class SocialRelationModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
implements com.liferay.social.kernel.model.SocialRelationModel
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
.
SocialRelationImpl
,
SocialRelation
,
SocialRelationModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
RELATIONID_COLUMN_BITMASK |
static String |
SESSION_FACTORY |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
static long |
TYPE_COLUMN_BITMASK |
static long |
USERID1_COLUMN_BITMASK |
static long |
USERID2_COLUMN_BITMASK |
static long |
UUID_COLUMN_BITMASK |
Constructor and Description |
---|
SocialRelationModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.social.kernel.model.SocialRelation socialRelation) |
boolean |
equals(Object obj) |
long |
getColumnBitmask() |
long |
getCompanyId() |
long |
getCreateDate() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getOriginalCompanyId() |
int |
getOriginalType() |
long |
getOriginalUserId1() |
long |
getOriginalUserId2() |
String |
getOriginalUuid() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
long |
getRelationId() |
int |
getType() |
long |
getUserId1() |
long |
getUserId2() |
String |
getUuid() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setCompanyId(long companyId) |
void |
setCreateDate(long createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setRelationId(long relationId) |
void |
setType(int type) |
void |
setUserId1(long userId1) |
void |
setUserId2(long userId2) |
void |
setUuid(String uuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation> |
toCacheModel() |
com.liferay.social.kernel.model.SocialRelation |
toEscapedModel() |
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 boolean COLUMN_BITMASK_ENABLED
public static final long COMPANYID_COLUMN_BITMASK
public static final long TYPE_COLUMN_BITMASK
public static final long USERID1_COLUMN_BITMASK
public static final long USERID2_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long RELATIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey
in interface com.liferay.social.kernel.model.SocialRelationModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.social.kernel.model.SocialRelationModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface com.liferay.social.kernel.model.SocialRelationModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface com.liferay.social.kernel.model.SocialRelationModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
public String getUuid()
getUuid
in interface com.liferay.social.kernel.model.SocialRelationModel
public void setUuid(String uuid)
setUuid
in interface com.liferay.social.kernel.model.SocialRelationModel
public String getOriginalUuid()
public long getRelationId()
getRelationId
in interface com.liferay.social.kernel.model.SocialRelationModel
public void setRelationId(long relationId)
setRelationId
in interface com.liferay.social.kernel.model.SocialRelationModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.social.kernel.model.SocialRelationModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.social.kernel.model.SocialRelationModel
public long getOriginalCompanyId()
public long getCreateDate()
getCreateDate
in interface com.liferay.social.kernel.model.SocialRelationModel
public void setCreateDate(long createDate)
setCreateDate
in interface com.liferay.social.kernel.model.SocialRelationModel
public long getUserId1()
getUserId1
in interface com.liferay.social.kernel.model.SocialRelationModel
public void setUserId1(long userId1)
setUserId1
in interface com.liferay.social.kernel.model.SocialRelationModel
public long getOriginalUserId1()
public long getUserId2()
getUserId2
in interface com.liferay.social.kernel.model.SocialRelationModel
public void setUserId2(long userId2)
setUserId2
in interface com.liferay.social.kernel.model.SocialRelationModel
public long getOriginalUserId2()
public int getType()
getType
in interface com.liferay.social.kernel.model.SocialRelationModel
public void setType(int type)
setType
in interface com.liferay.social.kernel.model.SocialRelationModel
public int getOriginalType()
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface com.liferay.social.kernel.model.SocialRelationModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
setExpandoBridgeAttributes
in interface com.liferay.social.kernel.model.SocialRelationModel
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
public com.liferay.social.kernel.model.SocialRelation toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
toEscapedModel
in interface com.liferay.social.kernel.model.SocialRelationModel
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
clone
in interface com.liferay.social.kernel.model.SocialRelationModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
public int compareTo(com.liferay.social.kernel.model.SocialRelation socialRelation)
compareTo
in interface com.liferay.social.kernel.model.SocialRelationModel
compareTo
in interface Comparable<com.liferay.social.kernel.model.SocialRelation>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.social.kernel.model.SocialRelationModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
toCacheModel
in interface com.liferay.social.kernel.model.SocialRelationModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
public String toString()
toString
in interface com.liferay.social.kernel.model.SocialRelationModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
toXmlString
in interface com.liferay.social.kernel.model.SocialRelationModel