Package ai.mindconnect.adminui.ui.page
Class AgentDetailPage
java.lang.Object
ai.mindconnect.adminui.ui.AdminPage
ai.mindconnect.adminui.ui.page.AgentDetailPage
Agent detail page with the Details / Tools / Sessions tabs. Holds
the full-render and the two patch entry points the controller
targets after Delete-Session and Delete-Tool — those are the only
incremental updates the page supports today.
The initialSection / selectedRowId let the
controller deep-link the user back to a specific tab+row after an
add/edit/copy round-trip.
-
Constructor Summary
ConstructorsConstructorDescriptionAgentDetailPage(ai.mindconnect.agent.domain.AgentDefinition agent, String userId, ai.mindconnect.agent.port.out.AgentSessionRepository sessionRepository) AgentDetailPage(ai.mindconnect.agent.domain.AgentDefinition agent, String userId, ai.mindconnect.agent.port.out.AgentSessionRepository sessionRepository, String initialSection, String selectedRowId) -
Method Summary
Modifier and TypeMethodDescriptionai.mindconnect.ui.model.UiPatchREPLACE patch for the Sessions table — called after a session delete so the row disappears without re-fetching the whole detail page.ai.mindconnect.ui.model.UiPatchREPLACE patch for the Tools table — called after a tool delete.ai.mindconnect.ui.model.UiPagerender()Render the full page (initial GET, after navigation).
-
Constructor Details
-
AgentDetailPage
public AgentDetailPage(ai.mindconnect.agent.domain.AgentDefinition agent, String userId, ai.mindconnect.agent.port.out.AgentSessionRepository sessionRepository) -
AgentDetailPage
-
-
Method Details
-
render
public ai.mindconnect.ui.model.UiPage render()Description copied from class:AdminPageRender the full page (initial GET, after navigation). -
refreshSessions
public ai.mindconnect.ui.model.UiPatch refreshSessions()REPLACE patch for the Sessions table — called after a session delete so the row disappears without re-fetching the whole detail page. -
refreshTools
public ai.mindconnect.ui.model.UiPatch refreshTools()REPLACE patch for the Tools table — called after a tool delete.
-