public class ConfigItemType extends ConstantObject
Modifier and Type | Field and Description |
---|---|
static ConfigItemType |
APPEND_CURRENT_USER_PERMISSION
Deprecated.
|
static int |
APPEND_CURRENT_USER_PERMISSION_AS_INT
Deprecated.
|
static ConfigItemType |
CACHE_TTL
Designates the integer configuration item concerning the BDS Cache Time-To-Live value (in minutes)
|
static int |
CACHE_TTL_AS_INT |
static java.lang.Integer |
DEFAULT_CACHE_TTL
Default cache time-to-live value in minutes.
|
static java.lang.Integer |
DEFAULT_EXCEPTION_LOG_DETAIL
Default exception logging value.
|
static java.lang.Integer |
DEFAULT_MAX_DECLASSIFY
Default DoDCh4 max declassify timeframe in years.
|
static ConfigItemType |
DODCHAPTER4_DECLASSIFY_TIMELIMIT
Designates the integer configuration item concerning the DoD Chapter 4 maximum declassify time limit value (in years).
|
static int |
DODCHAPTER4_DECLASSIFY_TIMELIMIT_AS_INT |
static int |
EXCEPTION_LOG_INCLUDE_DIAG_STACKTRACES
Exception logging includes localized message string and ErrorStack with
Diagnostic stacktraces.
|
static int |
EXCEPTION_LOG_INCLUDE_ERRORSTACK
Exception logging includes localized message string and abbreviated ErrorStack.
|
static int |
EXCEPTION_LOG_MSG_ONLY
Exception logging only includes localized message string.
|
static ConfigItemType |
EXCEPTION_LOGGING_DETAIL
Designates the amount of textual detail to log for instances of
BDSException . |
static int |
EXCEPTION_LOGGING_DETAIL_AS_INT |
static int |
MINIMUM_CACHE_TTL
Minimum cache time-to-live value in minutes.
|
static ConfigItemType |
STOP_ON_FIRST_ERROR
Designates the boolean configuration item concerning whether or not an error during
batch validation should immediately terminate the batch execution process or allow
any remaining operation validation steps to continue.
|
static int |
STOP_ON_FIRST_ERROR_AS_INT |
static ConfigItemType |
VALIDATE_RECORD_CONTAINERS
Designates the boolean configuration item concerning whether or not record container validation is performed
during record declaration.
|
static int |
VALIDATE_RECORD_CONTAINERS_AS_INT |
static ConfigItemType |
VALIDATE_RECORDS
Designates the boolean value that determines whether record validation should or should not be
performed during record declaration.
|
static int |
VALIDATE_RECORDS_AS_INT |
Modifier and Type | Method and Description |
---|---|
DataType |
getDataType()
Returns the data type of the configuration item defined by this
ConfigItemType instance.
|
java.lang.Object |
getDefaultValue()
Returns the default value (if any) for this configuration item.
|
java.lang.String |
getDescription()
Returns the default locale description for this configuration item.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the description for this configuration item for the given locale.
|
getEnumeratedList, getIntValue, getLocalizedStringValue, getLocalizedStringValue, getStringValue
public static final int MINIMUM_CACHE_TTL
public static final java.lang.Integer DEFAULT_CACHE_TTL
public static final java.lang.Integer DEFAULT_MAX_DECLASSIFY
public static final int EXCEPTION_LOG_MSG_ONLY
public static final int EXCEPTION_LOG_INCLUDE_ERRORSTACK
public static final int EXCEPTION_LOG_INCLUDE_DIAG_STACKTRACES
public static final java.lang.Integer DEFAULT_EXCEPTION_LOG_DETAIL
public static final int STOP_ON_FIRST_ERROR_AS_INT
public static final ConfigItemType STOP_ON_FIRST_ERROR
When set to true
, any BDS batch operation that fails validation
causes the entire execution process to terminate immediately and a BDSException
is thrown. When set to false
, validation of any remaining batch operations
continues and the throw of the BDSException
is delayed until all operations
have been validated.
By retrieving the resulting collection of BatchResultItem
instances
(using BaseBulkService.getBatchResultItems()
), the caller can examine the
ResultItemStatus
property of each operation to determine which operations passed validation,
which failed validation and which did not have validation performed yet.
public static final int CACHE_TTL_AS_INT
public static final ConfigItemType CACHE_TTL
public static final int VALIDATE_RECORD_CONTAINERS_AS_INT
public static final ConfigItemType VALIDATE_RECORD_CONTAINERS
public static final int APPEND_CURRENT_USER_PERMISSION_AS_INT
public static final ConfigItemType APPEND_CURRENT_USER_PERMISSION
If the CE record class DefaultInstanceSecurity already provides the current user with the necessary rights to define the SecurityParent property, then this configuration item should be set to false in order to improve declaration performance.
public static final int DODCHAPTER4_DECLASSIFY_TIMELIMIT_AS_INT
public static final ConfigItemType DODCHAPTER4_DECLASSIFY_TIMELIMIT
public static final int EXCEPTION_LOGGING_DETAIL_AS_INT
public static final ConfigItemType EXCEPTION_LOGGING_DETAIL
BDSException
.
Legal integer values include:
public static final int VALIDATE_RECORDS_AS_INT
public static final ConfigItemType VALIDATE_RECORDS
public DataType getDataType()
DataType
value describing the configuration item's contained data type.public java.lang.Object getDefaultValue()
Object
value.public java.lang.String getDescription()
String
description value.public java.lang.String getDescription(java.util.Locale locale)
locale
- Locale
to base description on.String
description value.© Copyright IBM Corp. 2006, 2013. All Rights Reserved.