com.liferay.portlet.social.model.impl
Class SocialRelationModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>
com.liferay.portlet.social.model.impl.SocialRelationModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>, com.liferay.portal.model.ClassedModel, com.liferay.portlet.social.model.SocialRelationModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.social.model.SocialRelation>
- Direct Known Subclasses:
- SocialRelationBaseImpl
public class SocialRelationModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>
- implements com.liferay.portlet.social.model.SocialRelationModel
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.
- Author:
- Brian Wing Shun Chan
- See Also:
SocialRelationImpl,
SocialRelation,
SocialRelationModel,
Serialized Form- Generated:
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, setNew |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final java.lang.String TABLE_SQL_DROP
- See Also:
- Constant Field Values
DATA_SOURCE
public static final java.lang.String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final java.lang.String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final java.lang.String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
COMPANYID_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
TYPE_COLUMN_BITMASK
public static long TYPE_COLUMN_BITMASK
USERID1_COLUMN_BITMASK
public static long USERID1_COLUMN_BITMASK
USERID2_COLUMN_BITMASK
public static long USERID2_COLUMN_BITMASK
UUID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
SocialRelationModelImpl
public SocialRelationModelImpl()
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portlet.social.model.SocialRelationModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portlet.social.model.SocialRelationModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.social.model.SocialRelationModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.social.model.SocialRelationModel
getModelClass
public java.lang.Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel
getModelClassName
public java.lang.String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid in interface com.liferay.portlet.social.model.SocialRelationModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid in interface com.liferay.portlet.social.model.SocialRelationModel
getOriginalUuid
public java.lang.String getOriginalUuid()
getRelationId
public long getRelationId()
- Specified by:
getRelationId in interface com.liferay.portlet.social.model.SocialRelationModel
setRelationId
public void setRelationId(long relationId)
- Specified by:
setRelationId in interface com.liferay.portlet.social.model.SocialRelationModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portlet.social.model.SocialRelationModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portlet.social.model.SocialRelationModel
getOriginalCompanyId
public long getOriginalCompanyId()
getCreateDate
public long getCreateDate()
- Specified by:
getCreateDate in interface com.liferay.portlet.social.model.SocialRelationModel
setCreateDate
public void setCreateDate(long createDate)
- Specified by:
setCreateDate in interface com.liferay.portlet.social.model.SocialRelationModel
getUserId1
public long getUserId1()
- Specified by:
getUserId1 in interface com.liferay.portlet.social.model.SocialRelationModel
setUserId1
public void setUserId1(long userId1)
- Specified by:
setUserId1 in interface com.liferay.portlet.social.model.SocialRelationModel
getOriginalUserId1
public long getOriginalUserId1()
getUserId2
public long getUserId2()
- Specified by:
getUserId2 in interface com.liferay.portlet.social.model.SocialRelationModel
setUserId2
public void setUserId2(long userId2)
- Specified by:
setUserId2 in interface com.liferay.portlet.social.model.SocialRelationModel
getOriginalUserId2
public long getOriginalUserId2()
getType
public int getType()
- Specified by:
getType in interface com.liferay.portlet.social.model.SocialRelationModel
setType
public void setType(int type)
- Specified by:
setType in interface com.liferay.portlet.social.model.SocialRelationModel
getOriginalType
public int getOriginalType()
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portlet.social.model.SocialRelation toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>- Specified by:
toEscapedModel in interface com.liferay.portlet.social.model.SocialRelationModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portlet.social.model.SocialRelationModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.social.model.SocialRelationModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>- Specified by:
clone in interface com.liferay.portlet.social.model.SocialRelationModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>
compareTo
public int compareTo(com.liferay.portlet.social.model.SocialRelation socialRelation)
- Specified by:
compareTo in interface com.liferay.portlet.social.model.SocialRelationModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.social.model.SocialRelation>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portlet.social.model.SocialRelationModel- Overrides:
hashCode in class java.lang.Object
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portlet.social.model.SocialRelation> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>- Specified by:
toCacheModel in interface com.liferay.portlet.social.model.SocialRelationModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.social.model.SocialRelation>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portlet.social.model.SocialRelationModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.social.model.SocialRelation>- Specified by:
toXmlString in interface com.liferay.portlet.social.model.SocialRelationModel