Package ru.bitel.bgbilling.modules.voice.common.utils

# Class VoiceCommonUtils

java.lang.Object
ru.bitel.bgbilling.modules.voice.common.utils.VoiceCommonUtils

public class VoiceCommonUtils extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `VoiceCommonUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `agetModeOn(Preferences setup)`
  `static <N extends VoiceBaseCodeBean<N>>
  List<N>`
  `getDateSortedNormalizeList(List<N> list)`
  `static <N extends VoiceBaseCodeBean<N>>
  List<N>`
  `insertInHistory(N item, List<N> history)`
  `static <N> N`
  `readFromHolder(byte[] data)`
  `static <N> N`
  `readFromHolder(jakarta.xml.ws.Holder<jakarta.activation.DataHandler> data)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### VoiceCommonUtils

    public VoiceCommonUtils()

- ## Method Details

  - ### readFromHolder

    public static <N> N readFromHolder(jakarta.xml.ws.Holder<jakarta.activation.DataHandler> data) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### readFromHolder

    public static <N> N readFromHolder(byte[] data) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### getDateSortedNormalizeList

    public static <N extends VoiceBaseCodeBean<N>> List<N> getDateSortedNormalizeList(List<N> list)

  - ### insertInHistory

    public static <N extends VoiceBaseCodeBean<N>> List<N> insertInHistory(N item, List<N> history) throws CloneNotSupportedException
    Throws:
      `CloneNotSupportedException`

  - ### agetModeOn

    public static boolean agetModeOn(Preferences setup)