|
Liferay 6.0.5 | |||||||||
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)
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this message boards stats user. |
Date |
getLastPostDate()
Gets the last post date of this message boards stats user. |
int |
getMessageCount()
Gets the message count of this message boards stats user. |
long |
getPrimaryKey()
Gets the primary key of this message boards stats user. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getStatsUserId()
Gets the stats user id of this message boards stats user. |
String |
getStatsUserUuid()
Gets the stats user uuid of this message boards stats user. |
long |
getUserId()
Gets the user id of this message boards stats user. |
String |
getUserUuid()
Gets the user uuid of this message boards stats user. |
MBStatsUser |
getWrappedMBStatsUser()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
Sets the primary key of this message boards stats user |
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. |
MBStatsUser |
toEscapedModel()
Gets a copy of this message boards 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 java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MBStatsUserWrapper(MBStatsUser mbStatsUser)
Method Detail |
---|
public long getPrimaryKey()
MBStatsUserModel
getPrimaryKey
in interface MBStatsUserModel
public void setPrimaryKey(long pk)
MBStatsUserModel
setPrimaryKey
in interface MBStatsUserModel
pk
- the primary key of this message boards stats userpublic long getStatsUserId()
MBStatsUserModel
getStatsUserId
in interface MBStatsUserModel
public void setStatsUserId(long statsUserId)
MBStatsUserModel
setStatsUserId
in interface MBStatsUserModel
statsUserId
- the stats user id of this message boards stats userpublic String getStatsUserUuid() throws SystemException
MBStatsUserModel
getStatsUserUuid
in interface MBStatsUserModel
SystemException
- if a system exception occurredpublic void setStatsUserUuid(String statsUserUuid)
MBStatsUserModel
setStatsUserUuid
in interface MBStatsUserModel
statsUserUuid
- the stats user uuid of this message boards stats userpublic long getGroupId()
MBStatsUserModel
getGroupId
in interface MBStatsUserModel
public void setGroupId(long groupId)
MBStatsUserModel
setGroupId
in interface MBStatsUserModel
groupId
- the group id of this message boards stats userpublic long getUserId()
MBStatsUserModel
getUserId
in interface MBStatsUserModel
public void setUserId(long userId)
MBStatsUserModel
setUserId
in interface MBStatsUserModel
userId
- the user id of this message boards stats userpublic String getUserUuid() throws SystemException
MBStatsUserModel
getUserUuid
in interface MBStatsUserModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
MBStatsUserModel
setUserUuid
in interface MBStatsUserModel
userUuid
- the user uuid of this message boards stats userpublic int getMessageCount()
MBStatsUserModel
getMessageCount
in interface MBStatsUserModel
public void setMessageCount(int messageCount)
MBStatsUserModel
setMessageCount
in interface MBStatsUserModel
messageCount
- the message count of this message boards stats userpublic Date getLastPostDate()
MBStatsUserModel
getLastPostDate
in interface MBStatsUserModel
public void setLastPostDate(Date lastPostDate)
MBStatsUserModel
setLastPostDate
in interface MBStatsUserModel
lastPostDate
- the last post date of this message boards stats userpublic MBStatsUser toEscapedModel()
MBStatsUserModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface MBStatsUserModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<MBStatsUser>
isEscapedModel
in interface MBStatsUserModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<MBStatsUser>
setEscapedModel
in interface MBStatsUserModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MBStatsUser>
getPrimaryKeyObj
in interface MBStatsUserModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MBStatsUser>
getExpandoBridge
in interface MBStatsUserModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MBStatsUser>
setExpandoBridgeAttributes
in interface MBStatsUserModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString
in interface MBStatsUserModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MBStatsUser>
toXmlString
in interface MBStatsUserModel
public MBStatsUser getWrappedMBStatsUser()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |