Package com.xpn.xwiki.objects
Class ListProperty.NotifyList
- java.lang.Object
-
- com.xpn.xwiki.internal.AbstractNotifyOnUpdateList<String>
-
- com.xpn.xwiki.objects.ListProperty.NotifyList
-
- Enclosing class:
- ListProperty
public static class ListProperty.NotifyList extends com.xpn.xwiki.internal.AbstractNotifyOnUpdateList<String>
List implementation for updating dirty flag when updated. This will be accessed from ListPropertyUserType.
-
-
Constructor Summary
Constructors Constructor Description NotifyList(List<String> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isWrapper(Object collection)
void
onUpdate()
Called when the list is updated.void
setOwner(ListProperty owner)
-
Methods inherited from class com.xpn.xwiki.internal.AbstractNotifyOnUpdateList
add, add, addAll, addAll, added, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
-
-
-
Method Detail
-
onUpdate
public void onUpdate()
Description copied from class:com.xpn.xwiki.internal.AbstractNotifyOnUpdateList
Called when the list is updated. The method will be called at least once, but may be called several times.- Specified by:
onUpdate
in classcom.xpn.xwiki.internal.AbstractNotifyOnUpdateList<String>
-
setOwner
public void setOwner(ListProperty owner)
- Parameters:
owner
- The owner list property.
-
isWrapper
public boolean isWrapper(Object collection)
- Returns:
- true if the given argument is the instance that this list wraps.
-
-