@AccessLevel(value=EXTERNAL)
public final class ICReassessmentCounters
extends java.lang.Object
This class is #EXTERNAL
to allow customers to record
their own custom products should they need to (which is the case if they have
their own implementation of ProgramGroupManager
.
Modifier and Type | Method and Description |
---|---|
static void |
clearCounters()
Remove the
ICReassessmentCounters facade scope key, a new one will
be created and set in to the facade on the next call of Object.getClass()
. |
static ICReassessmentCounters |
get()
Returns the transaction scoped
ICReassessmentCounters creating one
and setting it in to the facade scope first if necessary. |
java.util.Map<java.lang.String,java.lang.Long> |
getProductTypeToCreatedCount()
Returns the Map of String Product Type to the Long count of cases
created during the reassessment of the Integrated Case.
|
java.util.Map<java.lang.String,java.lang.Long> |
getProductTypeToDecisionChangedCount()
Returns the Map of String Product Type to the Long count of cases
with decision changed during the reassessment of the Integrated Case.
|
java.util.Map<java.lang.String,java.lang.Long> |
getProductTypeToReassessedCount()
Returns the Map of String Product Type to the Long count of cases
reassessed during the reassessment of the Integrated Case.
|
java.util.Map<java.lang.String,java.lang.Long> |
getProductTypeToSkippedCount()
Returns the Map of String Product Type to the Long count of cases
skipped during the reassessment of the Integrated Case.
|
long |
getTotalCreatedCount()
Returns total number of cases created, across all products, for the
reassessment of the Integrated Case.
|
int |
getTotalDecisionChangedCount()
Returns total number of cases decisions changed, across all products, for
the
reassessment of the Integrated Case.
|
int |
getTotalReassessedCount()
Returns total number of cases reassessed, across all products, for the
reassessment of the Integrated Case.
|
long |
getTotalSkippedCount()
Returns total number of cases skipped, across all products, for the
reassessment of the Integrated Case.
|
void |
incrementCreatedCount(java.lang.String productType,
long productID)
Increment the created count by 1 for the
productType passed. |
void |
incrementDecisionChangedCount(java.lang.String productType,
long productID)
Increment the decision changed count by 1 for the
productType
passed. |
void |
incrementReassessedCount(java.lang.String productType,
long productID)
Increment the reassessed count by 1 for the
productType
passed. |
void |
incrementSkippedCount(java.lang.String productType,
long productID)
Increment the skipped count by 1 for the
productType passed. |
java.lang.String |
toString() |
public static ICReassessmentCounters get()
ICReassessmentCounters
creating one
and setting it in to the facade scope first if necessary.ICReassessmentCounters
public static void clearCounters()
ICReassessmentCounters
facade scope key, a new one will
be created and set in to the facade on the next call of Object.getClass()
.public java.lang.String toString()
toString
in class java.lang.Object
public int getTotalReassessedCount()
public int getTotalDecisionChangedCount()
public long getTotalCreatedCount()
public long getTotalSkippedCount()
public java.util.Map<java.lang.String,java.lang.Long> getProductTypeToReassessedCount()
Map
public java.util.Map<java.lang.String,java.lang.Long> getProductTypeToDecisionChangedCount()
Map
public java.util.Map<java.lang.String,java.lang.Long> getProductTypeToCreatedCount()
Map
public java.util.Map<java.lang.String,java.lang.Long> getProductTypeToSkippedCount()
Map
public void incrementReassessedCount(java.lang.String productType, long productID)
productType
passed.
The productID
is required also to ensure against recording the
processing of the same product more than once.productType
- String Type of Product.productID
- Long ID of Product.public void incrementDecisionChangedCount(java.lang.String productType, long productID)
productType
passed.
The productID
is required also to ensure against recording the
processing of the same product more than once.productType
- String Type of Product.productID
- Long ID of Product.public void incrementCreatedCount(java.lang.String productType, long productID)
productType
passed.
The productID
is required also to ensure against recording the
creation of the same product more than once.productType
- String Type of Product.productID
- Long ID of Product.public void incrementSkippedCount(java.lang.String productType, long productID)
productType
passed.
The productID
is required also to ensure against recording the
creation of the same product more than once.productType
- String Type of Product.productID
- Long ID of Product.