Interface Container<T>
- All Known Subinterfaces:
CMCollection<T>
,CMDynamicList<T>
,CMGallery<T>
,CMQueryList
,DynamizableContainer
,PageGridPlacement
- All Known Implementing Classes:
DynamizableCMTeasableContainer
public interface Container<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Pagination
Returns aPagination
with page number 0 which is backed by this container.default Pagination
asPagination
(int pageNum) Returns aPagination
with the given page number which is backed by this container.List<?>
Deprecated.since 2004.getItems()
Retrieves the items of the implementing class.default boolean
Check whether the container supports pagination
-
Method Details
-
getContainerMetadata
-
getItems
Retrieves the items of the implementing class.It is assumed that implementations of this method take care of proper cache dependency handling.
- Returns:
- a list of items computed for the backing content 'proxy' object
-
getItemsMetadata
-
getFlattenedItems
Deprecated.since 2004. Flattening should be handled via dedicated templates to preserve PBE information.Returns the items, transitively flattening inner containers. -
isPaginated
default boolean isPaginated()Check whether the container supports pagination- Returns:
- true if pagination is supported, false otherwise
- Since:
- 1901
-
asPagination
Returns aPagination
with page number 0 which is backed by this container.If
isPaginated()
is false, the result is unspecified.- Since:
- 1901
-
asPagination
Returns aPagination
with the given page number which is backed by this container.If
isPaginated()
is false, the result is unspecified.- Since:
- 1901
-