Class AgentDetailComponent

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

public final class AgentDetailComponent extends Object implements UiComponent
Tabbed detail view for a single agent: Details / Tools / Sessions. The Tools and Sessions tabs are full-fat ToolTableComponent and SessionTableComponent instances; the Details tab is a compact UiDetail built inline.

The initialSection parameter and selectedRowId let the controller deep-link to e.g. "open this agent on the Tools tab with row X highlighted" — used after an add/edit operation so the user returns to the row they just touched.

  • Constructor Summary

    Constructors
    Constructor
    Description
    AgentDetailComponent(ai.mindconnect.agent.domain.AgentDefinition agent, String userId, ai.mindconnect.agent.port.out.AgentSessionRepository sessionRepository)
     
    AgentDetailComponent(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
    id()
    The DOM id this component renders with.
    ai.mindconnect.ui.model.UiSection
    Full render — emit the component as a UiNode.

    Methods inherited from class java.lang.Object

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

    • AgentDetailComponent

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

      public AgentDetailComponent(ai.mindconnect.agent.domain.AgentDefinition agent, String userId, ai.mindconnect.agent.port.out.AgentSessionRepository sessionRepository, String initialSection, String selectedRowId)
  • 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.UiSection 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