Class ParameterValueCollector

  • All Implemented Interfaces:
    IParamValueCollector

    public class ParameterValueCollector
    extends java.lang.Object
    implements IParamValueCollector
    Collects together a set of parameter value objects in preparation for them to be stored in the database as a series of batch insert operations
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void collect​(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, DateParameter p)
      Process the given DateParameter p
      void collect​(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, LocationParameter p)
      Process the given LocationParameter p
      void collect​(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, NumberParameter p)
      Process the given NumberParameter p
      void collect​(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ProfileParameter p)
      Process the given ProfileParameter p
      void collect​(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, QuantityParameter p)
      Process the given QuantityParameter p
      void collect​(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, ReferenceParameter p)
      Process the given ReferenceParameter p
      void collect​(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, SecurityParameter p)
      Proces the given SecurityParameter p
      void collect​(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, StringParameter p)  
      void collect​(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, TagParameter p)
      Process the given TagParameter p
      void collect​(java.lang.String tenantId, java.lang.String requestShard, java.lang.String resourceType, java.lang.String logicalId, long logicalResourceId, TokenParameter p)
      Process the given TokenParameter p
      void publish​(IParamValueProcessor processor)
      Publish the values held in this collector using the given processor
      void publishValuesToCache()
      To be called after all the values are resolved and the database transaction is committed.
      void reset()
      Reset the state of the collector by clearing any values that have been previously collected
      • Methods inherited from class java.lang.Object

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