Class QueryHolder

    • Field Detail

      • query

        protected java.lang.String query
      • staticNamedQueryParams

        protected java.util.Map<java.lang.String,​java.lang.Object> staticNamedQueryParams
      • oldNamedQueryParams

        protected java.util.Map<java.lang.String,​java.lang.Object> oldNamedQueryParams
      • listener

        protected java.beans.PropertyChangeListener listener
    • Constructor Detail

      • QueryHolder

        public QueryHolder()
    • Method Detail

      • getBindingRepresentation

        public java.lang.String getBindingRepresentation()
      • getNamedQueryParams

        public java.util.Map<java.lang.String,​java.lang.Object> getNamedQueryParams()
        Processes all dynamic Named Query parameters, gets updated values, and merges the results with the static Named Query parameters, if any. Call this before executing your Named Query to ensure you have the most up-to-date parameter values
        Map containing Named Query parameter name/value pairs
      • startup

        public void startup​(CommonContext context)
        Tells tag listeners to subscribe
      • shutdown

        public void shutdown()
        Tells tag listeners to unsubscribe
      • getListener

        public java.beans.PropertyChangeListener getListener()
      • setListener

        public void setListener​(java.beans.PropertyChangeListener listener)
      • getQuery

        public java.lang.String getQuery()
      • setStaticNamedQueryParams

        public void setStaticNamedQueryParams​(java.util.Map<java.lang.String,​java.lang.Object> staticNamedQueryParams)