Class SocialRelationModelImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
com.liferay.portlet.social.model.impl.SocialRelationModelImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.ShardedModel,com.liferay.social.kernel.model.SocialRelationModel,Serializable,Cloneable,Comparable<com.liferay.social.kernel.model.SocialRelation>
- Direct Known Subclasses:
SocialRelationBaseImpl
public class SocialRelationModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
implements com.liferay.social.kernel.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:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDeprecated.As of Athanasius (7.3.x), with no direct replacementstatic final longDeprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)static final Stringstatic final booleanDeprecated.As of Athanasius (7.3.x), with no direct replacementstatic final booleanDeprecated.As of Athanasius (7.3.x), with no direct replacementstatic final longstatic final Stringstatic final Stringstatic final longDeprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)static final Stringstatic final Object[][]static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final longDeprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)static final longDeprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)static final longDeprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)static final longDeprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()com.liferay.social.kernel.model.SocialRelationintcompareTo(com.liferay.social.kernel.model.SocialRelation socialRelation) booleanMap<String,BiConsumer<com.liferay.social.kernel.model.SocialRelation, Object>> longstatic longgetColumnBitmask(String columnName) <T> TgetColumnOriginalValue(String columnName) <T> TgetColumnValue(String columnName) longlonglongcom.liferay.expando.kernel.model.ExpandoBridgeClass<?>longlongDeprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)intDeprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)longDeprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)longDeprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)longlongintgetType()longlonggetUuid()inthashCode()booleanDeprecated.As of Athanasius (7.3.x), with no direct replacementbooleanDeprecated.As of Athanasius (7.3.x), with no direct replacementvoidvoidsetCompanyId(long companyId) voidsetCreateDate(long createDate) voidsetCtCollectionId(long ctCollectionId) voidsetExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) voidsetPrimaryKey(long primaryKey) voidsetPrimaryKeyObj(Serializable primaryKeyObj) voidsetRelationId(long relationId) voidsetType(int type) voidsetUserId1(long userId1) voidsetUserId2(long userId2) voidcom.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation>com.liferay.social.kernel.model.SocialRelationtoString()Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelMethods inherited from interface com.liferay.social.kernel.model.SocialRelationModel
toXmlString
-
Field Details
-
TABLE_NAME
- See Also:
-
TABLE_COLUMNS
-
TABLE_COLUMNS_MAP
-
TABLE_SQL_CREATE
- See Also:
-
TABLE_SQL_DROP
- See Also:
-
ORDER_BY_JPQL
- See Also:
-
ORDER_BY_SQL
- See Also:
-
DATA_SOURCE
- See Also:
-
SESSION_FACTORY
- See Also:
-
TX_MANAGER
- See Also:
-
ENTITY_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
FINDER_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
COLUMN_BITMASK_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
COMPANYID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)- See Also:
-
TYPE_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)- See Also:
-
USERID1_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)- See Also:
-
USERID2_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)- See Also:
-
UUID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)- See Also:
-
RELATIONID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)- See Also:
-
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
-
-
Constructor Details
-
SocialRelationModelImpl
public SocialRelationModelImpl()
-
-
Method Details
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>- Specified by:
getPrimaryKeyin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) - Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>- Specified by:
setPrimaryKeyin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObjin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Specified by:
getPrimaryKeyObjin interfacecom.liferay.portal.kernel.model.ClassedModel
-
setPrimaryKeyObj
- Specified by:
setPrimaryKeyObjin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Specified by:
setPrimaryKeyObjin interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClassName
- Specified by:
getModelClassNamein interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Overrides:
getModelAttributesin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Overrides:
setModelAttributesin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
getAttributeGetterFunctions
public Map<String,Function<com.liferay.social.kernel.model.SocialRelation, getAttributeGetterFunctions()Object>> - Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
-
getAttributeSetterBiConsumers
public Map<String,BiConsumer<com.liferay.social.kernel.model.SocialRelation, getAttributeSetterBiConsumers()Object>> - Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
-
getMvccVersion
public long getMvccVersion()- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
getMvccVersionin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
setMvccVersionin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getCtCollectionId
public long getCtCollectionId()- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>- Specified by:
getCtCollectionIdin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) - Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialRelation>- Specified by:
setCtCollectionIdin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getUuid
- Specified by:
getUuidin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setUuid
- Specified by:
setUuidin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getOriginalUuid
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String) -
getRelationId
public long getRelationId()- Specified by:
getRelationIdin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setRelationId
public void setRelationId(long relationId) - Specified by:
setRelationIdin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getCompanyId
public long getCompanyId()- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setCompanyId
public void setCompanyId(long companyId) - Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getOriginalCompanyId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String) -
getCreateDate
public long getCreateDate()- Specified by:
getCreateDatein interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setCreateDate
public void setCreateDate(long createDate) - Specified by:
setCreateDatein interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getUserId1
public long getUserId1()- Specified by:
getUserId1in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setUserId1
public void setUserId1(long userId1) - Specified by:
setUserId1in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getOriginalUserId1
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String) -
getUserId2
public long getUserId2()- Specified by:
getUserId2in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setUserId2
public void setUserId2(long userId2) - Specified by:
setUserId2in interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getOriginalUserId2
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String) -
getType
public int getType()- Specified by:
getTypein interfacecom.liferay.social.kernel.model.SocialRelationModel
-
setType
public void setType(int type) - Specified by:
setTypein interfacecom.liferay.social.kernel.model.SocialRelationModel
-
getOriginalType
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String) -
getColumnBitmask
public long getColumnBitmask() -
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()- Specified by:
getExpandoBridgein interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Specified by:
getExpandoBridgein interfacecom.liferay.portal.kernel.model.ClassedModel- Overrides:
getExpandoBridgein classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
setExpandoBridgeAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Overrides:
setExpandoBridgeAttributesin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
toEscapedModel
public com.liferay.social.kernel.model.SocialRelation toEscapedModel()- Specified by:
toEscapedModelin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Overrides:
toEscapedModelin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
clone
- Specified by:
clonein interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Specified by:
clonein classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
cloneWithOriginalValues
public com.liferay.social.kernel.model.SocialRelation cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.social.kernel.model.SocialRelationModel
-
compareTo
public int compareTo(com.liferay.social.kernel.model.SocialRelation socialRelation) - Specified by:
compareToin interfaceComparable<com.liferay.social.kernel.model.SocialRelation>
-
equals
-
hashCode
public int hashCode() -
isEntityCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isEntityCacheEnabledin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
-
isFinderCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isFinderCacheEnabledin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>
-
resetOriginalValues
public void resetOriginalValues()- Specified by:
resetOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Overrides:
resetOriginalValuesin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRelation> toCacheModel()- Specified by:
toCacheModelin interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRelation>- Overrides:
toCacheModelin classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRelation>
-
toString
-
getColumnValue
-
getColumnOriginalValue
-
getColumnBitmask
-