Package de.hybris.platform.core
Class LazyLoadItemListInternalTest.TestPKLazyLoadItemList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- de.hybris.platform.core.internal.BaseLazyLoadItemList<E>
-
- de.hybris.platform.core.LazyLoadItemList<java.lang.Long>
-
- de.hybris.platform.core.LazyLoadItemListInternalTest.TestPKLazyLoadItemList
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<java.lang.Long>,java.util.Collection<java.lang.Long>,java.util.List<java.lang.Long>
- Enclosing class:
- LazyLoadItemListInternalTest
public static class LazyLoadItemListInternalTest.TestPKLazyLoadItemList extends LazyLoadItemList<java.lang.Long>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.core.LazyLoadItemList
LazyLoadItemList.BufferedPage<T>
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.core.LazyLoadItemList
DEFAULT_PREFETCH_SIZE, DEFUALT_PREFETCH_SIZE, EMPTY_LIST, PREFETCH_SIZE_PROPERTY
-
Fields inherited from class de.hybris.platform.core.internal.BaseLazyLoadItemList
DEFAULT_CONFIG_PREFETCH_SIZE
-
-
Constructor Summary
Constructors Constructor Description TestPKLazyLoadItemList(java.util.List<PK> pks, int prefetchSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.Long>loadPage(java.util.List<PK> pks)Override this method to provide a resolving mechanism for generating values for the pre-fetchedBaseLazyLoadItemList.pkListentries.-
Methods inherited from class de.hybris.platform.core.LazyLoadItemList
add, clear, get, getBuffered, getBufferedPageIfLoaded, getCurrentBufferedPage, getOrSwitchBufferedPage, invalidateBuffer, isIgnoreMissing, remove, set, setIgnoreMissing, setModifiable, setPreFetchSize, switchBufferedPage, switchBufferedPageNoLock, switchBufferedPageSynchronized, switchPage
-
Methods inherited from class de.hybris.platform.core.internal.BaseLazyLoadItemList
assureIndex, contains, equals, getConfig, getPK, getPKList, getPKListInternal, getPrefetchLanguages, getPreFetchSize, hashCode, isModifiable, iterator, size, toString
-
Methods inherited from class java.util.AbstractList
add, addAll, indexOf, lastIndexOf, listIterator, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
-
-
-
-
Constructor Detail
-
TestPKLazyLoadItemList
public TestPKLazyLoadItemList(java.util.List<PK> pks, int prefetchSize)
-
-
Method Detail
-
loadPage
protected java.util.List<java.lang.Long> loadPage(java.util.List<PK> pks)
Description copied from class:LazyLoadItemListOverride this method to provide a resolving mechanism for generating values for the pre-fetchedBaseLazyLoadItemList.pkListentries.- Overrides:
loadPagein classLazyLoadItemList<java.lang.Long>
-
-