congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PartOfScoringPerformed
Code IndexAdd Tabnine to your IDE (free)

How to use
PartOfScoringPerformed
in
com.mploed.dddwithspring.scoring.appservices.internalevents

Best Java code snippets using com.mploed.dddwithspring.scoring.appservices.internalevents.PartOfScoringPerformed (Showing top 3 results out of 315)

origin: mploed/ddd-with-spring

  @Override
  public void onApplicationEvent(PartOfScoringPerformed event) {
    scoringApplicationService.performFinalScoring(event.getApplicationNumber());
  }
}
origin: mploed/ddd-with-spring

public void scoreApplication(CreditApplication creditApplication) {
  try {
    ApplicationNumber applicationNumber = creditApplication.getApplicationNumber();
    scoreApplicant(applicationNumber, creditApplication.getApplicant());
    scoreFinancialSituation(applicationNumber, creditApplication.getFinancialSituation());
    applicationEventPublisher.publishEvent(new PartOfScoringPerformed(this, applicationNumber));
  } catch (Throwable t) {
    t.printStackTrace();
  }
}
private void scoreFinancialSituation(ApplicationNumber applicationNumber, FinancialSituation financialSituation) {
origin: mploed/ddd-with-spring

public void scoreAgencyResult(String firstName, String lastName, String street, String postcode, String city, int agencyPoints ) {
  AgencyResultAggregate.AgencyResultBuilder agencyResultBuilder = new AgencyResultAggregate.AgencyResultBuilder()
      .forPerson(firstName,
          lastName,
          street,
          postcode,
          city)
      .withPoints(agencyPoints);
  AgencyResultAggregate agencyResultAggregate = agencyResultBuilder.build();
  agencyResultRepository.save(agencyResultAggregate);
  ApplicantResultProjection applicantResultProjection = applicantResultRepository.retrieve(agencyResultAggregate.getPersonId());
  applicationEventPublisher.publishEvent(new PartOfScoringPerformed(this, new ApplicationNumber(applicantResultProjection.getApplicationNumber())));
}
com.mploed.dddwithspring.scoring.appservices.internaleventsPartOfScoringPerformed

Most used methods

  • <init>
  • getApplicationNumber

Popular in Java

  • Making http requests using okhttp
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • JTable (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top plugins for WebStorm
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