Tabnine Logo
RecordFinder.withId
Code IndexAdd Tabnine to your IDE (free)

How to use
withId
method
in
it.tidalwave.bluemarine2.model.finder.RecordFinder

Best Java code snippets using it.tidalwave.bluemarine2.model.finder.RecordFinder.withId (Showing top 1 results out of 315)

origin: it.tidalwave.bluemarine2/it-tidalwave-bluemarine2-rest

/*******************************************************************************************************************
 *
 * Exports a single record resource.
 *
 * @param   id          the record id
 * @param   source      the data source
 * @param   fallback    the fallback data source
 * @return              the JSON representation of the record
 *
 ******************************************************************************************************************/
@ResponseBody
@RequestMapping(value = "/record/{id}", produces = { APPLICATION_JSON_VALUE, APPLICATION_XML_VALUE })
public DetailedRecordResource getRecord (final @PathVariable String id,
                     final @RequestParam(required = false, defaultValue = "embedded") String source,
                     final @RequestParam(required = false, defaultValue = "embedded") String fallback)
 {
  log.info("getRecord({}, {}, {})", id, source, fallback);
  checkStatus();
  final List<TrackResource> tracks = finalized(catalog.findTracks().inRecord(new Id(id)), source, fallback, TrackResource::new);
  return single(finalized(catalog.findRecords().withId(new Id(id)), source, fallback,
              record -> new DetailedRecordResource(record, tracks)));
 }
it.tidalwave.bluemarine2.model.finderRecordFinderwithId

Popular methods of RecordFinder

  • containingTrack
  • madeBy
  • count
  • optionalFirstResult
  • stream

Popular in Java

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
  • putExtra (Intent)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Collectors (java.util.stream)
  • Notification (javax.management)
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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