Liferay 6.1.2-ce-ga3

com.liferay.portlet.blogs.model
Class BlogsStatsUserWrapper

java.lang.Object
  extended by com.liferay.portlet.blogs.model.BlogsStatsUserWrapper
All Implemented Interfaces:
BaseModel<BlogsStatsUser>, ClassedModel, ModelWrapper<BlogsStatsUser>, PersistedModel, BlogsStatsUser, BlogsStatsUserModel, Serializable, Cloneable, Comparable<BlogsStatsUser>

public class BlogsStatsUserWrapper
extends Object
implements BlogsStatsUser, ModelWrapper<BlogsStatsUser>

This class is a wrapper for BlogsStatsUser.

See Also:
BlogsStatsUser, Serialized Form

Constructor Summary
BlogsStatsUserWrapper(BlogsStatsUser blogsStatsUser)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(BlogsStatsUser blogsStatsUser)
           
 boolean equals(Object obj)
           
 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 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.
 BlogsStatsUser getWrappedBlogsStatsUser()
          Deprecated. Renamed to getWrappedModel()
 BlogsStatsUser getWrappedModel()
           
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 void persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 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 setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 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 java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlogsStatsUserWrapper

public BlogsStatsUserWrapper(BlogsStatsUser blogsStatsUser)
Method Detail

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>

setModelAttributes

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

getPrimaryKey

public long getPrimaryKey()
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)
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

getStatsUserId

public long getStatsUserId()
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)
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
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)
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()
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)
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

getCompanyId

public long getCompanyId()
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)
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()
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)
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
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)
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

getEntryCount

public int getEntryCount()
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)
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()
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)
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()
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)
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()
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)
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()
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)
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

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<BlogsStatsUser>
Specified by:
isNew in interface BlogsStatsUserModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<BlogsStatsUser>
Specified by:
setNew in interface BlogsStatsUserModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<BlogsStatsUser>
Specified by:
isCachedModel in interface BlogsStatsUserModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<BlogsStatsUser>
Specified by:
setCachedModel in interface BlogsStatsUserModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<BlogsStatsUser>
Specified by:
isEscapedModel in interface BlogsStatsUserModel
Returns:
true if this model instance is escaped; false otherwise

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

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
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
Parameters:
serviceContext - the service context
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
Overrides:
clone in class Object
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>

hashCode

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

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
Returns:
the cache model object

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
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

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

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

equals

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

getWrappedBlogsStatsUser

public BlogsStatsUser getWrappedBlogsStatsUser()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

public BlogsStatsUser getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<BlogsStatsUser>

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<BlogsStatsUser>

Liferay 6.1.2-ce-ga3