Liferay 6.0.5

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>, BlogsStatsUserModel, Serializable, Cloneable, Comparable<BlogsStatsUser>
Direct Known Subclasses:
BlogsStatsUserImpl

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.

Never modify or reference this class directly. All methods that expect a blogs stats user model instance should use the BlogsStatsUser interface instead.

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

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
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
           
 
Constructor Summary
BlogsStatsUserModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(BlogsStatsUser blogsStatsUser)
           
 boolean equals(Object obj)
           
 long getCompanyId()
          Gets the company id of this blogs stats user.
 int getEntryCount()
          Gets the entry count of this blogs stats user.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
          Gets the group id of this blogs stats user.
 Date getLastPostDate()
          Gets the last post date of this blogs stats user.
 long getOriginalGroupId()
           
 long getOriginalUserId()
           
 long getPrimaryKey()
          Gets the primary key of this blogs stats user.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 double getRatingsAverageScore()
          Gets the ratings average score of this blogs stats user.
 int getRatingsTotalEntries()
          Gets the ratings total entries of this blogs stats user.
 double getRatingsTotalScore()
          Gets the ratings total score of this blogs stats user.
 long getStatsUserId()
          Gets the stats user id of this blogs stats user.
 String getStatsUserUuid()
          Gets the stats user uuid of this blogs stats user.
 long getUserId()
          Gets the user id of this blogs stats user.
 String getUserUuid()
          Gets the user uuid of this blogs stats user.
 int hashCode()
           
 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 setPrimaryKey(long pk)
          Sets the primary key of this blogs stats user
 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.
 BlogsStatsUser toEscapedModel()
          Gets a copy of this blogs stats user as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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, setEscapedModel, 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

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
Gets 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 pk)
Description copied from interface: BlogsStatsUserModel
Sets the primary key of this blogs stats user

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

getPrimaryKeyObj

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

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

getStatsUserId

public long getStatsUserId()
Description copied from interface: BlogsStatsUserModel
Gets 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
Gets 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
Gets 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
Gets 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

getUserId

public long getUserId()
Description copied from interface: BlogsStatsUserModel
Gets 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
Gets 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
Gets 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

getLastPostDate

public Date getLastPostDate()
Description copied from interface: BlogsStatsUserModel
Gets 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

getRatingsTotalEntries

public int getRatingsTotalEntries()
Description copied from interface: BlogsStatsUserModel
Gets 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
Gets 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
Gets 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

toEscapedModel

public BlogsStatsUser toEscapedModel()
Description copied from interface: BlogsStatsUserModel
Gets a copy of this blogs stats user as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BlogsStatsUserModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<BlogsStatsUser>
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 to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

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

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets 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.0.5