Class ExpirationConfiguration
java.lang.Object
java.util.Observable
oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
oracle.communication.brm.charging.appconfiguration.beans.housekeeping.ExpirationConfiguration
- All Implemented Interfaces:
Cloneable,ExpirationConfigurationMBean,oracle.communication.brm.charging.appconfiguration.ConfigurationBean,oracle.communication.brm.charging.util.directevolution.DEvolvable
public class ExpirationConfiguration
extends oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
implements ExpirationConfigurationMBean
Configuration for expiration interval for various objects.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Longstatic final Longstatic final Longstatic final Longstatic final Longstatic final Longstatic final Longstatic final Longstatic final Longstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
CONFIG_CLASS, M_BEAN_CATEGORY, NAME, POF_IMPL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionoracle.communication.brm.charging.util.directevolution.DEvolvablebooleanmethod called by the serializer obtain the Map for pof serializationReturns the debit refund session cleanup interval in daysReturns the default interval in milli seconds, which is the duration for which any expired object(purchased offerings, rating profiles and audits) need to be retained in the ECE system.Returns the default interval in days, which is the duration for which any expired object(purchased offerings, rating profiles and audits) need to be retained in the ECE system.Returns the default interval in milli seconds, which is the duration for which any expired balance item needs to be retained in the ECE system.Returns the default interval in days, which is the duration for which any expired balance item needs to be retained in the ECE system.Getter used for serializationReturns the default interval in days, which is the duration for which any expired balance item needs to be retained in the ECE system.longReturns the interval in milli seconds, which is the duration for which audit objects need to be retained in the ECE system since the time audit objects were created.Returns the interval in days, which is the duration for which audit objects need to be retained in the ECE system since the time audit objects were created.Returns interval in milli seconds, which is the duration for which any expired balance item for the given balance element code needs to be retained in the ECE system.Returns interval in days, which is the duration for which any expired balance item for the given balance element code needs to be retained in the ECE system.Returns the interval in milli seconds, which is the duration for which expired purchased alteration offerings need to be retained in the ECE system.Returns the interval in days, which is the duration for which expired purchased alteration offerings need to be retained in the ECE system.Returns the interval in milli seconds, which is the duration for which expired purchased alteration offerings need to be retained in the ECE system.Returns the interval in days, which is the duration for which expired purchased charge offerings need to be retained in the ECE system.Returns the interval in milli seconds, which is the duration for which expired rating profiles need to be retained in the ECE system.Returns the interval in days, which is the duration for which expired rating profiles need to be retained in the ECE system.voidgiveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper evolvableHelper) protected voidhandlePrintConfiguration(org.apache.logging.log4j.Logger logger) Method used by subclasses to dump their configuration settings to a log file.inthashCode()voidMethod used to persist and synchronize all app configuration beans to charging-settings.xml.voidsetBalanceItemExpirationList(List<BalanceItemExpirationConfiguration> balanceItemExpirationList) Sets the list for balance item expiration.voidsetDebitRefundSessionCleanUpIntervalInDays(Integer defaultDebitRefundSessionCleanUpIntervalInDays) Set the number of days we need to kepp the debit refund session info on Customer ObjectvoidsetDefaultExpirationRetentionIntervalInDays(Integer defaultExpirationRetentionIntervalInDays) Sets the default interval in days, which is the duration for which any expired object(purchased offerings, rating profiles and audits) needs to be retained in the ECE system.voidsetDefaultExpiredBalanceItemRetentionIntervalInDays(Integer defaultExpiredBalanceItemRetentionIntervalInDays) Sets the default interval in days, which is the duration for which any expired balance item needs to be retained in the ECE system.voidsetDefaultExpiredRBundleHistoryRetentionIntervalInDays(Integer defaultRBRetentionIntervalInDays) Sets the default interval in days, which is the duration for which recurring bundle history needs to be retained in ECE system.voidsetExpiredAsoRetentionIntervalInDays(Integer defaultAsoRetentionIntervalInDays) voidsetExpiredAuditRetentionIntervalInDays(Integer expiredAuditRetentionIntervalInDays) Sets the interval in days, which is the duration for which audit objects need to be retained in the ECE system since the time audit objects were created.voidsetExpiredBalanceItemRetentionIntervalInDays(String beCode, Long balanceItemExpirationInDays) Sets the interval in days, which is the duration for which any expired balance item for the given balance element code needs to be retained in the ECE system.voidsetExpiredPurchasedAlterationRetentionIntervalInDays(Integer expiredPurchasedAlterationRetentionIntervalInDays) Sets the interval in days, which is the duration for which expired purchased alteration offerings need to be retained in the ECE system.voidsetExpiredPurchasedChargesRetentionIntervalInDays(Integer expiredPurchasedChargesRetentionIntervalInDays) Sets the interval in days, which is the duration for which expired purchased charge offerings need to be retained in the ECE system.voidsetExpiredRatingProfileRetentionIntervalInDays(Integer expiredRatingProfileRetentionIntervalInDays) Sets the interval in days, which is the duration for which expired rating profiles need to be retained in the ECE system.Methods inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
broadcast, clone, getBeanId, getEvolutionData, getFilename, getImpl, getModifyingClusterName, getModifyingMemberId, printConfiguration, publish, publish, publishArrayItem, publishClearArray, publishRemoveArrayItem, registerBean, setBeanId, setEvolutionData, setFilename, setModifyingClusterName, toBinary, toString, unRegisterBeanMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Field Details
-
POF_EXPIRED_AUDIT_RETENTION_INTERVAL
public static final int POF_EXPIRED_AUDIT_RETENTION_INTERVAL- See Also:
-
POF_EXPIRED_PURCHASED_CHARGES_RETENTION_INTERVAL
public static final int POF_EXPIRED_PURCHASED_CHARGES_RETENTION_INTERVAL- See Also:
-
POF_EXPIRED_PURCHASED_ALTERATION_RETENTION_INTERVAL
public static final int POF_EXPIRED_PURCHASED_ALTERATION_RETENTION_INTERVAL- See Also:
-
POF_EXPIRED_RATING_PROFILE_RETENTION_INTERVAL
public static final int POF_EXPIRED_RATING_PROFILE_RETENTION_INTERVAL- See Also:
-
POF_DEFAULT_EXPIRATION_RETENTION_INTERVAL
public static final int POF_DEFAULT_EXPIRATION_RETENTION_INTERVAL- See Also:
-
POF_DEFAULT_EXPIRED_BALANCE_ITEM_RETENTION_INTERVAL
public static final int POF_DEFAULT_EXPIRED_BALANCE_ITEM_RETENTION_INTERVAL- See Also:
-
POF_BALANCE_ITEM_EXPIRATION_MAP
public static final int POF_BALANCE_ITEM_EXPIRATION_MAP- See Also:
-
POF_DEFAULT_RB_RETENTION_INTERVAL
public static final int POF_DEFAULT_RB_RETENTION_INTERVAL- See Also:
-
POF_EXPIRED_ASO_RETENTION_INTERVAL
public static final int POF_EXPIRED_ASO_RETENTION_INTERVAL- See Also:
-
POF_DEBIT_REFUND_SESSION_CLEAN_UP_INTERVAL
public static final int POF_DEBIT_REFUND_SESSION_CLEAN_UP_INTERVAL- See Also:
-
DEFAULT_EXPIRED_AUDIT_RETENTION_INTERVAL
-
DEFAULT_PURCHASED_CHARGES_RETENTION_INTERVAL
-
DEFAULT_PURCHASED_ALTERATION_RETENTION_INTERVAL
-
DEFAULT_RATING_PROFILE_RETENTION_INTERVAL
-
DEFAULT__RETENTION_INTERVAL
-
DEFAULT_BALANCE_ITEM_RETENTION_INTERVAL
-
DEFAULT_BUNDLE_HITORY_RETENTION_INTERVAL
-
DEFAULT_EXPIRED_ASO_RETENTION_INTERVAL
-
DEFAULT_DEBIT_REFUND_SESSION_CLEAN_UP_INTERVAL
-
-
Constructor Details
-
ExpirationConfiguration
public ExpirationConfiguration()Constructor for Expiration configuration bean. Initializes the balance item configuration map
-
-
Method Details
-
createInstance
public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()- Specified by:
createInstancein interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable
-
giveInitializerTo
public void giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper evolvableHelper) - Specified by:
giveInitializerToin interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable- Overrides:
giveInitializerToin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
getExpiredAuditRetentionIntervalInDays
Description copied from interface:ExpirationConfigurationMBeanReturns the interval in days, which is the duration for which audit objects need to be retained in the ECE system since the time audit objects were created.- Specified by:
getExpiredAuditRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Returns:
- duration in days for which audit objects need to be retained.
-
getExpiredPurchasedChargesRetentionIntervalInDays
Description copied from interface:ExpirationConfigurationMBeanReturns the interval in days, which is the duration for which expired purchased charge offerings need to be retained in the ECE system.- Specified by:
getExpiredPurchasedChargesRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Returns:
- duration for which expired purchased charge offerings need to be retained
-
getExpiredPurchasedAlterationRetentionIntervalInDays
Description copied from interface:ExpirationConfigurationMBeanReturns the interval in days, which is the duration for which expired purchased alteration offerings need to be retained in the ECE system.- Specified by:
getExpiredPurchasedAlterationRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Returns:
- duration for which expired purchased alteration offerings need to be retained
-
getExpiredRatingProfileRetentionIntervalInDays
Description copied from interface:ExpirationConfigurationMBeanReturns the interval in days, which is the duration for which expired rating profiles need to be retained in the ECE system.- Specified by:
getExpiredRatingProfileRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Returns:
- duration for which expired rating profiles need to be retained
-
getDefaultExpirationRetentionIntervalInDays
Description copied from interface:ExpirationConfigurationMBeanReturns the default interval in days, which is the duration for which any expired object(purchased offerings, rating profiles and audits) need to be retained in the ECE system.This value can be overridden by setting corresponding expiration interval for the individual objects
- Specified by:
getDefaultExpirationRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Returns:
- Default value for the duration for which expired objects need to be retained in the system
-
getDefaultExpiredBalanceItemRetentionIntervalInDays
Description copied from interface:ExpirationConfigurationMBeanReturns the default interval in days, which is the duration for which any expired balance item needs to be retained in the ECE system.This value can be overridden by setting expiration interval for each balance element.
- Specified by:
getDefaultExpiredBalanceItemRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Returns:
- Default duration for which any expired balance item needs to be retained in the ECE system.
-
getDefaultExpiredRBundleHistoryRetentionIntervalInDays
Description copied from interface:ExpirationConfigurationMBeanReturns the default interval in days, which is the duration for which any expired balance item needs to be retained in the ECE system.This value can be overridden by setting expiration interval for each balance element.
- Specified by:
getDefaultExpiredRBundleHistoryRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Returns:
- Default duration for which any expired balance item needs to be retained in the ECE system.
-
getExpiredBalanceItemRetentionIntervalInDays
Description copied from interface:ExpirationConfigurationMBeanReturns interval in days, which is the duration for which any expired balance item for the given balance element code needs to be retained in the ECE system.- Specified by:
getExpiredBalanceItemRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Parameters:
beCode- Alpha numeric code for the balance element for which the expiration time needs to be returned. Eg: USD, FREE_MIN etc- Returns:
- duration for which any expired balance item for the given balance element code needs to be retained
-
getExpiredAsoRetentionIntervalInDays
- Specified by:
getExpiredAsoRetentionIntervalInDaysin interfaceExpirationConfigurationMBean
-
getExpiredAsoRetentionInterval
public long getExpiredAsoRetentionInterval() -
getExpiredAuditRetentionInterval
Returns the interval in milli seconds, which is the duration for which audit objects need to be retained in the ECE system since the time audit objects were created.- Returns:
- duration in milli seconds for which audit objects need to be retained. Returns defaultExpirationRetentionInterval if the value is null
-
getExpiredPurchasedChargesRetentionInterval
Returns the interval in milli seconds, which is the duration for which expired purchased alteration offerings need to be retained in the ECE system.- Returns:
- duration for which expired purchased alteration offerings need to be retained.Returns defaultExpirationRetentionInterval if the value is null
-
getExpiredPurchasedAlterationRetentionInterval
Returns the interval in milli seconds, which is the duration for which expired purchased alteration offerings need to be retained in the ECE system.- Returns:
- duration for which expired purchased alteration offerings need to be retained.Returns defaultExpirationRetentionInterval if the value is null
-
getExpiredRatingProfileRetentionInterval
Returns the interval in milli seconds, which is the duration for which expired rating profiles need to be retained in the ECE system.- Returns:
- duration for which expired rating profiles need to be retained.Returns defaultExpirationRetentionInterval if the value is null
-
getDefaultExpirationRetentionInterval
Returns the default interval in milli seconds, which is the duration for which any expired object(purchased offerings, rating profiles and audits) need to be retained in the ECE system.- Returns:
- Default value for the duration for which expired objects need to be retained in the system
-
getDefaultExpiredRBundleHistoryRetentionInterval
Getter used for serialization- Returns:
- ExpiredRBundleHistoryRetentionInterval
-
getDefaultExpiredBalanceItemRetentionInterval
Returns the default interval in milli seconds, which is the duration for which any expired balance item needs to be retained in the ECE system.- Returns:
- Default duration for which any expired balance item needs to be retained in the ECE system.
-
getExpiredBalanceItemRetentionInterval
Returns interval in milli seconds, which is the duration for which any expired balance item for the given balance element code needs to be retained in the ECE system.- Parameters:
beCode- Alpha numeric code for the balance element for which the expiration time needs to be returned. Eg: USD, FREE_MIN etc- Returns:
- duration for which any expired balance item for the given balance element code needs to be retained.Returns defaultExpiredBalanceItemRetentionIntervalInDays if the value is null.
-
setBalanceItemExpirationList
public void setBalanceItemExpirationList(List<BalanceItemExpirationConfiguration> balanceItemExpirationList) throws oracle.communication.brm.charging.appconfiguration.AppConfigurationException Sets the list for balance item expiration. Used by apache configuration framework to construct the bean- Parameters:
balanceItemExpirationList- List containing expiration policies for various balance element- Throws:
oracle.communication.brm.charging.appconfiguration.AppConfigurationException- if an invalid value is specified.
-
getBalanceItemExpirationConfigurationMap
method called by the serializer obtain the Map for pof serialization- Returns:
- obtain the Map for pof serialization
-
setExpiredAuditRetentionIntervalInDays
Description copied from interface:ExpirationConfigurationMBeanSets the interval in days, which is the duration for which audit objects need to be retained in the ECE system since the time audit objects were created.- Specified by:
setExpiredAuditRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Parameters:
expiredAuditRetentionIntervalInDays- duration in days, for which audit objects need to be retained in ECE
-
setExpiredPurchasedChargesRetentionIntervalInDays
public void setExpiredPurchasedChargesRetentionIntervalInDays(Integer expiredPurchasedChargesRetentionIntervalInDays) Description copied from interface:ExpirationConfigurationMBeanSets the interval in days, which is the duration for which expired purchased charge offerings need to be retained in the ECE system.- Specified by:
setExpiredPurchasedChargesRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Parameters:
expiredPurchasedChargesRetentionIntervalInDays- Duration in days for which expired purchased charge offerings need to be retained
-
setExpiredPurchasedAlterationRetentionIntervalInDays
public void setExpiredPurchasedAlterationRetentionIntervalInDays(Integer expiredPurchasedAlterationRetentionIntervalInDays) Description copied from interface:ExpirationConfigurationMBeanSets the interval in days, which is the duration for which expired purchased alteration offerings need to be retained in the ECE system.- Specified by:
setExpiredPurchasedAlterationRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Parameters:
expiredPurchasedAlterationRetentionIntervalInDays- Duration in days for which expired purchased alteration offerings need to be retained.
-
setExpiredRatingProfileRetentionIntervalInDays
public void setExpiredRatingProfileRetentionIntervalInDays(Integer expiredRatingProfileRetentionIntervalInDays) Description copied from interface:ExpirationConfigurationMBeanSets the interval in days, which is the duration for which expired rating profiles need to be retained in the ECE system.- Specified by:
setExpiredRatingProfileRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Parameters:
expiredRatingProfileRetentionIntervalInDays- Duration for which expired rating profiles need to be retained
-
setDefaultExpirationRetentionIntervalInDays
public void setDefaultExpirationRetentionIntervalInDays(Integer defaultExpirationRetentionIntervalInDays) Description copied from interface:ExpirationConfigurationMBeanSets the default interval in days, which is the duration for which any expired object(purchased offerings, rating profiles and audits) needs to be retained in the ECE system.This value is overridden by expiration interval set for the individual objects
- Specified by:
setDefaultExpirationRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Parameters:
defaultExpirationRetentionIntervalInDays- duration for which any expired object needs to be retained
-
setDefaultExpiredBalanceItemRetentionIntervalInDays
public void setDefaultExpiredBalanceItemRetentionIntervalInDays(Integer defaultExpiredBalanceItemRetentionIntervalInDays) Description copied from interface:ExpirationConfigurationMBeanSets the default interval in days, which is the duration for which any expired balance item needs to be retained in the ECE system.This value can be overridden by setting expiration interval for each balance element.
- Specified by:
setDefaultExpiredBalanceItemRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Parameters:
defaultExpiredBalanceItemRetentionIntervalInDays- duration for which any expired balance item needs to be retained
-
setDefaultExpiredRBundleHistoryRetentionIntervalInDays
public void setDefaultExpiredRBundleHistoryRetentionIntervalInDays(Integer defaultRBRetentionIntervalInDays) Description copied from interface:ExpirationConfigurationMBeanSets the default interval in days, which is the duration for which recurring bundle history needs to be retained in ECE system.- Specified by:
setDefaultExpiredRBundleHistoryRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Parameters:
defaultRBRetentionIntervalInDays- duration for which recurring bundle history needs to be retained
-
setExpiredBalanceItemRetentionIntervalInDays
public void setExpiredBalanceItemRetentionIntervalInDays(String beCode, Long balanceItemExpirationInDays) Description copied from interface:ExpirationConfigurationMBeanSets the interval in days, which is the duration for which any expired balance item for the given balance element code needs to be retained in the ECE system.This method overrides the default expired balance item retention interval set by @{setDefaultExpiredBalanceItemRetentionIntervalInDays}
- Specified by:
setExpiredBalanceItemRetentionIntervalInDaysin interfaceExpirationConfigurationMBean- Parameters:
beCode- Alpha numeric code for the balance element for which the expiration time needs to be setbalanceItemExpirationInDays- duration for which any expired balance item for the given balance element code needs to be retained in the ECE system
-
setExpiredAsoRetentionIntervalInDays
- Specified by:
setExpiredAsoRetentionIntervalInDaysin interfaceExpirationConfigurationMBean
-
getDebitRefundSessionCleanUpIntervalInDays
Description copied from interface:ExpirationConfigurationMBeanReturns the debit refund session cleanup interval in days- Specified by:
getDebitRefundSessionCleanUpIntervalInDaysin interfaceExpirationConfigurationMBean- Returns:
- debit refund session clean up intervals in days
-
getDebitRefundSessionCleanUpInterval
-
setDebitRefundSessionCleanUpIntervalInDays
public void setDebitRefundSessionCleanUpIntervalInDays(Integer defaultDebitRefundSessionCleanUpIntervalInDays) Description copied from interface:ExpirationConfigurationMBeanSet the number of days we need to kepp the debit refund session info on Customer Object- Specified by:
setDebitRefundSessionCleanUpIntervalInDaysin interfaceExpirationConfigurationMBean- Parameters:
defaultDebitRefundSessionCleanUpIntervalInDays-
-
handlePrintConfiguration
protected void handlePrintConfiguration(org.apache.logging.log4j.Logger logger) Description copied from class:oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBeanMethod used by subclasses to dump their configuration settings to a log file.- Specified by:
handlePrintConfigurationin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean- Parameters:
logger- the logger is provided to subclassers for writing their config values.
-
republishAll
public void republishAll()Description copied from interface:oracle.communication.brm.charging.appconfiguration.ConfigurationBeanMethod used to persist and synchronize all app configuration beans to charging-settings.xml.- Specified by:
republishAllin interfaceoracle.communication.brm.charging.appconfiguration.ConfigurationBean
-
equals
- Overrides:
equalsin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
hashCode
public int hashCode()- Overrides:
hashCodein classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-