com.xpn.xwiki.objects
Class ListProperty.NotifyList

java.lang.Object
  extended by com.xpn.xwiki.internal.AbstractNotifyOnUpdateList<String>
      extended by com.xpn.xwiki.objects.ListProperty.NotifyList
All Implemented Interfaces:
Iterable<String>, Collection<String>, List<String>
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
ListProperty.NotifyList(List<String> list)
           
 
Method Summary
 boolean isWrapper(Object collection)
           
 void onUpdate()
           
 void setOwner(ListProperty owner)
           
 
Methods inherited from class com.xpn.xwiki.internal.AbstractNotifyOnUpdateList
add, add, addAll, addAll, 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
 

Constructor Detail

ListProperty.NotifyList

public ListProperty.NotifyList(List<String> list)
Parameters:
list - AbstractNotifyOnUpdateList.
Method Detail

onUpdate

public void onUpdate()
Specified by:
onUpdate in class com.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.


Copyright © 2004-2013 XWiki. All Rights Reserved.