Class QueryHelper

java.lang.Object
com.cloudimpl.outstack.runtime.domainspec.QueryHelper

public class QueryHelper
extends java.lang.Object
Author:
nuwan
  • Constructor Summary

    Constructors
    Constructor Description
    QueryHelper()  
  • Method Summary

    Modifier and Type Method Description
    static Query withId​(Query query, java.lang.String id)  
    static Query withPageable​(Query query, Query.PagingRequest pageable)  
    static Query withRootId​(Query query, java.lang.String rootId)  
    static Query withTenantId​(Query query, java.lang.String tenantId)  
    static Query withVersion​(Query query, java.lang.String version)  

    Methods inherited from class java.lang.Object

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

    • QueryHelper

      public QueryHelper()
  • Method Details

    • withRootId

      public static Query withRootId​(Query query, java.lang.String rootId)
    • withTenantId

      public static Query withTenantId​(Query query, java.lang.String tenantId)
    • withId

      public static Query withId​(Query query, java.lang.String id)
    • withVersion

      public static Query withVersion​(Query query, java.lang.String version)
    • withPageable

      public static Query withPageable​(Query query, Query.PagingRequest pageable)