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 givenInfoLetterPublicationPdC
in 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 boolean
equals(Object o)
InfoLetterPublicationPdC
getInfoLetter()
Gets the contribution aimed by the path.protected String
getLabel(InfoLetterPublicationPdC infoLetter, String language)
static InfoLetterPath
getPath(InfoLetterPublicationPdC infoLetter)
Gets an info letter path without taking care about right accesses.int
hashCode()
protected boolean
isRoot(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
InfoLetterPublicationPdC
instance.
-
isRoot
protected boolean isRoot(InfoLetterPublicationPdC node)
- Specified by:
isRoot
in classorg.silverpeas.core.util.ContributionPath<InfoLetterPublicationPdC>
-
getLabel
protected String getLabel(InfoLetterPublicationPdC infoLetter, String language)
- Specified by:
getLabel
in classorg.silverpeas.core.util.ContributionPath<InfoLetterPublicationPdC>
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceCollection<InfoLetterPublicationPdC>
- Specified by:
equals
in interfaceList<InfoLetterPublicationPdC>
- Overrides:
equals
in classorg.silverpeas.core.util.ContributionPath<InfoLetterPublicationPdC>
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceCollection<InfoLetterPublicationPdC>
- Specified by:
hashCode
in interfaceList<InfoLetterPublicationPdC>
- Overrides:
hashCode
in classorg.silverpeas.core.util.ContributionPath<InfoLetterPublicationPdC>
-
-