Enum Class RatingSessionModel.Mode

java.lang.Object
java.lang.Enum<RatingSessionModel.Mode>
com.highdeal.bart.hci.RatingSessionModel.Mode
All Implemented Interfaces:
Serializable, Comparable<RatingSessionModel.Mode>, Constable
Enclosing class:
RatingSessionModel

public static enum RatingSessionModel.Mode extends Enum<RatingSessionModel.Mode>
  • Enum Constant Details

    • SUBSCRIPTION_FIRSTFAIL

      public static final RatingSessionModel.Mode SUBSCRIPTION_FIRSTFAIL
      Selection by subscription and stop on first fail: In this mode, CDRs are rated group by subscription. Each rating group is stopped on the first rating errors.
    • SUBSCRIPTION_MOST

      public static final RatingSessionModel.Mode SUBSCRIPTION_MOST
      Selection by subscription and rate all: In this mode, CDRs are rated group by subscription. The rating is never stopped even if there is rating errors.
    • SUBSCRIPTION_TRY

      public static final RatingSessionModel.Mode SUBSCRIPTION_TRY
      Selection by subscription and no commit: In this mode, CDR are rated but no CDR are commited on both side (SAP Convergent Charging BART and Core).
    • WINDOWED_SUBSCRIPTION_FIRSTFAIL

      public static final RatingSessionModel.Mode WINDOWED_SUBSCRIPTION_FIRSTFAIL
      Windowed selection and stop on first fail: Same as SUBSCRIPTION_FIRSTFAIL, but CDR are selected from the database using windowing. The rating on the windowed subscriptions is stopped on the first rating errors.
    • WINDOWED_SUBSCRIPTION_MOST

      public static final RatingSessionModel.Mode WINDOWED_SUBSCRIPTION_MOST
      Windowed selection and rate all: Same as SUBSCRIPTION_MOST, but CDR are selected from the database using windowing. The rating is never stopped even if there is rating errors.
    • WINDOWED_SUBSCRIPTION_TRY

      public static final RatingSessionModel.Mode WINDOWED_SUBSCRIPTION_TRY
      Windowed selection and no commit: Same as SUBSCRIPTION_TRY, but CDR are selected from the database using windowing. In this mode, CDR are rated but no CDR are commited on both side (SAP Convergent Charging BART and Core).
    • DAY_SUBSCRIPTION_FIRSTFAIL

      public static final RatingSessionModel.Mode DAY_SUBSCRIPTION_FIRSTFAIL
      Selection by day and stop on first fail: In this mode, CDRs selected and rated by day. The rating on the subscription is stopped on the first rating errors.
    • DAY_MOST

      public static final RatingSessionModel.Mode DAY_MOST
      Selection by day and rate all: In this mode, CDRs selected and rated by day. The rating is never stopped even if there is rating errors.
    • AZIMUT

      @Deprecated public static final RatingSessionModel.Mode AZIMUT
      Deprecated.
      In this mode, CDRs are selected through their Id (almost random). This mode should be used only for test purpose.
  • Method Details

    • values

      public static RatingSessionModel.Mode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RatingSessionModel.Mode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • getName

      public String getName()
    • parse

      public static RatingSessionModel.Mode parse(String name)
    • getFromCode

      public static RatingSessionModel.Mode getFromCode(int code)
    • getSelectionMode

      public RatingSessionModel.SelectionMode getSelectionMode()
    • getRatingMode

      public RatingSessionModel.RatingMode getRatingMode()