In package com.eden.orchid.api.generators

@Description(
    value="A Folder Collection represents a collection of OrchidPages that are located as a batch from a specified folder in your resources. A page is matched from a Folder Collection with an \'itemId\' matching the page\'s title.")
public class FolderCollection extends OrchidCollection<T>

public

Constructors

FolderCollection(OrchidGenerator generator, String collectionId, List<E> items, Class<T> pageClass, String resourceRoot) public

Parameters:
  • OrchidGenerator generator
  • String collectionId
  • List items
  • Class pageClass
  • String resourceRoot
FolderCollection(String collectionType, String collectionId, List<E> items, Class<T> pageClass, String resourceRoot) public

Parameters:
  • String collectionType
  • String collectionId
  • List items
  • Class pageClass
  • String resourceRoot

Methods

Stream<T> find(String id) public

Parameters:
  • String id