public class BusinessParams extends InfranetCachedData
InfranetCachedData.InstanceBuilder
Modifier and Type | Field and Description |
---|---|
static String |
BDOM_BILLING_DIR |
static String |
BILLING_CYCLE_OFFSET |
static String |
BILLING_PARAMS |
static String |
ENABLE_CORRECTIVE_INVOICES |
static String |
PIN_OBJ_TYPE_BUS_PARAMS |
m_Connection
Modifier | Constructor and Description |
---|---|
protected |
BusinessParams(PortalContext connection)
Construct a "business parameters" object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
doesParamExist(String groupName,
String paramName)
Determine if the specified parameter exists.
|
long |
getCurrentDB()
Hack method used to support a JavaServerConnection.
|
BigDecimal |
getDecimal(String groupName,
String paramName)
Get the specified parameter as a "big decimal" value from a "global"
configuration object.
|
static BusinessParams |
getInstance(PortalContext connection)
Get the one and only instance of this class.
|
static BusinessParams |
getInstance(PortalContext connection,
boolean rebuild)
Get the one and only instance of this class.
|
Integer |
getInt(String groupName,
String paramName)
Get the specified parameter as an integer value from a "global"
configuration object.
|
String |
getString(String groupName,
String paramName)
Get the specified parameter as a string value from a "global"
configuration object.
|
protected FList |
opcode(int op,
int flags,
FList in)
Hack method used to support a JavaServerConnection.
|
Date |
roundTo12AMApplyHourOffset(Date time)
Adjust the time value to 12 AM and then apply the billing
cycle offset (which is in hours).
|
protected FList |
searchForConfigObjects()
Call Portal to search for the specified configuration objects.
|
buildKey, buildKeySimple, createDataManagers, getInstanceImpl, getInstanceImplSimple
public static final String PIN_OBJ_TYPE_BUS_PARAMS
public static final String BILLING_PARAMS
public static final String BILLING_CYCLE_OFFSET
public static final String BDOM_BILLING_DIR
public static final String ENABLE_CORRECTIVE_INVOICES
protected BusinessParams(PortalContext connection)
connection
- An active connection to Portal.public static BusinessParams getInstance(PortalContext connection)
connection
- An active connection to Portal.public static BusinessParams getInstance(PortalContext connection, boolean rebuild)
connection
- An active connection to Portal.rebuild
- If this flag is TRUE then the reference to the existing
instance will be set to null and a new instance will be created. This
will cause the data to be refreshed.public boolean doesParamExist(String groupName, String paramName)
groupName
- The name of the group ("billing", "rating", "vse_ipt", etc.)
to retrieve the parameter from.paramName
- The name of the configuration parameter to retrieve
the value for.public Integer getInt(String groupName, String paramName) throws BusParamException
groupName
- The name of the group ("billing", "rating", "vse_ipt", etc.)
to retrieve the parameter from.paramName
- The name of the configuration parameter to retrieve
the value for.BusParamException
public String getString(String groupName, String paramName) throws BusParamException
groupName
- The name of the group ("billing", "rating", "vse_ipt", etc.)
to retrieve the parameter from.paramName
- The name of the configuration parameter to retrieve
the value for.BusParamException
public BigDecimal getDecimal(String groupName, String paramName) throws BusParamException
groupName
- The name of the group ("billing", "rating", "vse_ipt", etc.)
to retrieve the parameter from.paramName
- The name of the configuration parameter to retrieve
the value for.BusParamException
public Date roundTo12AMApplyHourOffset(Date time)
time
- the time value to adjustprotected FList searchForConfigObjects()
protected FList opcode(int op, int flags, FList in) throws EBufException
op
- Opcode to perform.flags
- Control Flags for opcode.in
- Opcode parameter FList.EBufException
- is trhown if an error occurs.public long getCurrentDB()
Copyright © 2003, 2023, Oracle and/or its affiliates.