Class AgentDetailPage

java.lang.Object
ai.mindconnect.adminui.ui.AdminPage
ai.mindconnect.adminui.ui.page.AgentDetailPage

public final class AgentDetailPage extends AdminPage
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

    Constructors
    Constructor
    Description
    AgentDetailPage(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 Type
    Method
    Description
    ai.mindconnect.ui.model.UiPatch
    REPLACE 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.UiPatch
    REPLACE patch for the Tools table — called after a tool delete.
    ai.mindconnect.ui.model.UiPage
    Render the full page (initial GET, after navigation).

    Methods inherited from class ai.mindconnect.adminui.ui.AdminPage

    patch

    Methods inherited from class java.lang.Object

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

    • AgentDetailPage

      public AgentDetailPage(ai.mindconnect.agent.domain.AgentDefinition agent, String userId, ai.mindconnect.agent.port.out.AgentSessionRepository sessionRepository)
    • AgentDetailPage

      public AgentDetailPage(ai.mindconnect.agent.domain.AgentDefinition agent, String userId, ai.mindconnect.agent.port.out.AgentSessionRepository sessionRepository, String initialSection, String selectedRowId)
  • Method Details

    • render

      public ai.mindconnect.ui.model.UiPage render()
      Description copied from class: AdminPage
      Render the full page (initial GET, after navigation).
      Specified by:
      render in class AdminPage
    • 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.