Liferay 6.1.2-ce-ga3

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

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

public class BlogsStatsUserModelImpl
extends BaseModelImpl<BlogsStatsUser>
implements 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.

See Also:
BlogsStatsUserImpl, BlogsStatsUser, BlogsStatsUserModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static 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 String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long USERID_COLUMN_BITMASK
           
 
Constructor Summary
BlogsStatsUserModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(BlogsStatsUser blogsStatsUser)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this blogs stats user.
 int getEntryCount()
          Returns the entry count of this blogs stats user.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this blogs stats user.
 Date getLastPostDate()
          Returns the last post date of this blogs stats user.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getOriginalCompanyId()
           
 int getOriginalEntryCount()
           
 long getOriginalGroupId()
           
 Date getOriginalLastPostDate()
           
 long getOriginalUserId()
           
 long getPrimaryKey()
          Returns the primary key of this blogs stats user.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 double getRatingsAverageScore()
          Returns the ratings average score of this blogs stats user.
 int getRatingsTotalEntries()
          Returns the ratings total entries of this blogs stats user.
 double getRatingsTotalScore()
          Returns the ratings total score of this blogs stats user.
 long getStatsUserId()
          Returns the stats user ID of this blogs stats user.
 String getStatsUserUuid()
          Returns the stats user uuid of this blogs stats user.
 long getUserId()
          Returns the user ID of this blogs stats user.
 String getUserUuid()
          Returns the user uuid of this blogs stats user.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCompanyId(long companyId)
          Sets the company ID of this blogs stats user.
 void setEntryCount(int entryCount)
          Sets the entry count of this blogs stats user.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group ID of this blogs stats user.
 void setLastPostDate(Date lastPostDate)
          Sets the last post date of this blogs stats user.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this blogs stats user.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setRatingsAverageScore(double ratingsAverageScore)
          Sets the ratings average score of this blogs stats user.
 void setRatingsTotalEntries(int ratingsTotalEntries)
          Sets the ratings total entries of this blogs stats user.
 void setRatingsTotalScore(double ratingsTotalScore)
          Sets the ratings total score of this blogs stats user.
 void setStatsUserId(long statsUserId)
          Sets the stats user ID of this blogs stats user.
 void setStatsUserUuid(String statsUserUuid)
          Sets the stats user uuid of this blogs stats user.
 void setUserId(long userId)
          Sets the user ID of this blogs stats user.
 void setUserUuid(String userUuid)
          Sets the user uuid of this blogs stats user.
 CacheModel<BlogsStatsUser> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 BlogsStatsUser toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 BlogsStatsUser toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
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 String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

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

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()
Description copied from interface: BlogsStatsUserModel
Returns the primary key of this blogs stats user.

Specified by:
getPrimaryKey in interface BlogsStatsUserModel
Returns:
the primary key of this blogs stats user

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: BlogsStatsUserModel
Sets the primary key of this blogs stats user.

Specified by:
setPrimaryKey in interface BlogsStatsUserModel
Parameters:
primaryKey - the primary key of this blogs stats user

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<BlogsStatsUser>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface BlogsStatsUserModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<BlogsStatsUser>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface BlogsStatsUserModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<BlogsStatsUser>
Overrides:
getModelAttributes in class BaseModelImpl<BlogsStatsUser>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<BlogsStatsUser>
Overrides:
setModelAttributes in class BaseModelImpl<BlogsStatsUser>

getStatsUserId

public long getStatsUserId()
Description copied from interface: BlogsStatsUserModel
Returns the stats user ID of this blogs stats user.

Specified by:
getStatsUserId in interface BlogsStatsUserModel
Returns:
the stats user ID of this blogs stats user

setStatsUserId

public void setStatsUserId(long statsUserId)
Description copied from interface: BlogsStatsUserModel
Sets the stats user ID of this blogs stats user.

Specified by:
setStatsUserId in interface BlogsStatsUserModel
Parameters:
statsUserId - the stats user ID of this blogs stats user

getStatsUserUuid

public String getStatsUserUuid()
                        throws SystemException
Description copied from interface: BlogsStatsUserModel
Returns the stats user uuid of this blogs stats user.

Specified by:
getStatsUserUuid in interface BlogsStatsUserModel
Returns:
the stats user uuid of this blogs stats user
Throws:
SystemException - if a system exception occurred

setStatsUserUuid

public void setStatsUserUuid(String statsUserUuid)
Description copied from interface: BlogsStatsUserModel
Sets the stats user uuid of this blogs stats user.

Specified by:
setStatsUserUuid in interface BlogsStatsUserModel
Parameters:
statsUserUuid - the stats user uuid of this blogs stats user

getGroupId

public long getGroupId()
Description copied from interface: BlogsStatsUserModel
Returns the group ID of this blogs stats user.

Specified by:
getGroupId in interface BlogsStatsUserModel
Returns:
the group ID of this blogs stats user

setGroupId

public void setGroupId(long groupId)
Description copied from interface: BlogsStatsUserModel
Sets the group ID of this blogs stats user.

Specified by:
setGroupId in interface BlogsStatsUserModel
Parameters:
groupId - the group ID of this blogs stats user

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: BlogsStatsUserModel
Returns the company ID of this blogs stats user.

Specified by:
getCompanyId in interface BlogsStatsUserModel
Returns:
the company ID of this blogs stats user

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: BlogsStatsUserModel
Sets the company ID of this blogs stats user.

Specified by:
setCompanyId in interface BlogsStatsUserModel
Parameters:
companyId - the company ID of this blogs stats user

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

public long getUserId()
Description copied from interface: BlogsStatsUserModel
Returns the user ID of this blogs stats user.

Specified by:
getUserId in interface BlogsStatsUserModel
Returns:
the user ID of this blogs stats user

setUserId

public void setUserId(long userId)
Description copied from interface: BlogsStatsUserModel
Sets the user ID of this blogs stats user.

Specified by:
setUserId in interface BlogsStatsUserModel
Parameters:
userId - the user ID of this blogs stats user

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: BlogsStatsUserModel
Returns the user uuid of this blogs stats user.

Specified by:
getUserUuid in interface BlogsStatsUserModel
Returns:
the user uuid of this blogs stats user
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: BlogsStatsUserModel
Sets the user uuid of this blogs stats user.

Specified by:
setUserUuid in interface BlogsStatsUserModel
Parameters:
userUuid - the user uuid of this blogs stats user

getOriginalUserId

public long getOriginalUserId()

getEntryCount

public int getEntryCount()
Description copied from interface: BlogsStatsUserModel
Returns the entry count of this blogs stats user.

Specified by:
getEntryCount in interface BlogsStatsUserModel
Returns:
the entry count of this blogs stats user

setEntryCount

public void setEntryCount(int entryCount)
Description copied from interface: BlogsStatsUserModel
Sets the entry count of this blogs stats user.

Specified by:
setEntryCount in interface BlogsStatsUserModel
Parameters:
entryCount - the entry count of this blogs stats user

getOriginalEntryCount

public int getOriginalEntryCount()

getLastPostDate

public Date getLastPostDate()
Description copied from interface: BlogsStatsUserModel
Returns the last post date of this blogs stats user.

Specified by:
getLastPostDate in interface BlogsStatsUserModel
Returns:
the last post date of this blogs stats user

setLastPostDate

public void setLastPostDate(Date lastPostDate)
Description copied from interface: BlogsStatsUserModel
Sets the last post date of this blogs stats user.

Specified by:
setLastPostDate in interface BlogsStatsUserModel
Parameters:
lastPostDate - the last post date of this blogs stats user

getOriginalLastPostDate

public Date getOriginalLastPostDate()

getRatingsTotalEntries

public int getRatingsTotalEntries()
Description copied from interface: BlogsStatsUserModel
Returns the ratings total entries of this blogs stats user.

Specified by:
getRatingsTotalEntries in interface BlogsStatsUserModel
Returns:
the ratings total entries of this blogs stats user

setRatingsTotalEntries

public void setRatingsTotalEntries(int ratingsTotalEntries)
Description copied from interface: BlogsStatsUserModel
Sets the ratings total entries of this blogs stats user.

Specified by:
setRatingsTotalEntries in interface BlogsStatsUserModel
Parameters:
ratingsTotalEntries - the ratings total entries of this blogs stats user

getRatingsTotalScore

public double getRatingsTotalScore()
Description copied from interface: BlogsStatsUserModel
Returns the ratings total score of this blogs stats user.

Specified by:
getRatingsTotalScore in interface BlogsStatsUserModel
Returns:
the ratings total score of this blogs stats user

setRatingsTotalScore

public void setRatingsTotalScore(double ratingsTotalScore)
Description copied from interface: BlogsStatsUserModel
Sets the ratings total score of this blogs stats user.

Specified by:
setRatingsTotalScore in interface BlogsStatsUserModel
Parameters:
ratingsTotalScore - the ratings total score of this blogs stats user

getRatingsAverageScore

public double getRatingsAverageScore()
Description copied from interface: BlogsStatsUserModel
Returns the ratings average score of this blogs stats user.

Specified by:
getRatingsAverageScore in interface BlogsStatsUserModel
Returns:
the ratings average score of this blogs stats user

setRatingsAverageScore

public void setRatingsAverageScore(double ratingsAverageScore)
Description copied from interface: BlogsStatsUserModel
Sets the ratings average score of this blogs stats user.

Specified by:
setRatingsAverageScore in interface BlogsStatsUserModel
Parameters:
ratingsAverageScore - the ratings average score of this blogs stats user

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<BlogsStatsUser>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface BlogsStatsUserModel
Overrides:
getExpandoBridge in class BaseModelImpl<BlogsStatsUser>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<BlogsStatsUser>
Specified by:
setExpandoBridgeAttributes in interface BlogsStatsUserModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<BlogsStatsUser>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public BlogsStatsUser toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<BlogsStatsUser>
Specified by:
toEscapedModel in interface BlogsStatsUserModel
Overrides:
toEscapedModel in class BaseModelImpl<BlogsStatsUser>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public BlogsStatsUser toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<BlogsStatsUser>
Specified by:
toUnescapedModel in interface BlogsStatsUserModel
Overrides:
toUnescapedModel in class BaseModelImpl<BlogsStatsUser>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<BlogsStatsUser>
Specified by:
clone in interface BlogsStatsUserModel
Specified by:
clone in class BaseModelImpl<BlogsStatsUser>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(BlogsStatsUser blogsStatsUser)
Specified by:
compareTo in interface BlogsStatsUserModel
Specified by:
compareTo in interface Comparable<BlogsStatsUser>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface BlogsStatsUserModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<BlogsStatsUser>
Overrides:
resetOriginalValues in class BaseModelImpl<BlogsStatsUser>

toCacheModel

public CacheModel<BlogsStatsUser> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<BlogsStatsUser>
Specified by:
toCacheModel in interface BlogsStatsUserModel
Overrides:
toCacheModel in class BaseModelImpl<BlogsStatsUser>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface BlogsStatsUserModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<BlogsStatsUser>
Specified by:
toXmlString in interface BlogsStatsUserModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3