Package org.silverpeas.core.admin
Class ProfiledObjectIds
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<String>
-
- org.silverpeas.core.admin.ProfiledObjectIds
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<String>
,Collection<String>
,List<String>
,RandomAccess
public class ProfiledObjectIds extends ArrayList<String>
The unique identifiers of object that is covered by right profiles.- 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)
static ProfiledObjectIds
fromNodeIds(Collection<String> nodeIds)
Constructs from the specified node identifiers a typed list.static ProfiledObjectIds
fromProfileObjectId(ProfiledObjectId profiledObjectId)
Constructs from the specified node identifiers a typed list.ProfiledObjectType
getType()
Gets the type of the objects referred into this list.int
hashCode()
static ProfiledObjectIds
none()
static ProfiledObjectIds
ofType(ProfiledObjectType profiledObjectType)
boolean
typeFilledOnly()
Indicates only the type has been filled.-
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, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Method Detail
-
none
public static ProfiledObjectIds none()
-
ofType
public static ProfiledObjectIds ofType(ProfiledObjectType profiledObjectType)
-
fromProfileObjectId
public static ProfiledObjectIds fromProfileObjectId(ProfiledObjectId profiledObjectId)
Constructs from the specified node identifiers a typed list.- Parameters:
profiledObjectId
- a profile object id.- Returns:
- the
ProfiledObjectId
instance representation of the node identifier.
-
fromNodeIds
public static ProfiledObjectIds fromNodeIds(Collection<String> nodeIds)
Constructs from the specified node identifiers a typed list.- Parameters:
nodeIds
- a collection of unique node identifier.- Returns:
- the
ProfiledObjectId
instance representation of the node identifier.
-
getType
public ProfiledObjectType getType()
Gets the type of the objects referred into this list.- Returns:
- the type of the object as a
ProfiledObjectType
enumeration value.
-
typeFilledOnly
public boolean typeFilledOnly()
Indicates only the type has been filled.- Returns:
- true if only the type has been filled.
-
equals
public boolean equals(Object o)
-
-