Class AdminPage

java.lang.Object
ai.mindconnect.adminui.ui.AdminPage
Direct Known Subclasses:
AgentDetailPage, AgentFormPage, AgentListPage, LlmConfigDetailPage, LlmConfigFormPage, LlmConfigListPage, MemoryPage, MigrationListPage, TodosPage, ToolDetailPage, ToolFormPage, ToolListPage, TracesPage, WorkspacePage

public abstract class AdminPage extends Object
Base class for full Admin-UI pages composed of
invalid reference
UiComponent
s.

A page binds a domain model to a tree of components and exposes two kinds of outputs:

  • render() — full page, returned on the initial GET or after navigation. Composes child components into a UiPage that the front-end renders into its root.
  • Per-event UiPatch methods (e.g. chatTurnComplete(), streamToken(...)) — incremental updates that target individual component ids without re-shipping the whole page.

The patch(UiPatch.Operation...) helper exists so concrete pages can bundle several component-level operations into a single UiPatch without boilerplate. Components themselves only return single UiPatch.Operation values from their helper methods — the page is the unit of composition.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final ai.mindconnect.ui.model.UiPatch
    patch(ai.mindconnect.ui.model.UiPatch.Operation... ops)
    Bundles one or more component-level operations into a UiPatch.
    abstract ai.mindconnect.ui.model.UiPage
    Render the full page (initial GET, after navigation).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdminPage

      public AdminPage()
  • Method Details

    • render

      public abstract ai.mindconnect.ui.model.UiPage render()
      Render the full page (initial GET, after navigation).
    • patch

      protected final ai.mindconnect.ui.model.UiPatch patch(ai.mindconnect.ui.model.UiPatch.Operation... ops)
      Bundles one or more component-level operations into a UiPatch. Concrete pages use this to compose patches from several components (e.g. messages.replaceAll() + chatForm.reset()) in a single SSE event.