public static enum RatingSessionModel.Mode extends java.lang.Enum<RatingSessionModel.Mode>
| Enum Constant and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final RatingSessionModel.Mode SUBSCRIPTION_FIRSTFAIL
public static final RatingSessionModel.Mode SUBSCRIPTION_MOST
public static final RatingSessionModel.Mode SUBSCRIPTION_TRY
public static final RatingSessionModel.Mode WINDOWED_SUBSCRIPTION_FIRSTFAIL
SUBSCRIPTION_FIRSTFAIL, but CDR are selected from the database using windowing.
The rating on the windowed subscriptions is stopped on the first rating errors.public static final RatingSessionModel.Mode WINDOWED_SUBSCRIPTION_MOST
SUBSCRIPTION_MOST, but CDR are selected from the database using windowing.
The rating is never stopped even if there is rating errors.public static final RatingSessionModel.Mode WINDOWED_SUBSCRIPTION_TRY
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).public static final RatingSessionModel.Mode DAY_SUBSCRIPTION_FIRSTFAIL
public static final RatingSessionModel.Mode DAY_MOST
@Deprecated public static final RatingSessionModel.Mode AZIMUT
public static RatingSessionModel.Mode[] values()
for (RatingSessionModel.Mode c : RatingSessionModel.Mode.values()) System.out.println(c);
public static RatingSessionModel.Mode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
public java.lang.String getName()
public static RatingSessionModel.Mode parse(java.lang.String name)
public static RatingSessionModel.Mode getFromCode(int code)
public RatingSessionModel.SelectionMode getSelectionMode()
public RatingSessionModel.RatingMode getRatingMode()