In package com.eden.orchid.api.indexing

@Getter,
@Setter
public abstract class OrchidIndex extends Object

public abstract

Fields

String ownKey final

List ownPages

Map childrenPages

Constructors

OrchidIndex(String ownKey) public

Parameters:
  • String ownKey

Methods

Class<T> childIndexClass() abstract public

void addToIndex(String taxonomy, OrchidPage page) public

Parameters:
void addToIndex(String pathPieces, OrchidPage page) public

Parameters:
List<E> find(String taxonomy) public

Parameters:
  • String taxonomy
List<E> find(String pathPieces) public

Parameters:
  • String pathPieces
OrchidPage findPage(String taxonomy) public

Parameters:
  • String taxonomy
OrchidPage findPage(String pathPieces) public

Parameters:
  • String pathPieces
OrchidIndex findIndex(String taxonomy) public

Parameters:
  • String taxonomy
OrchidIndex findIndex(String pathPieces) public

Parameters:
  • String pathPieces
List<E> getOwnPages() public

List<E> getAllPages() public

OrchidIndex get(String key) public

Parameters:
  • String key
Map<K, V> getChildren() public

JSONObject toJSON() public

JSONObject toJSON(boolean includePageContent, boolean includePageData) public

Parameters:
  • includePageContent
  • includePageData
OrchidIndex fromJSON(OrchidContext context, JSONObject source) static public

Parameters:
String toString() public
Method Annotations:
@Override