public class StatusWrapper extends BaseModelWrapper<Status> implements ModelWrapper<Status>, Status
This class is a wrapper for Status.
Status,
Serialized FormmodelSTATUS_ID_ACCESSOR| Constructor and Description |
|---|
StatusWrapper(Status status) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getActivePanelIds()
Returns the active panel IDs of this status.
|
boolean |
getAwake()
Returns the awake of this status.
|
java.lang.String |
getMessage()
Returns the message of this status.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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.
|
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.
|
boolean |
isAwake()
Returns
true if this status is awake. |
boolean |
isOnline()
Returns
true if this status is online. |
boolean |
isPlaySound()
Returns
true if this status is play sound. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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 |
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 |
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 |
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.
|
protected StatusWrapper |
wrap(Status status) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic StatusWrapper(Status status)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<Status>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<Status>public java.lang.String getActivePanelIds()
getActivePanelIds in interface StatusModelpublic boolean getAwake()
getAwake in interface StatusModelpublic java.lang.String getMessage()
getMessage in interface StatusModelpublic long getModifiedDate()
getModifiedDate in interface StatusModelpublic boolean getOnline()
getOnline in interface StatusModelpublic boolean getPlaySound()
getPlaySound in interface StatusModelpublic long getPrimaryKey()
getPrimaryKey in interface StatusModelpublic long getStatusId()
getStatusId in interface StatusModelpublic long getUserId()
getUserId in interface StatusModelpublic java.lang.String getUserUuid()
getUserUuid in interface StatusModelpublic boolean isAwake()
true if this status is awake.isAwake in interface StatusModeltrue if this status is awake; false otherwisepublic boolean isOnline()
true if this status is online.isOnline in interface StatusModeltrue if this status is online; false otherwisepublic boolean isPlaySound()
true if this status is play sound.isPlaySound in interface StatusModeltrue if this status is play sound; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setActivePanelIds(java.lang.String activePanelIds)
setActivePanelIds in interface StatusModelactivePanelIds - the active panel IDs of this statuspublic void setAwake(boolean awake)
setAwake in interface StatusModelawake - the awake of this statuspublic void setMessage(java.lang.String message)
setMessage in interface StatusModelmessage - the message of this statuspublic void setModifiedDate(long modifiedDate)
setModifiedDate in interface StatusModelmodifiedDate - the modified date of this statuspublic void setOnline(boolean online)
setOnline in interface StatusModelonline - the online of this statuspublic void setPlaySound(boolean playSound)
setPlaySound in interface StatusModelplaySound - the play sound of this statuspublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface StatusModelprimaryKey - the primary key of this statuspublic void setStatusId(long statusId)
setStatusId in interface StatusModelstatusId - the status ID of this statuspublic void setUserId(long userId)
setUserId in interface StatusModeluserId - the user ID of this statuspublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface StatusModeluserUuid - the user uuid of this statusprotected StatusWrapper wrap(Status status)
wrap in class BaseModelWrapper<Status>