Class 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 Detail

      • NotifyList

        public NotifyList​(List<String> list)
        Parameters:
        list - AbstractNotifyOnUpdateList.
    • 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 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.