Class PObjectTypedList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
com.polarion.platform.persistence.spi.AbstractTypedList<T>
com.polarion.platform.persistence.spi.ModelTypedList
com.polarion.platform.persistence.spi.PObjectTypedList
- All Implemented Interfaces:
IChangeGenerator
,IChangeListener
,IPObjectList
,ITypedList
,Iterable
,Collection
,List
- Author:
- POLARION SOFTWARE
-
Nested Class Summary
Nested classes/interfaces inherited from class com.polarion.platform.persistence.spi.ModelTypedList
ModelTypedList.ValueWrapper
Nested classes/interfaces inherited from interface com.polarion.platform.persistence.model.IPObjectList
IPObjectList.EmptyList
-
Field Summary
Fields inherited from interface com.polarion.platform.persistence.model.IPObjectList
EMPTY_POBJECTLIST
-
Constructor Summary
ConstructorsConstructorDescriptionPObjectTypedList
(IPObject pobject, IListType prototype, boolean readOnly, List data) -
Method Summary
Modifier and TypeMethodDescriptionvoid
resolve
(int first, int lenght) void
void
resolveFirst
(int n) Methods inherited from class com.polarion.platform.persistence.spi.ModelTypedList
setValueWrapper
Methods inherited from class com.polarion.platform.persistence.spi.AbstractTypedList
add, get, getPrototype, getRawData, isReadOnly, markChanged, remove, set, setChangeOwner, setSecurityReferee, size
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
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, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
PObjectTypedList
- Parameters:
pobject
-prototype
-readOnly
-data
-- Since:
- 3.1.2
-
-
Method Details
-
resolve
public void resolve(int first, int lenght) - Specified by:
resolve
in interfaceIPObjectList
-
resolveAll
public void resolveAll()- Specified by:
resolveAll
in interfaceIPObjectList
-
resolveFirst
public void resolveFirst(int n) - Specified by:
resolveFirst
in interfaceIPObjectList
-
getUrisList
- Specified by:
getUrisList
in interfaceIPObjectList
- Returns:
- The list of URIs of objects in this list. The list is modifiable, but not live.
-
getDataService
- Specified by:
getDataService
in interfaceIPObjectList
- Returns:
- The data service used by this list. Unmodifiable empty list might
return
null
.
-