In package com.eden.orchid.api.resources.resource

@Getter,
@Setter
public abstract class OrchidResource extends Object

since: v1.0.0 public abstract

Resources provide the "intrinsic content" of a page.

Fields

OrchidContext context final

OrchidReference reference final

String rawContent

String content

JSONElement embeddedData

int priority

boolean shouldRender
Field Annotations:
@Getter(
    value=lombok.AccessLevel.NONE)

Constructors

OrchidResource(OrchidReference reference) public

Parameters:

Methods

JSONElement queryEmbeddedData(String pointer) public

Parameters:
  • String pointer
void shouldPrecompile() public

void shouldRender() public

InputStream getContentStream() public

String getRawContent() public

String compileContent(Object data) public

Parameters:
  • Object data
String getPrecompilerExtension() public

void canUpdate() public

void canDelete() public

void update(InputStream newContent) public

Parameters:
  • InputStream newContent
void delete() public

String getTitle() public

String toString() public
Method Annotations:
@Override