Versions Compared

Key

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

s

Excerpt
hiddentrue

Enables developers to validate series of reservations against Booker25's conflict checking configuration.

...

Panel
borderColorgrey
titlevalidate(Context context)

This method takes one or more lists of reservations wrapped in a Context class, and adds any detected soft or hard conflicts to them.

Expand
titledetails


Panel

Signature

Code Block
languagejava
global static B25.BulkReservationValidator.Result validate(B25.BulkReservationValidator.Context context)

Parameters

Code Block
languagejava
B25.BulkReservationValidator.Context

An instance of B25.BulkReservationValidator.Context. This class wraps the series of reservations to be validated.

Return Type

Code Block
languagejava
B25.BulkReservationValidator.Result

This is a dummy class without properties. This allows us to add properties later without changing the method signature. For now, developers can ignore the result, because the validation results are added to the individual B25.BulkReservationValidator.Reservation instances that were passed as the input.



...