Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Method Detail

Value

Visibility

Public

Method Parameters

String (Exchange Subscriber Id), String (State Type Code)

Return Value

List<EnrollmentSpan>

Functionality

Use the enrollment span repository instance to get the enrollment spans from the repository that matches the exchange subscriber Id and the state type code.

Update Enrollment Span

Method Detail

Value

Visibility

Private

Method Parameters

EnrollmentSpanDto

Return Value

void

Functionality

Convert the dto object into an entity and persist the update

Create Enrollment Span (Overloaded Method)

Method Detail

Value

Visibility

Private

Method Parameters

EnrollmentSpanDto

Return Value

void

Functionality

Convert the dto object into an entity and persist the new enrollment span.

Create Enrollment Span (Overloaded Method)

Method Detail

Value

Visibility

Private

Method Parameters

AccountDto, EnrollmentSpanDto

Return Value

void

Functionality

Set the account primary key in the enrollment span object and invoke the overloaded create method to persist. Once the enrollment span is persisted, set the enrollment span primary key to the associated premium spans, populate the associated member key with each premium spans and call premium span helper to persist the premium spans.

Populate Member SK

Method Detail

Value

Visibility

Private

Method Parameters

MemberPremiumDto, Set<MemberDto>

Return Value

void

Functionality

Iterate through the member set, to identify the member to be linked with the premium span and link the member to the premium.