Class AslCleanupPostProcessor

java.lang.Object
org.ehrbase.openehr.aqlengine.asl.AslCleanupPostProcessor
All Implemented Interfaces:
AslPostProcessor, org.springframework.core.Ordered

@Component public class AslCleanupPostProcessor extends Object implements AslPostProcessor
  • Constructor Details

    • AslCleanupPostProcessor

      public AslCleanupPostProcessor()
  • Method Details

    • afterBuildAsl

      public void afterBuildAsl(AslRootQuery aslRootQuery, org.ehrbase.openehr.sdk.aql.dto.AqlQuery aqlQuery, AqlQueryWrapper aqlQueryWrapper, AqlQueryRequest aqlQueryRequest)
      Description copied from interface: AslPostProcessor
      Invoked after the building the AslRootQuery and before building the DB query. This method can be used to modify the AslRootQuery inplace. Modifications of the given AqlQuery or AqlQueryWrapper will not have any effect on the generated DB query.
      Specified by:
      afterBuildAsl in interface AslPostProcessor
      Parameters:
      aslRootQuery - the AslRootQuery built based on aqlQuery and aqlQueryWrapper
      aqlQuery - the parsed and post-processed AqlQuery
      aqlQueryWrapper - the AqlQueryWrapper created from aqlQuery
      aqlQueryRequest - the AqlQueryRequest provided to the service
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered