Class InfoLetterPath
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<T>
-
- org.silverpeas.core.util.ContributionPath<InfoLetterPublicationPdC>
-
- org.silverpeas.components.infoletter.model.InfoLetterPath
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<InfoLetterPublicationPdC>,Collection<InfoLetterPublicationPdC>,List<InfoLetterPublicationPdC>,RandomAccess,org.silverpeas.core.util.ResourcePath<InfoLetterPublicationPdC>
public class InfoLetterPath extends org.silverpeas.core.util.ContributionPath<InfoLetterPublicationPdC>
The path of a givenInfoLetterPublicationPdCin an application.- Author:
- silveryocha
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)InfoLetterPublicationPdCgetInfoLetter()Gets the contribution aimed by the path.protected StringgetLabel(InfoLetterPublicationPdC infoLetter, String language)static InfoLetterPathgetPath(InfoLetterPublicationPdC infoLetter)Gets an info letter path without taking care about right accesses.inthashCode()protected booleanisRoot(InfoLetterPublicationPdC node)-
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
-
-
-
-
Method Detail
-
getPath
public static InfoLetterPath getPath(InfoLetterPublicationPdC infoLetter)
Gets an info letter path without taking care about right accesses.- Parameters:
infoLetter- an info letter contribution instance.- Returns:
- an initialized
InfoLetterPath.
-
getInfoLetter
public InfoLetterPublicationPdC getInfoLetter()
Gets the contribution aimed by the path.- Returns:
- a
InfoLetterPublicationPdCinstance.
-
isRoot
protected boolean isRoot(InfoLetterPublicationPdC node)
- Specified by:
isRootin classorg.silverpeas.core.util.ContributionPath<InfoLetterPublicationPdC>
-
getLabel
protected String getLabel(InfoLetterPublicationPdC infoLetter, String language)
- Specified by:
getLabelin classorg.silverpeas.core.util.ContributionPath<InfoLetterPublicationPdC>
-
equals
public boolean equals(Object o)
- Specified by:
equalsin interfaceCollection<InfoLetterPublicationPdC>- Specified by:
equalsin interfaceList<InfoLetterPublicationPdC>- Overrides:
equalsin classorg.silverpeas.core.util.ContributionPath<InfoLetterPublicationPdC>
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceCollection<InfoLetterPublicationPdC>- Specified by:
hashCodein interfaceList<InfoLetterPublicationPdC>- Overrides:
hashCodein classorg.silverpeas.core.util.ContributionPath<InfoLetterPublicationPdC>
-
-