Package step.repository.alm.otaclient
Interface IAlertable2Dispatch
- 
- All Superinterfaces:
- com4j.Com4jObject
 
 public interface IAlertable2Dispatch extends com4j.Com4jObjectServices for managing auto-alerts.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description com4j.Com4jObjectaddAlert(java.lang.String changedEntityType, int changedEntityID, java.lang.String alertSubject, java.lang.String alertDescription)Adds a new alert to the specified entity.voidcleanAllAlerts()Removes all current object alerts from the database.voiddeleteAlert(java.lang.Object iDs)Removes an alert or alerts associated with the current object from the database.com4j.Com4jObjectgetAlert(int id)Gets the alert specified by the alert ID.IListgetAlertList(boolean needRefresh)Gets a list of all alerts associated with the object.booleanhasAlerts()Checks if any alerts are associated with the object.booleanhasNewAlerts()New, unread alerts are associated with the object.
 
- 
- 
- 
Method Detail- 
deleteAlertvoid deleteAlert(java.lang.Object iDs) Removes an alert or alerts associated with the current object from the database. - Parameters:
- iDs- Mandatory java.lang.Object parameter.
 
 - 
cleanAllAlertsvoid cleanAllAlerts() Removes all current object alerts from the database. 
 - 
getAlertcom4j.Com4jObject getAlert(int id) Gets the alert specified by the alert ID. - Parameters:
- id- Mandatory int parameter.
- Returns:
- Returns a value of type com4j.Com4jObject
 
 - 
getAlertListIList getAlertList(@DefaultValue("0") boolean needRefresh) Gets a list of all alerts associated with the object. - Parameters:
- needRefresh- Optional parameter. Default value is false
- Returns:
- Returns a value of type otaclient.IList
 
 - 
hasAlertsboolean hasAlerts() Checks if any alerts are associated with the object. - Returns:
- Returns a value of type boolean
 
 - 
hasNewAlertsboolean hasNewAlerts() New, unread alerts are associated with the object. - Returns:
- Returns a value of type boolean
 
 - 
addAlertcom4j.Com4jObject addAlert(java.lang.String changedEntityType, int changedEntityID, java.lang.String alertSubject, java.lang.String alertDescription)Adds a new alert to the specified entity. - Parameters:
- changedEntityType- Mandatory java.lang.String parameter.
- changedEntityID- Mandatory int parameter.
- alertSubject- Mandatory java.lang.String parameter.
- alertDescription- Mandatory java.lang.String parameter.
- Returns:
- Returns a value of type com4j.Com4jObject
 
 
- 
 
-