Class BaseEndpoint

java.lang.Object
com.maplander.backend.controller.endpoint.base.BaseEndpoint
  • Field Details

    • log

      protected final Logger log
    • sessionFactory

      protected final org.hibernate.SessionFactory sessionFactory
  • Constructor Details

    • BaseEndpoint

      protected BaseEndpoint()
  • Method Details

    • executeInTransaction

      protected <R> R executeInTransaction(Function<org.hibernate.Session,R> work)
    • saveLeadAndInfo

      protected LeadInfo saveLeadAndInfo(Lead lead)
    • saveLeadAndInfo

      protected LeadInfo saveLeadAndInfo(Lead lead, boolean isNotification)