Class WorkspaceScopeListComponent

java.lang.Object
ai.mindconnect.adminui.ui.component.WorkspaceScopeListComponent
All Implemented Interfaces:
UiComponent

public final class WorkspaceScopeListComponent extends Object implements UiComponent
One file listing for a single workspace scope (SESSION / AGENT_USER / USER). Renders a header with file count, an empty-state hint when there are no files, otherwise one item per file with view/download icon actions.

The scopeKey is the URL path segment for the scope (session / agent / user) — it appears in the file-download URLs and is part of the component id, so the same page can hold three independent instances without id collisions.

  • Constructor Details

    • WorkspaceScopeListComponent

      public WorkspaceScopeListComponent(UUID sessionId, String scopeKey, String title, String emptyHint, ai.mindconnect.agent.tools.workspace.WorkspaceStore store, ai.mindconnect.agent.tools.workspace.WorkspaceScope scope)
  • Method Details

    • id

      public String id()
      Description copied from interface: UiComponent
      The DOM id this component renders with. Patch operations targeting this component (REPLACE / CLEAR / REMOVE) use this id, so it must match the id on the root UiNode returned by UiComponent.render().
      Specified by:
      id in interface UiComponent
    • render

      public ai.mindconnect.ui.model.UiList render()
      Description copied from interface: UiComponent
      Full render — emit the component as a UiNode. Used both inside a page's full render and as the payload of a REPLACE patch.
      Specified by:
      render in interface UiComponent