|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReportAlerts
Contains the list of alerts defined in a given report.
You can set the configuration options for each alert, and then send these alerts to an SMTP server.
Use the setBody method to include a message that will be shown in the alert notification
email before all of the alert messages.
| Nested Class Summary | |
|---|---|
static class |
ReportAlerts.Factory
A class with methods for creating instances of the ReportAlerts type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
ReportAlert |
addNewAlert()
Appends and returns a new empty ReportAlert object (as xml) as the last element of the array. |
ReportAlert[] |
getAlertArray()
Returns the array of ReportAlert objects. |
ReportAlert |
getAlertArray(int i)
Returns the ReportAlert object at a specified index. |
java.lang.String |
getBody()
Returns the message text that is prepended to the notification email. |
ReportAlert |
insertNewAlert(int i)
Inserts and returns a new empty ReportAlert object at a specified index. |
boolean |
isSetBody()
Checks if the Body has been set. |
void |
removeAlert(int i)
Removes the ReportAlert element at the specified index position. |
void |
setAlertArray(int i,
ReportAlert alert)
Sets the ReportAlert object at the specified position. |
void |
setAlertArray(ReportAlert[] alertArray)
Sets the array of ReportAlert objects. |
void |
setBody(java.lang.String body)
Sets the message text that is prepended to the alert notification email. |
int |
sizeOfAlertArray()
Returns the size of the ReportAlert array. |
void |
unsetBody()
Deletes or unsets the Body element. |
org.apache.xmlbeans.XmlString |
xgetBody()
Internal Use Only. |
void |
xsetBody(org.apache.xmlbeans.XmlString body)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
| Method Detail |
|---|
ReportAlert[] getAlertArray()
Returns the array of ReportAlert objects.
ReportAlert objects.ReportAlert getAlertArray(int i)
Returns the ReportAlert object at a specified index.
i - The index position.
ReportAlert object.int sizeOfAlertArray()
ReportAlert array.
void setAlertArray(ReportAlert[] alertArray)
Sets the array of ReportAlert objects.
alertArray - The array of ReportAlert objects.
void setAlertArray(int i,
ReportAlert alert)
Sets the ReportAlert object at the specified position.
i - The index position.alert - The ReportAlert object.ReportAlert insertNewAlert(int i)
ReportAlert object at a specified index.
i - The index position to insert the object.
ReportAlert.ReportAlert addNewAlert()
ReportAlert object (as xml) as the last element of the array.
ReportAlert object.void removeAlert(int i)
i - The index position to remove the ReportAlert element.java.lang.String getBody()
Returns the message text that is prepended to the notification email. The maximum number of characters that you can include in the message text may be constrained by limits that have been put on your SMTP server.
Use the setAlertDestination method in SchedulingInfo to set the notification email. This email will contain all of the triggered alerts in a given report.
String containing the message text that is prepended to the alert notification email.org.apache.xmlbeans.XmlString xgetBody()
boolean isSetBody()
Body has been set.
true if the Body element has been set, otherwise false.void setBody(java.lang.String body)
Sets the message text that is prepended to the alert notification email. The maximum number of characters that you can include in the message text may be constrained by limits that have been put on your SMTP server.
Use the setAlertDestination method in SchedulingInfo to set the notification email. This email will contain all of the triggered alerts in a given report.
To insert a viewer hyperlink into the message body, add %SI_VIEWER_URL% to the string.
body - A String containing the message text that is prepended to the alert notification email.void xsetBody(org.apache.xmlbeans.XmlString body)
void unsetBody()
Deletes or unsets the Body element.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||