public class QBEvent extends QBEntity
Modifier and Type | Method and Description |
---|---|
void |
addUserIds(java.lang.Integer... ids) |
void |
copyFieldsTo(QBEntity entity)
Copy the data of all fields to another instance
|
java.lang.String |
getAPNSMessage() |
java.lang.Integer |
getApplicationId() |
java.lang.Integer |
getDate()
The date of the event when it'll fire.
|
java.lang.Integer |
getEndDate() |
QBEnvironment |
getEnvironment() |
java.lang.String |
getGSMMessage() |
java.lang.String |
getMessage() |
java.lang.String |
getMessageEncoded() |
java.lang.String |
getName() |
QBNotificationChannel |
getNotificationChannel() |
QBNotificationType |
getNotificationType() |
java.lang.Integer |
getOccuredCount() |
java.lang.Integer |
getPeriod() |
QBPushType |
getPushType() |
QBEventType |
getType() |
java.lang.Integer |
getUserId() |
<any> |
getUserIds() |
<any> |
getUserTagsAll() |
<any> |
getUserTagsAny() |
<any> |
getUserTagsExclude() |
java.lang.Boolean |
isActive() |
void |
setActive(java.lang.Boolean active)
Event state.
|
void |
setApplicationId(java.lang.Integer applicationId) |
void |
setDate(java.lang.Integer date) |
void |
setEndDate(java.lang.Integer endDate)
Date of completion of the event.
|
void |
setEnvironment(QBEnvironment environment) |
void |
setMessage(java.util.HashMap<java.lang.String,java.lang.Object> data) |
void |
setMessage(java.lang.String message)
Event message
|
void |
setName(java.lang.String name)
The name of the event.
|
void |
setNotificationChannel(QBNotificationChannel notificationChannel) |
void |
setNotificationType(QBNotificationType notificationType)
Notification type:
push, email, request or pull
|
void |
setOccuredCount(java.lang.Integer occuredCount)
Event's occurred count
|
void |
setPeriod(java.lang.Integer period)
he period of the event in seconds.
|
void |
setPushType(QBPushType pushType) |
void |
setType(QBEventType type)
Event type
|
void |
setUserId(java.lang.Integer userId)
sender ID
|
void |
setUserIds(<any> userIds)
Recipients - list of user ids
|
void |
setUserTagsAll(<any> userTagsAll)
Recipients tags - list of user tags.
|
void |
setUserTagsAny(<any> userTagsAny)
Recipients tags - list of user tags.
|
void |
setUserTagsExclude(<any> userTagsExclude)
Recipients tags - list of user tags.
|
java.lang.String |
toString() |
equals, getCreatedAt, getFCreatedAt, getFUpdatedAt, getId, getUpdatedAt, hashCode, setCreatedAt, setId, setUpdatedAt
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public void setMessage(java.util.HashMap<java.lang.String,java.lang.Object> data)
public java.lang.String getGSMMessage()
public java.lang.String getAPNSMessage()
public <any> getUserTagsAny()
public void setUserTagsAny(<any> userTagsAny)
public <any> getUserTagsAll()
public void setUserTagsAll(<any> userTagsAll)
public <any> getUserTagsExclude()
public void setUserTagsExclude(<any> userTagsExclude)
public <any> getUserIds()
public void setUserIds(<any> userIds)
public void addUserIds(java.lang.Integer... ids)
public void setEnvironment(QBEnvironment environment)
public QBEnvironment getEnvironment()
public java.lang.Boolean isActive()
public void setActive(java.lang.Boolean active)
active
- statepublic java.lang.Integer getApplicationId()
public void setApplicationId(java.lang.Integer applicationId)
public java.lang.Integer getDate()
public void setDate(java.lang.Integer date)
public java.lang.Integer getEndDate()
public void setEndDate(java.lang.Integer endDate)
public QBEventType getType()
public void setType(QBEventType type)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.Integer getOccuredCount()
public void setOccuredCount(java.lang.Integer occuredCount)
public java.lang.Integer getPeriod()
public void setPeriod(java.lang.Integer period)
public java.lang.Integer getUserId()
public void setUserId(java.lang.Integer userId)
public QBNotificationChannel getNotificationChannel()
public void setNotificationChannel(QBNotificationChannel notificationChannel)
public QBNotificationType getNotificationType()
public void setNotificationType(QBNotificationType notificationType)
public QBPushType getPushType()
public void setPushType(QBPushType pushType)
public java.lang.String getMessageEncoded()
public void copyFieldsTo(QBEntity entity)
QBEntity
copyFieldsTo
in class QBEntity
entity
- receiver instance