Class WorkspaceScopeListComponent
java.lang.Object
ai.mindconnect.adminui.ui.component.WorkspaceScopeListComponent
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionWorkspaceScopeListComponent(UUID sessionId, String scopeKey, String title, String emptyHint, ai.mindconnect.agent.tools.workspace.WorkspaceStore store, ai.mindconnect.agent.tools.workspace.WorkspaceScope scope) -
Method Summary
-
Constructor Details
-
WorkspaceScopeListComponent
-
-
Method Details
-
id
Description copied from interface:UiComponentThe 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 rootUiNodereturned byUiComponent.render().- Specified by:
idin interfaceUiComponent
-
render
public ai.mindconnect.ui.model.UiList render()Description copied from interface:UiComponentFull render — emit the component as aUiNode. Used both inside a page's full render and as the payload of a REPLACE patch.- Specified by:
renderin interfaceUiComponent
-