public class ReasonCodeManager extends InfranetCachedData
InfranetCachedData.InstanceBuilder
m_Connection
Modifier | Constructor and Description |
---|---|
protected |
ReasonCodeManager(PortalContext connection)
Construct an Portal Reason Code Manager object.
|
Modifier and Type | Method and Description |
---|---|
static ReasonCodeManager |
getInstance(PortalContext connection)
Get the one and only instance of this class.
|
static ReasonCodeManager |
getInstance(PortalContext connection,
boolean rebuild)
Get the one and only instance of this class.
|
Vector |
getReasonData(int reasonType,
Locale javaLocale,
int matchType)
Return the vector of "reason code data" classes for the specified
reason type (credit, debit, etc.) Return the reason description
text in the specified Java locale.
|
Vector |
getReasonData(int reasonType,
String infranetLocale,
int matchType)
Return the vector of "reason code data" classes for the specified
reason type (credit, debit, etc.) Return the reason description
text in the specified locale.
|
ReasonCodeData[] |
getReasonDataAsArray(int reasonType,
Locale javaLocale,
int matchType)
Return the array of "reason code data" classes for the specified
reason type (credit, debit, etc.) Return the reason description
text in the specified Java locale.
|
ReasonCodeData[] |
getReasonDataAsArray(int reasonType,
String infranetLocale,
int matchType)
Return the array of "reason code data" classes for the specified reason
type (credit, debit, etc.) Return the reason description text in the
specified locale.
|
buildKey, buildKeySimple, createDataManagers, getInstanceImpl, getInstanceImplSimple
protected ReasonCodeManager(PortalContext connection)
connection
- An active connection to Portal.public static ReasonCodeManager getInstance(PortalContext connection)
connection
- An active connection to Portal.public static ReasonCodeManager 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 Vector getReasonData(int reasonType, String infranetLocale, int matchType)
infranetLocale
- The Portal locale to return the "reason"
description strings in (English, French, etc.)reasonType
- The type of "reason data" (credit, debit, etc.) to
return.matchType
- Using the specified locale do an exact match, a
match by language only, or an exact match followed by a match by
language only. Can be one of the following constants:
InfranetLocaleManager.LocaleExactMatch, InfranetLocaleManager.LocaleLangMatch,
InfranetLocaleManager.LocaleExactMatchThenLangMatch.public Vector getReasonData(int reasonType, Locale javaLocale, int matchType)
javaLocale
- The Java locale to return the "reason" description
strings in (English, French, etc.)reasonType
- The type of "reason data" (credit, debit, etc.) to
return.matchType
- Using the specified locale do an exact match, a
match by language only, or an exact match followed by a match by
language only. Can be one of the following constants:
InfranetLocaleManager.LocaleExactMatch, InfranetLocaleManager.LocaleLangMatch,
InfranetLocaleManager.LocaleExactMatchThenLangMatch.public ReasonCodeData[] getReasonDataAsArray(int reasonType, String infranetLocale, int matchType)
infranetLocale
- The Portal locale to return the "reason"
description strings in (English, French, etc.)reasonType
- The type of "reason data" (credit, debit, etc.) to
return.matchType
- Using the specified locale do an exact match, a
match by language only, or an exact match followed by a match by
language only. Can be one of the following constants:
InfranetLocaleManager.LocaleExactMatch, InfranetLocaleManager.LocaleLangMatch,
InfranetLocaleManager.LocaleExactMatchThenLangMatch.public ReasonCodeData[] getReasonDataAsArray(int reasonType, Locale javaLocale, int matchType)
javaLocale
- The Java locale to return the "reason" description
strings in (English, French, etc.)reasonType
- The type of "reason data" (credit, debit, etc.) to
return.matchType
- Using the specified locale do an exact match, a
match by language only, or an exact match followed by a match by
language only. Can be one of the following constants:
InfranetLocaleManager.LocaleExactMatch, InfranetLocaleManager.LocaleLangMatch,
InfranetLocaleManager.LocaleExactMatchThenLangMatch.Copyright © 2003, 2023, Oracle and/or its affiliates.