public class StatusWrapper extends java.lang.Object implements Status, com.liferay.portal.kernel.model.ModelWrapper<Status>
This class is a wrapper for Status
.
Status
,
Serialized FormSTATUS_ID_ACCESSOR
Constructor and Description |
---|
StatusWrapper(Status status) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(Status status) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActivePanelIds()
Returns the active panel IDs of this status.
|
boolean |
getAwake()
Returns the awake of this status.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getMessage()
Returns the message of this status.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getModifiedDate()
Returns the modified date of this status.
|
boolean |
getOnline()
Returns the online of this status.
|
boolean |
getPlaySound()
Returns the play sound of this status.
|
long |
getPrimaryKey()
Returns the primary key of this status.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getStatusId()
Returns the status ID of this status.
|
long |
getUserId()
Returns the user ID of this status.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this status.
|
Status |
getWrappedModel() |
int |
hashCode() |
boolean |
isAwake()
Returns
true if this status is awake. |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
boolean |
isOnline()
Returns
true if this status is online. |
boolean |
isPlaySound()
Returns
true if this status is play sound. |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
resetOriginalValues() |
void |
setActivePanelIds(java.lang.String activePanelIds)
Sets the active panel IDs of this status.
|
void |
setAwake(boolean awake)
Sets whether this status is awake.
|
void |
setCachedModel(boolean cachedModel) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setMessage(java.lang.String message)
Sets the message of this status.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(long modifiedDate)
Sets the modified date of this status.
|
void |
setNew(boolean n) |
void |
setOnline(boolean online)
Sets whether this status is online.
|
void |
setPlaySound(boolean playSound)
Sets whether this status is play sound.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this status.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setStatusId(long statusId)
Sets the status ID of this status.
|
void |
setUserId(long userId)
Sets the user ID of this status.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this status.
|
com.liferay.portal.kernel.model.CacheModel<Status> |
toCacheModel() |
Status |
toEscapedModel() |
java.lang.String |
toString() |
Status |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public StatusWrapper(Status status)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public java.lang.Object clone()
clone
in interface StatusModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<Status>
clone
in class java.lang.Object
public int compareTo(Status status)
compareTo
in interface StatusModel
compareTo
in interface java.lang.Comparable<Status>
public java.lang.String getActivePanelIds()
getActivePanelIds
in interface StatusModel
public boolean getAwake()
getAwake
in interface StatusModel
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface StatusModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<Status>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getMessage()
getMessage
in interface StatusModel
public long getModifiedDate()
getModifiedDate
in interface StatusModel
public boolean getOnline()
getOnline
in interface StatusModel
public boolean getPlaySound()
getPlaySound
in interface StatusModel
public long getPrimaryKey()
getPrimaryKey
in interface StatusModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface StatusModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Status>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public long getStatusId()
getStatusId
in interface StatusModel
public long getUserId()
getUserId
in interface StatusModel
public java.lang.String getUserUuid()
getUserUuid
in interface StatusModel
public int hashCode()
hashCode
in interface StatusModel
hashCode
in class java.lang.Object
public boolean isAwake()
true
if this status is awake.isAwake
in interface StatusModel
true
if this status is awake; false
otherwisepublic boolean isCachedModel()
isCachedModel
in interface StatusModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public boolean isEscapedModel()
isEscapedModel
in interface StatusModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public boolean isNew()
isNew
in interface StatusModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public boolean isOnline()
true
if this status is online.isOnline
in interface StatusModel
true
if this status is online; false
otherwisepublic boolean isPlaySound()
true
if this status is play sound.isPlaySound
in interface StatusModel
true
if this status is play sound; false
otherwisepublic void persist()
Status
interface instead.persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setActivePanelIds(java.lang.String activePanelIds)
setActivePanelIds
in interface StatusModel
activePanelIds
- the active panel IDs of this statuspublic void setAwake(boolean awake)
setAwake
in interface StatusModel
awake
- the awake of this statuspublic void setCachedModel(boolean cachedModel)
setCachedModel
in interface StatusModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface StatusModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface StatusModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface StatusModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public void setMessage(java.lang.String message)
setMessage
in interface StatusModel
message
- the message of this statuspublic void setModifiedDate(long modifiedDate)
setModifiedDate
in interface StatusModel
modifiedDate
- the modified date of this statuspublic void setNew(boolean n)
setNew
in interface StatusModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public void setOnline(boolean online)
setOnline
in interface StatusModel
online
- the online of this statuspublic void setPlaySound(boolean playSound)
setPlaySound
in interface StatusModel
playSound
- the play sound of this statuspublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface StatusModel
primaryKey
- the primary key of this statuspublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface StatusModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Status>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setStatusId(long statusId)
setStatusId
in interface StatusModel
statusId
- the status ID of this statuspublic void setUserId(long userId)
setUserId
in interface StatusModel
userId
- the user ID of this statuspublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface StatusModel
userUuid
- the user uuid of this statuspublic com.liferay.portal.kernel.model.CacheModel<Status> toCacheModel()
toCacheModel
in interface StatusModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public Status toEscapedModel()
toEscapedModel
in interface StatusModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public java.lang.String toString()
toString
in interface StatusModel
toString
in class java.lang.Object
public Status toUnescapedModel()
toUnescapedModel
in interface StatusModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public java.lang.String toXmlString()
toXmlString
in interface StatusModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public Status getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<Status>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<Status>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<Status>