Interface StorageHandler


public interface StorageHandler
A Handler for getting a Storage for Tickets
Since:
10.0.38
  • Method Details

    • getCallStorage

      Storage getCallStorage(Long id)
      Returns a Storage for a Call with the given id.
      Parameters:
      id - the id of the Call
      Returns:
      the Storage for the Call
      Since:
      13.0
    • getChatStorage

      Storage getChatStorage(Long id)
      Returns a Storage for a Chat with the given id.
      Parameters:
      id - the id of the Chat
      Returns:
      the Storage for the Chat
      Since:
      13.0
    • getTicketStorage

      Storage getTicketStorage(Long id)
      Returns a Storage for a Ticket with the given id.
      Parameters:
      id - the id of the Ticket
      Returns:
      the Storage for the Ticket
      Since:
      10.0.38
    • getCallStorages

      Map<Long,Storage> getCallStorages(Set<Long> callIds)
      Returns a Map of Long -> Storage for the specified Call ids. Please note that the maximum number of returned map entries is limited to 1000 to avoid huge memory consumption.
      Parameters:
      callIds - the set with the Call ids for the desired Call storages
      Returns:
      a Map of Long -> Storage for the given Call ids
      Since:
      13.0
    • getChatStorages

      Map<Long,Storage> getChatStorages(Set<Long> chatIds)
      Returns a Map of Long -> Storage for the specified Chat ids. Please note that the maximum number of returned map entries is limited to 1000 to avoid huge memory consumption.
      Parameters:
      chatIds - the set with the Chat ids for the desired Chat storages
      Returns:
      a Map of Long -> Storage for the given Chat ids
      Since:
      13.0
    • getTicketStorages

      Map<Long,Storage> getTicketStorages(Set<Long> ticketIds)
      Returns a Map of Long -> Storage for the specified Ticket ids. Please note that the maximum number of returned map entries is limited to 1000 to avoid huge memory consumption.
      Parameters:
      ticketIds - the set with the Ticket ids for the desired Ticket storages
      Returns:
      a Map of Long -> Storage for the given Ticket ids
      Since:
      10.0.120