Codota Logo
HibernateConfigurationFileService.getGraphContext
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
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;
  }
}
org.jboss.windup.rules.apps.javaee.serviceHibernateConfigurationFileServicegetGraphContext

Popular methods of HibernateConfigurationFileService

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

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Collectors (java.util.stream)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now