Package com.onec.ui

Class InformationRegisterQueryService

java.lang.Object
com.onec.ui.InformationRegisterQueryService

public class InformationRegisterQueryService extends Object
Read-side queries for information registers, used to drive related-list panels backed by a register junction (see RelatedList, Junctions). Pure data access — access control stays with the callers. Read-only by design for now: a register-backed relationship renders both-direction panels but isn't edited inline (info registers have no generic write REST surface yet).
  • Constructor Details

    • InformationRegisterQueryService

      public InformationRegisterQueryService(MetadataRegistry registry, org.jdbi.v3.core.Jdbi jdbi)
  • Method Details

    • relatedRows

      public List<Map<String,Object>> relatedRows(InformationRegisterDescriptor desc, String viaColumn, UUID parentId)
      Register rows whose viaColumn ref dimension points at parentId — the read side of a register-backed related-list panel. Ordered by _id for a stable roster. Refs are resolved (so the display dimension shows its description), exactly like the catalog join read. viaColumn must be a real column on desc (the caller resolves it from the register's scanned dimensions, never from user input) so this stays injection-safe. Information registers carry no soft-delete flag, so every stored row counts.