Class BuiltInViewV1

java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.v1.responses.components.BuiltInViewV1
All Implemented Interfaces:
ToSchema

public class BuiltInViewV1 extends Object implements ToSchema
Built-in ownership view. Keep expression objects intact on the wire.
  • Constructor Details

    • BuiltInViewV1

      public BuiltInViewV1()
      Constructor for schema publication.
    • BuiltInViewV1

      public BuiltInViewV1(QFrontendBuiltInView wrapped)
      Constructor for metadata responses.
  • Method Details

    • getName

      public String getName()
      Stable view identifier.
    • getLabel

      public String getLabel()
      User-facing view label.
    • getFilter

      public QQueryFilter getFilter()
      A reusable filter; CurrentUser is displayed as "Me" by clients.
    • toSchema

      public Schema toSchema()
      This additive schema describes the built-in ownership filter without changing the older QueryFilter response's string-only values contract.
      Specified by:
      toSchema in interface ToSchema