Class BackofficeClientManager

java.lang.Object
es.kukenan.smartfi.microservice.contracts.service.backoffice.BackofficeClientManager

@Component public class BackofficeClientManager extends Object
This components centralices back office clients management.
  • Field Details

  • Constructor Details

    • BackofficeClientManager

      public BackofficeClientManager()
  • Method Details

    • findClient

      public BackofficeClient findClient(UserBackoffice userBackoffice)
      Find the proper back office client for the given back office entity.
      Parameters:
      userBackoffice - the back office to find its client.
      Returns:
      the proper back office client for the given back office entity. If no such client is found, an UnexpectedException is thrown.