com.liferay.portlet.social.model.impl
Class SocialRequestModelImpl
java.lang.Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRequest>
com.liferay.portlet.social.model.impl.SocialRequestModelImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, com.liferay.social.kernel.model.SocialRequestModel, Serializable, Cloneable, Comparable<com.liferay.social.kernel.model.SocialRequest>
- Direct Known Subclasses:
- SocialRequestBaseImpl
@JSON(strict=true)
@ProviderType
public class SocialRequestModelImpl
- extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRequest>
- implements com.liferay.social.kernel.model.SocialRequestModel
The base model implementation for the SocialRequest service. Represents a row in the "SocialRequest" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface SocialRequestModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialRequestImpl
.
- See Also:
SocialRequestImpl
,
SocialRequest
,
SocialRequestModel
,
Serialized Form- {$generated.description}
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
Methods inherited from interface com.liferay.social.kernel.model.SocialRequestModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_COLUMNS_MAP
public static final Map<String,Integer> TABLE_COLUMNS_MAP
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final 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
CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSNAMEID_COLUMN_BITMASK
- See Also:
- Constant Field Values
CLASSPK_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
- See Also:
- Constant Field Values
COMPANYID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
- See Also:
- Constant Field Values
GROUPID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
- See Also:
- Constant Field Values
RECEIVERUSERID_COLUMN_BITMASK
public static final long RECEIVERUSERID_COLUMN_BITMASK
- See Also:
- Constant Field Values
STATUS_COLUMN_BITMASK
public static final long STATUS_COLUMN_BITMASK
- See Also:
- Constant Field Values
TYPE_COLUMN_BITMASK
public static final long TYPE_COLUMN_BITMASK
- See Also:
- Constant Field Values
USERID_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
- See Also:
- Constant Field Values
UUID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
- See Also:
- Constant Field Values
REQUESTID_COLUMN_BITMASK
public static final long REQUESTID_COLUMN_BITMASK
- See Also:
- Constant Field Values
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
SocialRequestModelImpl
public SocialRequestModelImpl()
toModel
public static com.liferay.social.kernel.model.SocialRequest toModel(com.liferay.social.kernel.model.SocialRequestSoap soapModel)
- Converts the soap model instance into a normal model instance.
- Parameters:
soapModel
- the soap model instance to convert
- Returns:
- the normal model instance
toModels
public static List<com.liferay.social.kernel.model.SocialRequest> toModels(com.liferay.social.kernel.model.SocialRequestSoap[] soapModels)
- Converts the soap model instances into normal model instances.
- Parameters:
soapModels
- the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface com.liferay.social.kernel.model.SocialRequestModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey
in interface com.liferay.social.kernel.model.SocialRequestModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Specified by:
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
- Specified by:
getPrimaryKeyObj
in interface com.liferay.social.kernel.model.SocialRequestModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Specified by:
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
- Specified by:
setPrimaryKeyObj
in interface com.liferay.social.kernel.model.SocialRequestModel
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
getModelAttributes
public Map<String,Object> getModelAttributes()
- Specified by:
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Overrides:
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRequest>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Overrides:
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRequest>
getUuid
@JSON
public String getUuid()
- Specified by:
getUuid
in interface com.liferay.social.kernel.model.SocialRequestModel
setUuid
public void setUuid(String uuid)
- Specified by:
setUuid
in interface com.liferay.social.kernel.model.SocialRequestModel
getOriginalUuid
public String getOriginalUuid()
getRequestId
@JSON
public long getRequestId()
- Specified by:
getRequestId
in interface com.liferay.social.kernel.model.SocialRequestModel
setRequestId
public void setRequestId(long requestId)
- Specified by:
setRequestId
in interface com.liferay.social.kernel.model.SocialRequestModel
getGroupId
@JSON
public long getGroupId()
- Specified by:
getGroupId
in interface com.liferay.social.kernel.model.SocialRequestModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId
in interface com.liferay.social.kernel.model.SocialRequestModel
getOriginalGroupId
public long getOriginalGroupId()
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interface com.liferay.social.kernel.model.SocialRequestModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interface com.liferay.social.kernel.model.SocialRequestModel
getOriginalCompanyId
public long getOriginalCompanyId()
getUserId
@JSON
public long getUserId()
- Specified by:
getUserId
in interface com.liferay.social.kernel.model.SocialRequestModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId
in interface com.liferay.social.kernel.model.SocialRequestModel
getUserUuid
public String getUserUuid()
- Specified by:
getUserUuid
in interface com.liferay.social.kernel.model.SocialRequestModel
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid
in interface com.liferay.social.kernel.model.SocialRequestModel
getOriginalUserId
public long getOriginalUserId()
getCreateDate
@JSON
public long getCreateDate()
- Specified by:
getCreateDate
in interface com.liferay.social.kernel.model.SocialRequestModel
setCreateDate
public void setCreateDate(long createDate)
- Specified by:
setCreateDate
in interface com.liferay.social.kernel.model.SocialRequestModel
getModifiedDate
@JSON
public long getModifiedDate()
- Specified by:
getModifiedDate
in interface com.liferay.social.kernel.model.SocialRequestModel
setModifiedDate
public void setModifiedDate(long modifiedDate)
- Specified by:
setModifiedDate
in interface com.liferay.social.kernel.model.SocialRequestModel
getClassName
public String getClassName()
- Specified by:
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
- Specified by:
getClassName
in interface com.liferay.social.kernel.model.SocialRequestModel
setClassName
public void setClassName(String className)
- Specified by:
setClassName
in interface com.liferay.social.kernel.model.SocialRequestModel
getClassNameId
@JSON
public long getClassNameId()
- Specified by:
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
- Specified by:
getClassNameId
in interface com.liferay.social.kernel.model.SocialRequestModel
setClassNameId
public void setClassNameId(long classNameId)
- Specified by:
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
- Specified by:
setClassNameId
in interface com.liferay.social.kernel.model.SocialRequestModel
getOriginalClassNameId
public long getOriginalClassNameId()
getClassPK
@JSON
public long getClassPK()
- Specified by:
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interface com.liferay.social.kernel.model.SocialRequestModel
setClassPK
public void setClassPK(long classPK)
- Specified by:
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interface com.liferay.social.kernel.model.SocialRequestModel
getOriginalClassPK
public long getOriginalClassPK()
getType
@JSON
public int getType()
- Specified by:
getType
in interface com.liferay.social.kernel.model.SocialRequestModel
setType
public void setType(int type)
- Specified by:
setType
in interface com.liferay.social.kernel.model.SocialRequestModel
getOriginalType
public int getOriginalType()
getExtraData
@JSON
public String getExtraData()
- Specified by:
getExtraData
in interface com.liferay.social.kernel.model.SocialRequestModel
setExtraData
public void setExtraData(String extraData)
- Specified by:
setExtraData
in interface com.liferay.social.kernel.model.SocialRequestModel
getReceiverUserId
@JSON
public long getReceiverUserId()
- Specified by:
getReceiverUserId
in interface com.liferay.social.kernel.model.SocialRequestModel
setReceiverUserId
public void setReceiverUserId(long receiverUserId)
- Specified by:
setReceiverUserId
in interface com.liferay.social.kernel.model.SocialRequestModel
getReceiverUserUuid
public String getReceiverUserUuid()
- Specified by:
getReceiverUserUuid
in interface com.liferay.social.kernel.model.SocialRequestModel
setReceiverUserUuid
public void setReceiverUserUuid(String receiverUserUuid)
- Specified by:
setReceiverUserUuid
in interface com.liferay.social.kernel.model.SocialRequestModel
getOriginalReceiverUserId
public long getOriginalReceiverUserId()
getStatus
@JSON
public int getStatus()
- Specified by:
getStatus
in interface com.liferay.social.kernel.model.SocialRequestModel
setStatus
public void setStatus(int status)
- Specified by:
setStatus
in interface com.liferay.social.kernel.model.SocialRequestModel
getOriginalStatus
public int getOriginalStatus()
getColumnBitmask
public long getColumnBitmask()
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Specified by:
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
- Specified by:
getExpandoBridge
in interface com.liferay.social.kernel.model.SocialRequestModel
- Overrides:
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRequest>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Specified by:
setExpandoBridgeAttributes
in interface com.liferay.social.kernel.model.SocialRequestModel
- Overrides:
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRequest>
toEscapedModel
public com.liferay.social.kernel.model.SocialRequest toEscapedModel()
- Specified by:
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Specified by:
toEscapedModel
in interface com.liferay.social.kernel.model.SocialRequestModel
- Overrides:
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRequest>
clone
public Object clone()
- Specified by:
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Specified by:
clone
in interface com.liferay.social.kernel.model.SocialRequestModel
- Specified by:
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRequest>
compareTo
public int compareTo(com.liferay.social.kernel.model.SocialRequest socialRequest)
- Specified by:
compareTo
in interface com.liferay.social.kernel.model.SocialRequestModel
- Specified by:
compareTo
in interface Comparable<com.liferay.social.kernel.model.SocialRequest>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface com.liferay.social.kernel.model.SocialRequestModel
- Overrides:
hashCode
in class Object
isEntityCacheEnabled
public boolean isEntityCacheEnabled()
- Specified by:
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Overrides:
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRequest>
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialRequest> toCacheModel()
- Specified by:
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Specified by:
toCacheModel
in interface com.liferay.social.kernel.model.SocialRequestModel
- Overrides:
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialRequest>
toString
public String toString()
- Specified by:
toString
in interface com.liferay.social.kernel.model.SocialRequestModel
- Overrides:
toString
in class Object
toXmlString
public String toXmlString()
- Specified by:
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialRequest>
- Specified by:
toXmlString
in interface com.liferay.social.kernel.model.SocialRequestModel