public class SystemDefaultsManager extends InfranetCachedData
InfranetCachedData.InstanceBuilder
m_Connection
Modifier | Constructor and Description |
---|---|
protected |
SystemDefaultsManager(PortalContext connection)
Constructs a "system defaults" Manager object.
|
Modifier and Type | Method and Description |
---|---|
BusinessTypeData[] |
getBusinessTypes()
Retrieves the array of supported business types from the
"/config/business_type" object.
|
static SystemDefaultsManager |
getInstance(PortalContext connection)
Get the one and only instance of this class.
|
static SystemDefaultsManager |
getInstance(PortalContext connection,
boolean rebuild)
Get the one and only instance of this class.
|
PaymentMethodData[] |
getPaymentMethodData()
Return the array of "payment method" objects for all of the payment
methods supported by Portal.
|
int[] |
getPaymentMethodIndicies()
Returns the array of indicies for the various "payment methods"
supported by Portal.
|
int |
getPrimaryCurrency() |
buildKey, buildKeySimple, createDataManagers, getInstanceImpl, getInstanceImplSimple
protected SystemDefaultsManager(PortalContext connection)
connection
- An active connection to Portal.public static SystemDefaultsManager getInstance(PortalContext connection)
connection
- An active connection to Portal.public static SystemDefaultsManager 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 int getPrimaryCurrency()
public PaymentMethodData[] getPaymentMethodData()
public int[] getPaymentMethodIndicies()
public BusinessTypeData[] getBusinessTypes()
null
is returned.Copyright © 2003, 2023, Oracle and/or its affiliates.