public class Operator
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Operator(com.uc4.util.XMLDocument doc) |
Modifier and Type | Method and Description |
---|---|
void |
addEmail(java.lang.String emailAddress)
Sets an e-mail address to which a notified sent.
|
void |
addEmail(java.lang.String emailAddress,
CalendarCondition condition)
Sets an e-mail address to which a notified sent on the specified calendar condition.
|
void |
addOperator(UC4ObjectName operator)
Adds a new Operator without a calendar condition.
|
void |
addOperator(UC4ObjectName operator,
CalendarCondition condition)
Adds a new Operator which is notified on the specified calendar condition.
|
void |
clear()
Removes all recipients.
|
java.util.Iterator<ICallOperatorCondition> |
operatorIterator()
Returns an iterator over
ICallOperatorCondition . |
int |
operatorSize()
Returns the number of operator entries returned by the
operatorIterator method. |
boolean |
removeMail(java.lang.String emailAddress)
Removes the specified Operator from this Notification.
|
boolean |
removeOperator(UC4ObjectName operator)
Removes the specified Operator from this Notification.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request) |
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)
public void clear()
public void addOperator(UC4ObjectName operator, CalendarCondition condition)
operator
- Operator which should be notified when this Notification startscondition
- Calendar conditionpublic void addEmail(java.lang.String emailAddress, CalendarCondition condition)
emailAddress
- e-mail addresscondition
- Calendar conditionpublic void addOperator(UC4ObjectName operator)
operator
- Operator which should be notified when this Notification startspublic void addEmail(java.lang.String emailAddress)
emailAddress
- e-mail addresspublic boolean removeOperator(UC4ObjectName operator)
operator
- Name of an Operator or UserGrouppublic boolean removeMail(java.lang.String emailAddress)
emailAddress
- e-mail addresspublic java.util.Iterator<ICallOperatorCondition> operatorIterator()
ICallOperatorCondition
.public int operatorSize()
operatorIterator
method.