Class HelpDeskDAO

java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.HelpDeskDAO

public class HelpDeskDAO extends BillingDAO
  • Constructor Details

  • Method Details

    • searchTopicsWithMessages

      public void searchTopicsWithMessages(Pageable<Pair<HdTopic, List<HdMessage>>> result, int topicId)
    • getTopicWithMessages

      public HdTopic getTopicWithMessages(int topicId, boolean loadMessages)
    • getMessage

      public HdMessage getMessage(int topicId, HdMessage message)
    • updateMessage

      public int updateMessage(int topicId, HdMessage msg)
    • markMessageRead

      public void markMessageRead(int messageId)
    • setTopicState

      public void setTopicState(int topicId, boolean stateClose)
    • setTopicExecutor

      public void setTopicExecutor(int topicId, int billingUserId)
    • setTopicExecutorMe

      public void setTopicExecutorMe(int topicId)
    • setTopicStatus

      public void setTopicStatus(int contractId, int topicId, int status)
    • setTopicAutoClose

      public void setTopicAutoClose(int contractId, int topicId, boolean value)
    • setTopicCost

      public void setTopicCost(int contractId, int topicId, BigDecimal cost)
    • getAttach

      public byte[] getAttach(int contractId, int id) throws Exception
      Throws:
      Exception
    • putAttach

      public void putAttach(int messageId, String title, byte[] data) throws Exception
      Throws:
      Exception