public interface IAlertable2Dispatch
extends com4j.Com4jObject
Modifier and Type | Method and Description |
---|---|
com4j.Com4jObject |
addAlert(String changedEntityType,
int changedEntityID,
String alertSubject,
String alertDescription)
Adds a new alert to the specified entity.
|
void |
cleanAllAlerts()
Removes all current object alerts from the database.
|
void |
deleteAlert(Object iDs)
Removes an alert or alerts associated with the current object from the database.
|
com4j.Com4jObject |
getAlert(int id)
Gets the alert specified by the alert ID.
|
IList |
getAlertList(boolean needRefresh)
Gets a list of all alerts associated with the object.
|
boolean |
hasAlerts()
Checks if any alerts are associated with the object.
|
boolean |
hasNewAlerts()
New, unread alerts are associated with the object.
|
void deleteAlert(Object iDs)
Removes an alert or alerts associated with the current object from the database.
iDs
- Mandatory java.lang.Object parameter.void cleanAllAlerts()
Removes all current object alerts from the database.
com4j.Com4jObject getAlert(int id)
Gets the alert specified by the alert ID.
id
- Mandatory int parameter.IList getAlertList(@DefaultValue(value="0") boolean needRefresh)
Gets a list of all alerts associated with the object.
needRefresh
- Optional parameter. Default value is falseboolean hasAlerts()
Checks if any alerts are associated with the object.
boolean hasNewAlerts()
New, unread alerts are associated with the object.
com4j.Com4jObject addAlert(String changedEntityType, int changedEntityID, String alertSubject, String alertDescription)
Adds a new alert to the specified entity.
changedEntityType
- Mandatory java.lang.String parameter.changedEntityID
- Mandatory int parameter.alertSubject
- Mandatory java.lang.String parameter.alertDescription
- Mandatory java.lang.String parameter.Copyright © 2020. All rights reserved.