Class MessagePath
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<T>
-
- org.silverpeas.core.util.ContributionPath<Message>
-
- org.silverpeas.components.forums.model.MessagePath
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Message>,Collection<Message>,List<Message>,RandomAccess,org.silverpeas.core.util.ResourcePath<Message>
public class MessagePath extends org.silverpeas.core.util.ContributionPath<Message>
List ofMessagewhich represents a path.- Author:
- silveryocha
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description MessagePath(ForumPath forumPath, Collection<Message> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Stringformat(String language, boolean fullSpacePath)protected StringgetLabel(Message message, String language)inthashCode()protected booleanisRoot(Message message)-
Methods inherited from class org.silverpeas.core.util.ContributionPath
format, rootIsComponentInstance
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
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
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Constructor Detail
-
MessagePath
public MessagePath(ForumPath forumPath, @Nonnull Collection<Message> c)
-
-
Method Detail
-
isRoot
protected boolean isRoot(Message message)
- Specified by:
isRootin classorg.silverpeas.core.util.ContributionPath<Message>
-
getLabel
protected String getLabel(Message message, String language)
- Specified by:
getLabelin classorg.silverpeas.core.util.ContributionPath<Message>
-
equals
public boolean equals(Object o)
-
-