Class LogEntryList

java.lang.Object
org.apache.commons.collections4.collection.AbstractCollectionDecorator<LogEntry>
org.apache.commons.collections4.list.AbstractListDecorator<LogEntry>
org.apache.commons.collections4.list.AbstractSerializableListDecorator<LogEntry>
org.nuxeo.audit.api.LogEntryList
All Implemented Interfaces:
Serializable, Iterable<LogEntry>, Collection<LogEntry>, List<LogEntry>, SequencedCollection<LogEntry>

public class LogEntryList extends org.apache.commons.collections4.list.AbstractSerializableListDecorator<LogEntry> implements List<LogEntry>, Serializable
Since:
2025.0
See Also:
  • Field Details

    • totalSize

      protected final long totalSize
  • Constructor Details

    • LogEntryList

      public LogEntryList(List<LogEntry> list, long totalSize)
      Constructor that wraps (not copies).
      Parameters:
      list - the list to decorate, must not be null
      Throws:
      NullPointerException - if list is null
  • Method Details

    • getTotalSize

      public long getTotalSize()
      Returns the total size of the bigger list this is a part of.
      Returns:
      the total size