Class SpringQueryService<T extends RootEntity>

java.lang.Object
com.cloudimpl.outstack.spring.component.SpringQueryService<T>
Type Parameters:
T -
All Implemented Interfaces:
java.util.function.Function<CloudMessage,​org.reactivestreams.Publisher>
Direct Known Subclasses:
AuthClientQueryService, ConfigQueryService, DomainContextQueryService, PolicyQueryService, PolicyStatementQueryService, ServiceModuleQueryService

public class SpringQueryService<T extends RootEntity>
extends java.lang.Object
implements java.util.function.Function<CloudMessage,​org.reactivestreams.Publisher>
Author:
nuwan
  • Constructor Summary

    Constructors
    Constructor Description
    SpringQueryService​(EventRepositoryFactory factory)  
  • Method Summary

    Modifier and Type Method Description
    static void $​(java.lang.Class<? extends EntityQueryHandler<?,​?,​?>> handler)  
    static void $$​(java.lang.Class<? extends Entity> entityType)  
    org.reactivestreams.Publisher apply​(CloudMessage msg)  
    static boolean filter​(java.lang.Class<? extends RootEntity> rootType, java.lang.Class<? extends Handler<?>> handlerType)  
    static boolean filterEntity​(java.lang.Class<? extends RootEntity> rootType, java.lang.Class<? extends Entity> entityType)  
    static java.util.Collection<java.lang.Class<? extends Handler<?>>> handlers​(java.lang.Class<? extends RootEntity> rootType)  
    static java.util.Collection<java.lang.Class<? extends Entity>> queryEntities​(java.lang.Class<? extends RootEntity> rootType)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Constructor Details

  • Method Details

    • $

      public static void $​(java.lang.Class<? extends EntityQueryHandler<?,​?,​?>> handler)
    • $$

      public static void $$​(java.lang.Class<? extends Entity> entityType)
    • apply

      public org.reactivestreams.Publisher apply​(CloudMessage msg)
      Specified by:
      apply in interface java.util.function.Function<CloudMessage,​org.reactivestreams.Publisher>
    • filter

      public static boolean filter​(java.lang.Class<? extends RootEntity> rootType, java.lang.Class<? extends Handler<?>> handlerType)
    • filterEntity

      public static boolean filterEntity​(java.lang.Class<? extends RootEntity> rootType, java.lang.Class<? extends Entity> entityType)
    • handlers

      public static java.util.Collection<java.lang.Class<? extends Handler<?>>> handlers​(java.lang.Class<? extends RootEntity> rootType)
    • queryEntities

      public static java.util.Collection<java.lang.Class<? extends Entity>> queryEntities​(java.lang.Class<? extends RootEntity> rootType)