Class TravelBackofficeNotificationUtils

java.lang.Object
de.hybris.platform.travelbackofficeservices.utils.TravelBackofficeNotificationUtils

public class TravelBackofficeNotificationUtils extends Object
Class to create notifications for backoffice under tasks section
  • Constructor Details

    • TravelBackofficeNotificationUtils

      public TravelBackofficeNotificationUtils()
  • Method Details

    • createNotificationAsWorkFlowAction

      public void createNotificationAsWorkFlowAction(ItemModel model, WorkflowActionStatus status, String message)
      Creates Notification as WorkFlowAciton on creation of a schedule
      Parameters:
      model - as the model
      status - as the status
      message - as the message
    • getPrincipalForWorkflow

      protected UserModel getPrincipalForWorkflow()
      Returns the userModel to be assigned to the Principal User
      Returns:
      the UserModel of the admin User
    • getI18nService

      protected de.hybris.platform.servicelayer.i18n.I18NService getI18nService()
      Returns:
      the i18nService
    • setI18nService

      public void setI18nService(de.hybris.platform.servicelayer.i18n.I18NService i18nService)
      Parameters:
      i18nService - the i18nService to set
    • getModelService

      protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      Returns:
      the modelService
    • setModelService

      public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
      Parameters:
      modelService - the modelService to set
    • getTimeService

      protected de.hybris.platform.servicelayer.time.TimeService getTimeService()
      Returns:
      the timeService
    • setTimeService

      public void setTimeService(de.hybris.platform.servicelayer.time.TimeService timeService)
      Parameters:
      timeService - the timeService to set
    • getSessionService

      protected de.hybris.platform.servicelayer.session.SessionService getSessionService()
      Returns:
      the sessionService
    • setSessionService

      public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
      Parameters:
      sessionService - the sessionService to set
    • getUserService

      protected de.hybris.platform.servicelayer.user.UserService getUserService()
      Returns:
      the userService
    • setUserService

      public void setUserService(de.hybris.platform.servicelayer.user.UserService userService)
      Parameters:
      userService - the userService to set