com.highdeal.bart.hci
Enum RatingSessionModel.Mode

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

public static enum RatingSessionModel.Mode
extends java.lang.Enum<RatingSessionModel.Mode>


Enum Constant Summary
AZIMUT
          Deprecated. 
DAY_MOST
          Selection by day and rate all: In this mode, CDRs selected and rated by day.
DAY_SUBSCRIPTION_FIRSTFAIL
          Selection by day and stop on first fail: In this mode, CDRs selected and rated by day.
SUBSCRIPTION_FIRSTFAIL
          Selection by subscription and stop on first fail: In this mode, CDRs are rated group by subscription.
SUBSCRIPTION_MOST
          Selection by subscription and rate all: In this mode, CDRs are rated group by subscription.
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
          Windowed selection and stop on first fail: Same as SUBSCRIPTION_FIRSTFAIL, but CDR are selected from the database using windowing.
WINDOWED_SUBSCRIPTION_MOST
          Windowed selection and rate all: Same as SUBSCRIPTION_MOST, but CDR are selected from the database using windowing.
WINDOWED_SUBSCRIPTION_TRY
          Windowed selection and no commit: Same as SUBSCRIPTION_TRY, but CDR are selected from the database using windowing.
 
Method Summary
 int getCode()
           
static RatingSessionModel.Mode getFromCode(int code)
           
 java.lang.String getName()
           
 RatingSessionModel.RatingMode getRatingMode()
           
 RatingSessionModel.SelectionMode getSelectionMode()
           
static RatingSessionModel.Mode parse(java.lang.String name)
           
static RatingSessionModel.Mode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RatingSessionModel.Mode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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 Detail

values

public static RatingSessionModel.Mode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RatingSessionModel.Mode c : RatingSessionModel.Mode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RatingSessionModel.Mode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCode

public int getCode()

getName

public java.lang.String getName()

parse

public static RatingSessionModel.Mode parse(java.lang.String name)

getFromCode

public static RatingSessionModel.Mode getFromCode(int code)

getSelectionMode

public RatingSessionModel.SelectionMode getSelectionMode()

getRatingMode

public RatingSessionModel.RatingMode getRatingMode()

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)