|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.messageboards.model.MBStatsUserWrapper
public class MBStatsUserWrapper
This class is a wrapper for MBStatsUser
.
MBStatsUser
,
Serialized FormConstructor Summary | |
---|---|
MBStatsUserWrapper(MBStatsUser mbStatsUser)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBStatsUser mbStatsUser)
|
boolean |
equals(Object obj)
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this message boards stats user. |
Date |
getLastPostDate()
Returns the last post date of this message boards stats user. |
int |
getMessageCount()
Returns the message count of this message boards stats user. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Returns the primary key of this message boards stats user. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getStatsUserId()
Returns the stats user ID of this message boards stats user. |
String |
getStatsUserUuid()
Returns the stats user uuid of this message boards stats user. |
long |
getUserId()
Returns the user ID of this message boards stats user. |
String |
getUserUuid()
Returns the user uuid of this message boards stats user. |
MBStatsUser |
getWrappedMBStatsUser()
Deprecated. Renamed to getWrappedModel() |
MBStatsUser |
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 |
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 message boards stats user. |
void |
setLastPostDate(Date lastPostDate)
Sets the last post date of this message boards stats user. |
void |
setMessageCount(int messageCount)
Sets the message count of this message boards 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 message boards stats user. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStatsUserId(long statsUserId)
Sets the stats user ID of this message boards stats user. |
void |
setStatsUserUuid(String statsUserUuid)
Sets the stats user uuid of this message boards stats user. |
void |
setUserId(long userId)
Sets the user ID of this message boards stats user. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this message boards stats user. |
CacheModel<MBStatsUser> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
MBStatsUser |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
MBStatsUser |
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 |
---|
public MBStatsUserWrapper(MBStatsUser mbStatsUser)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<MBStatsUser>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<MBStatsUser>
public long getPrimaryKey()
getPrimaryKey
in interface MBStatsUserModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface MBStatsUserModel
primaryKey
- the primary key of this message boards stats userpublic long getStatsUserId()
getStatsUserId
in interface MBStatsUserModel
public void setStatsUserId(long statsUserId)
setStatsUserId
in interface MBStatsUserModel
statsUserId
- the stats user ID of this message boards stats userpublic String getStatsUserUuid() throws SystemException
getStatsUserUuid
in interface MBStatsUserModel
SystemException
- if a system exception occurredpublic void setStatsUserUuid(String statsUserUuid)
setStatsUserUuid
in interface MBStatsUserModel
statsUserUuid
- the stats user uuid of this message boards stats userpublic long getGroupId()
getGroupId
in interface MBStatsUserModel
public void setGroupId(long groupId)
setGroupId
in interface MBStatsUserModel
groupId
- the group ID of this message boards stats userpublic long getUserId()
getUserId
in interface MBStatsUserModel
public void setUserId(long userId)
setUserId
in interface MBStatsUserModel
userId
- the user ID of this message boards stats userpublic String getUserUuid() throws SystemException
getUserUuid
in interface MBStatsUserModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface MBStatsUserModel
userUuid
- the user uuid of this message boards stats userpublic int getMessageCount()
getMessageCount
in interface MBStatsUserModel
public void setMessageCount(int messageCount)
setMessageCount
in interface MBStatsUserModel
messageCount
- the message count of this message boards stats userpublic Date getLastPostDate()
getLastPostDate
in interface MBStatsUserModel
public void setLastPostDate(Date lastPostDate)
setLastPostDate
in interface MBStatsUserModel
lastPostDate
- the last post date of this message boards stats userpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<MBStatsUser>
isNew
in interface MBStatsUserModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<MBStatsUser>
setNew
in interface MBStatsUserModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<MBStatsUser>
isCachedModel
in interface MBStatsUserModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<MBStatsUser>
setCachedModel
in interface MBStatsUserModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<MBStatsUser>
isEscapedModel
in interface MBStatsUserModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MBStatsUser>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface MBStatsUserModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<MBStatsUser>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface MBStatsUserModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MBStatsUser>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface MBStatsUserModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MBStatsUser>
setExpandoBridgeAttributes
in interface MBStatsUserModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<MBStatsUser>
clone
in interface MBStatsUserModel
clone
in class Object
public int compareTo(MBStatsUser mbStatsUser)
compareTo
in interface MBStatsUserModel
compareTo
in interface Comparable<MBStatsUser>
public int hashCode()
hashCode
in interface MBStatsUserModel
hashCode
in class Object
public CacheModel<MBStatsUser> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<MBStatsUser>
toCacheModel
in interface MBStatsUserModel
public MBStatsUser toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<MBStatsUser>
toEscapedModel
in interface MBStatsUserModel
AutoEscapeBeanHandler
public MBStatsUser toUnescapedModel()
toUnescapedModel
in interface BaseModel<MBStatsUser>
toUnescapedModel
in interface MBStatsUserModel
public String toString()
toString
in interface MBStatsUserModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MBStatsUser>
toXmlString
in interface MBStatsUserModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public MBStatsUser getWrappedMBStatsUser()
getWrappedModel()
public MBStatsUser getWrappedModel()
getWrappedModel
in interface ModelWrapper<MBStatsUser>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<MBStatsUser>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |