Class NewMessagesPersonalTask

java.lang.Object
ru.bitel.bgbilling.kernel.task.server.TaskBase
ru.bitel.bgbilling.plugins.helpdesk.server.task.NewMessagesPersonalTask

public class NewMessagesPersonalTask extends ru.bitel.bgbilling.kernel.task.server.TaskBase
Рассылка уведомлений каждому юзеру о его темах с новыми ответами. И о незанятых темах. Из конфига задачи берутся параметры : user.<user>.mail и user.<user>.jid для рассылки по ним объявлений, если они не указаны, то юзеру ничего приходить не будет, конечно же. Адрес для мыла from берётся как и положено из сетапа. Джид для жабера-рассыльщика и его пароль - в сетапе серверном тоже ( jabber.jid, jabber.password ). В конфиге задачи можно ставить параметры: mail.body, mail.subject, mail.bodypart.
  • Field Summary

    Fields inherited from class ru.bitel.bgbilling.kernel.task.server.TaskBase

    defaultDescription, log, moduleId, setup, STATUS_FINISHED, STATUS_FINISHED_INTERRUPTED, STATUS_NOTSTARTED, STATUS_WORKING, taskId, taskSetup
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
     
    protected boolean
     

    Methods inherited from class ru.bitel.bgbilling.kernel.task.server.TaskBase

    getFinishTime, getModuleId, getOperatingTime, getPriority, getStartTime, getTaskSetup, getTaskStatus, getWorkingTime, initModuleId, initTask, putMyselfIntoTable, removeMyselfFromTable, run, runLocal, setExecutingTime, setModuleId, setPriority, startTask

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NewMessagesPersonalTask

      public NewMessagesPersonalTask()
  • Method Details

    • getDescription

      public String getDescription()
      Specified by:
      getDescription in class ru.bitel.bgbilling.kernel.task.server.TaskBase
    • initTask

      protected boolean initTask()
      Specified by:
      initTask in class ru.bitel.bgbilling.kernel.task.server.TaskBase
    • executeTask

      protected void executeTask()
      Specified by:
      executeTask in class ru.bitel.bgbilling.kernel.task.server.TaskBase