com.liferay.portlet.blogs.model.impl
Class BlogsStatsUserModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.blogs.model.BlogsStatsUser>
      extended by com.liferay.portlet.blogs.model.impl.BlogsStatsUserModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portlet.blogs.model.BlogsStatsUser>, com.liferay.portal.model.ClassedModel, com.liferay.portlet.blogs.model.BlogsStatsUserModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.blogs.model.BlogsStatsUser>
Direct Known Subclasses:
BlogsStatsUserBaseImpl

public class BlogsStatsUserModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.blogs.model.BlogsStatsUser>
implements com.liferay.portlet.blogs.model.BlogsStatsUserModel

The base model implementation for the BlogsStatsUser service. Represents a row in the "BlogsStatsUser" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface BlogsStatsUserModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in BlogsStatsUserImpl.

Author:
Brian Wing Shun Chan
See Also:
BlogsStatsUserImpl, BlogsStatsUser, BlogsStatsUserModel, Serialized Form
Generated:

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static java.lang.String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static long ENTRYCOUNT_COLUMN_BITMASK
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LASTPOSTDATE_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static java.lang.String ORDER_BY_JPQL
           
static java.lang.String ORDER_BY_SQL
           
static java.lang.String SESSION_FACTORY
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static java.lang.String TX_MANAGER
           
static long USERID_COLUMN_BITMASK
           
 
Constructor Summary
BlogsStatsUserModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
           
 boolean equals(java.lang.Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
           
 int getEntryCount()
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 long getGroupId()
           
 java.util.Date getLastPostDate()
           
 java.lang.Class<?> getModelClass()
           
 java.lang.String getModelClassName()
           
 long getOriginalCompanyId()
           
 int getOriginalEntryCount()
           
 long getOriginalGroupId()
           
 java.util.Date getOriginalLastPostDate()
           
 long getOriginalUserId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 double getRatingsAverageScore()
           
 int getRatingsTotalEntries()
           
 double getRatingsTotalScore()
           
 long getStatsUserId()
           
 java.lang.String getStatsUserUuid()
           
 long getUserId()
           
 java.lang.String getUserUuid()
           
 int hashCode()
           
 void resetOriginalValues()
           
 void setCompanyId(long companyId)
           
 void setEntryCount(int entryCount)
           
 void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
           
 void setGroupId(long groupId)
           
 void setLastPostDate(java.util.Date lastPostDate)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
           
 void setRatingsAverageScore(double ratingsAverageScore)
           
 void setRatingsTotalEntries(int ratingsTotalEntries)
           
 void setRatingsTotalScore(double ratingsTotalScore)
           
 void setStatsUserId(long statsUserId)
           
 void setStatsUserUuid(java.lang.String statsUserUuid)
           
 void setUserId(long userId)
           
 void setUserUuid(java.lang.String userUuid)
           
 com.liferay.portal.model.CacheModel<com.liferay.portlet.blogs.model.BlogsStatsUser> toCacheModel()
           
 com.liferay.portlet.blogs.model.BlogsStatsUser toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
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.blogs.model.BlogsStatsUserModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

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

ORDER_BY_JPQL

public static final java.lang.String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final java.lang.String ORDER_BY_SQL
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

ENTRYCOUNT_COLUMN_BITMASK

public static long ENTRYCOUNT_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

LASTPOSTDATE_COLUMN_BITMASK

public static long LASTPOSTDATE_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

BlogsStatsUserModelImpl

public BlogsStatsUserModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.blogs.model.BlogsStatsUser>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setPrimaryKeyObj

public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.blogs.model.BlogsStatsUser>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

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

getStatsUserId

public long getStatsUserId()
Specified by:
getStatsUserId in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setStatsUserId

public void setStatsUserId(long statsUserId)
Specified by:
setStatsUserId in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getStatsUserUuid

public java.lang.String getStatsUserUuid()
                                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getStatsUserUuid in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setStatsUserUuid

public void setStatsUserUuid(java.lang.String statsUserUuid)
Specified by:
setStatsUserUuid in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

public long getUserId()
Specified by:
getUserId in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getUserUuid in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getOriginalUserId

public long getOriginalUserId()

getEntryCount

public int getEntryCount()
Specified by:
getEntryCount in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setEntryCount

public void setEntryCount(int entryCount)
Specified by:
setEntryCount in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getOriginalEntryCount

public int getOriginalEntryCount()

getLastPostDate

public java.util.Date getLastPostDate()
Specified by:
getLastPostDate in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setLastPostDate

public void setLastPostDate(java.util.Date lastPostDate)
Specified by:
setLastPostDate in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getOriginalLastPostDate

public java.util.Date getOriginalLastPostDate()

getRatingsTotalEntries

public int getRatingsTotalEntries()
Specified by:
getRatingsTotalEntries in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setRatingsTotalEntries

public void setRatingsTotalEntries(int ratingsTotalEntries)
Specified by:
setRatingsTotalEntries in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getRatingsTotalScore

public double getRatingsTotalScore()
Specified by:
getRatingsTotalScore in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setRatingsTotalScore

public void setRatingsTotalScore(double ratingsTotalScore)
Specified by:
setRatingsTotalScore in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getRatingsAverageScore

public double getRatingsAverageScore()
Specified by:
getRatingsAverageScore in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

setRatingsAverageScore

public void setRatingsAverageScore(double ratingsAverageScore)
Specified by:
setRatingsAverageScore in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel

getColumnBitmask

public long getColumnBitmask()

toEscapedModel

public com.liferay.portlet.blogs.model.BlogsStatsUser toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.blogs.model.BlogsStatsUser>
Specified by:
toEscapedModel in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel
Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.blogs.model.BlogsStatsUser>

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.blogs.model.BlogsStatsUser>
Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel
Specified by:
getExpandoBridge in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel
Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.blogs.model.BlogsStatsUser>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.blogs.model.BlogsStatsUser>
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.blogs.model.BlogsStatsUser>

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.blogs.model.BlogsStatsUser>
Specified by:
clone in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.blogs.model.BlogsStatsUser>

compareTo

public int compareTo(com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
Specified by:
compareTo in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel
Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.blogs.model.BlogsStatsUser>

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.blogs.model.BlogsStatsUserModel
Overrides:
hashCode in class java.lang.Object

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.blogs.model.BlogsStatsUser>
Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.blogs.model.BlogsStatsUser>

toCacheModel

public com.liferay.portal.model.CacheModel<com.liferay.portlet.blogs.model.BlogsStatsUser> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.blogs.model.BlogsStatsUser>
Specified by:
toCacheModel in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel
Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.blogs.model.BlogsStatsUser>

toString

public java.lang.String toString()
Specified by:
toString in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel
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.blogs.model.BlogsStatsUser>
Specified by:
toXmlString in interface com.liferay.portlet.blogs.model.BlogsStatsUserModel