Tabnine Logo
HibernateConfigurationFileService.findAll
Code IndexAdd Tabnine to your IDE (free)

How to use
findAll
method
in
org.jboss.windup.rules.apps.javaee.service.HibernateConfigurationFileService

Best Java code snippets using org.jboss.windup.rules.apps.javaee.service.HibernateConfigurationFileService.findAll (Showing top 3 results out of 315)

origin: org.jboss.windup.rules.apps/windup-rules-java-ee

  /**
   * Gets an {@link Iterable} of {@link HibernateConfigurationFileModel}s for the given {@link ProjectModel}.
   */
  public Iterable<HibernateConfigurationFileModel> findAllByApplication(final ProjectModel application)
  {
    List<HibernateConfigurationFileModel> results = new ArrayList<>();

    for (HibernateConfigurationFileModel model : findAll())
    {
      Set<ProjectModel> modelApplications = ProjectTraversalCache.getApplicationsForProject(getGraphContext(), model.getProjectModel());
      if (modelApplications.contains(application))
        results.add(model);
    }
    return results;
  }
}
origin: windup/windup

  /**
   * Gets an {@link Iterable} of {@link HibernateConfigurationFileModel}s for the given {@link ProjectModel}.
   */
  public Iterable<HibernateConfigurationFileModel> findAllByApplication(final ProjectModel application)
  {
    List<HibernateConfigurationFileModel> results = new ArrayList<>();

    for (HibernateConfigurationFileModel model : findAll())
    {
      Set<ProjectModel> modelApplications = ProjectTraversalCache.getApplicationsForProject(getGraphContext(), model.getProjectModel());
      if (modelApplications.contains(application))
        results.add(model);
    }
    return results;
  }
}
origin: org.jboss.windup.rules.apps/rules-java-ee

for (HibernateConfigurationFileModel hibernateConfig : hibernateConfigurationFileService.findAll())
org.jboss.windup.rules.apps.javaee.serviceHibernateConfigurationFileServicefindAll

Javadoc

Gets an Iterable of HibernateConfigurationFileModels for the given ProjectModel.

Popular methods of HibernateConfigurationFileService

  • <init>
  • addTypeToModel
  • findAllByApplication
    Gets an Iterable of HibernateConfigurationFileModels for the given ProjectModel.
  • getGraphContext

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • JList (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top 17 Free Sublime Text Plugins
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