Class SessionTableComponent
java.lang.Object
ai.mindconnect.adminui.ui.component.SessionTableComponent
- All Implemented Interfaces:
UiComponent
Tabular view of an agent's chat sessions with Open / Delete row
actions and a header "New Session" action. The session list is read
from
AgentSessionRepository at render time so it stays
current after deletes.-
Constructor Summary
ConstructorsConstructorDescriptionSessionTableComponent(ai.mindconnect.agent.domain.AgentDefinition agent, String userId, ai.mindconnect.agent.port.out.AgentSessionRepository sessionRepository) SessionTableComponent(ai.mindconnect.agent.domain.AgentDefinition agent, String userId, ai.mindconnect.agent.port.out.AgentSessionRepository sessionRepository, UUID selectedSessionId) -
Method Summary
-
Constructor Details
-
SessionTableComponent
public SessionTableComponent(ai.mindconnect.agent.domain.AgentDefinition agent, String userId, ai.mindconnect.agent.port.out.AgentSessionRepository sessionRepository) -
SessionTableComponent
-
-
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.UiTable 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
-