Tabnine Logo
FilterDefinition.getParameterNames
Code IndexAdd Tabnine to your IDE (free)

How to use
getParameterNames
method
in
org.hibernate.engine.spi.FilterDefinition

Best Java code snippets using org.hibernate.engine.spi.FilterDefinition.getParameterNames (Showing top 4 results out of 315)

origin: hibernate/hibernate-orm

  /**
   * Perform validation of the filter state.  This is used to verify the
   * state of the filter after its enablement and before its use.
   *
   * @throws HibernateException If the state is not currently valid.
   */
  public void validate() throws HibernateException {
    // for each of the defined parameters, make sure its value
    // has been set

    for ( final String parameterName : definition.getParameterNames() ) {
      if ( parameters.get( parameterName ) == null ) {
        throw new HibernateException(
            "Filter [" + getName() + "] parameter [" + parameterName + "] value not set"
        );
      }
    }
  }
}
origin: org.hibernate/com.springsource.org.hibernate

  /**
   * Perform validation of the filter state.  This is used to verify the
   * state of the filter after its enablement and before its use.
   *
   * @throws HibernateException If the state is not currently valid.
   */
  public void validate() throws HibernateException {
    // for each of the defined parameters, make sure its value
    // has been set
    Iterator itr = definition.getParameterNames().iterator();
    while ( itr.hasNext() ) {
      final String parameterName = (String) itr.next();
      if ( parameters.get( parameterName ) == null ) {
        throw new HibernateException(
            "Filter [" + getName() + "] parameter [" + parameterName + "] value not set"
        );
      }
    }
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

  /**
   * Perform validation of the filter state.  This is used to verify the
   * state of the filter after its enablement and before its use.
   *
   * @throws HibernateException If the state is not currently valid.
   */
  public void validate() throws HibernateException {
    // for each of the defined parameters, make sure its value
    // has been set
    Iterator itr = definition.getParameterNames().iterator();
    while ( itr.hasNext() ) {
      final String parameterName = (String) itr.next();
      if ( parameters.get( parameterName ) == null ) {
        throw new HibernateException(
            "Filter [" + getName() + "] parameter [" + parameterName + "] value not set"
        );
      }
    }
  }
}
origin: org.hibernate.orm/hibernate-core

  /**
   * Perform validation of the filter state.  This is used to verify the
   * state of the filter after its enablement and before its use.
   *
   * @throws HibernateException If the state is not currently valid.
   */
  public void validate() throws HibernateException {
    // for each of the defined parameters, make sure its value
    // has been set

    for ( final String parameterName : definition.getParameterNames() ) {
      if ( parameters.get( parameterName ) == null ) {
        throw new HibernateException(
            "Filter [" + getName() + "] parameter [" + parameterName + "] value not set"
        );
      }
    }
  }
}
org.hibernate.engine.spiFilterDefinitiongetParameterNames

Javadoc

Get a set of the parameters defined by this configuration.

Popular methods of FilterDefinition

  • <init>
    Construct a new FilterDefinition instance.
  • getDefaultFilterCondition
  • getFilterName
    Get the name of the filter this configuration defines.
  • getParameterType
    Retrieve the type of the named parameter defined for this filter.
  • getParameterTypes

Popular in Java

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • JFrame (javax.swing)
  • JTable (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now