Modifier | Constructor and Description |
---|---|
protected |
SyncList(com.uc4.util.XMLDocument doc)
Constructs a
SyncList from the specified XMLDocument |
Modifier and Type | Method and Description |
---|---|
void |
addSyncItem(SyncItem item)
Adds a single SYNC condition to this job.
|
void |
clear()
Removes all sync references.
|
java.util.Iterator<SyncItem> |
iterator()
Returns a list of all sync conditions.
|
boolean |
removeSyncItem(SyncItem item)
Removes the specified item from this
SyncList . |
int |
size()
Returns the number of
SyncItem in this list. |
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request) |
protected SyncList(com.uc4.util.XMLDocument doc)
SyncList
from the specified XMLDocument
doc
- XML Documentpublic boolean removeSyncItem(SyncItem item)
SyncList
.item
- Sync which should be removedtrue
if the item was removed successfullypublic void addSyncItem(SyncItem item)
item
- Sync conditionpublic void clear()
public java.util.Iterator<SyncItem> iterator()
SyncItem
objects.iterator
in interface java.lang.Iterable<SyncItem>
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)
public int size()
SyncItem
in this list.