Package com.ads.api.beans.common
Class APIConstants
java.lang.Object
com.ads.api.beans.common.APIConstants
This class provides some beans control methods related to versionMode,
SelectionCriteria, ExportOption and its details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumThese ENUM constants are used to specify the status as ACTIVE, PASSIVE, RETIRE.static enumstatic enumstatic enumstatic enumThese ENUM constants are used to specify the ExportOption as EXPORT_INTO_MULTIPLE_SHEET, EXPORT_ALL, and EXPORT_INTO_SINGLE_SHEET.static enumThese ENUM constants are used to specify the FileExtension as AMP, ZIP, and XML.static enumThese ENUM constants are used to specify the FilePathType as ABSOLUTE, RELATIVE.static enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumstatic enumThese ENUM constants are used to specify the SelectionCriteria as ALL, ACTIVE, and PASSIVE.static enumstatic enumThese ENUM constants are used to specify the status as ACTIVE, PASSIVE, RETIRE.static enumstatic enumThese ENUM constants are used to specify the VersionMode such as ALL_VERSIONS, CURRENT_VERSION, and SPECIFIC_VERSION. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringA constant holding the String value of application documents path.static final StringA constant holding the String value, an ARCHIVED_PUBLISHED_MAP_IDS can have ARCHIVED_PUBLISHED_MAP_IDS, the IDS of the archived maps which are published.static final StringA constant holding the String value, an DELETE_KEY_COUNT can have DELETE_KEY_COUNT i.e the number of deleted keyValuesstatic final StringA constant DUPLICATE_TESTCASE_VALIDATION_STEP_NAME holds the String value DUPLICATE_TESTCASE_VALIDATION_STEP_NAME i.e the duplicateStepnamesstatic final StringA constant holding the String value, an FAILED_IDS can have FAILED_IDS.i.e IDS which are failed.static final StringA constant holding the String value, an FAILED_OBJECTS can have FAILED_OBJECTS.static final StringA constant holding the String value, an INVALID_COMBINATION_IDS can have INVALID_COMBINATION_IDS, the IDS of the invalid combinations.static final StringA constant holding the String value, an INVALID_IDS can have INVALID_IDS, the IDS of the invalid at that particular context.static final StringA constant holding the String value, an LOCKED_CODESET_IDS can have LOCKED_CODESET_IDS.i.e IDS of the codesets which are in locked state.static final StringA constant holding the String value, an INVALID_TESTCASE_IDS can have INVALID_TESTCASE_IDS.static final StringA constant INVALID_TESTCASE_VALIDATION_OBJECT holds the String value INVALID_TESTCASE_VALIDATION_OBJECT i.e the ValidationObjects which are nullstatic final StringThe constant INVALID_TESTCASE_VALIDATION_STEP_NAME holds the String value INVALID_TESTCASE_VALIDATION_STEP_NAME i.e the StepNames which are null or empty.static final StringA constant holding the String value, an INVALID_TESTCASE_VALIDATION_STEP_STATUS can have INVALID_TESTCASE_VALIDATION_STEP_STATUS.static final StringA constant holding the String value, an INVALID_TESTCASE_VALIDATION_STEP_TYPE can have INVALID_TESTCASE_VALIDATION_STEP_TYPE.static final StringA constant holding the String value, an LOCKED_CODESET_IDS can have LOCKED_CODESET_IDS.i.e IDS of the codesets which are in locked state.static final StringA constant holding the String value, an LOCKED_MAP_IDS can have LOCKED_MAP_IDS.i.e IDS of the maps which are in locked state.static final StringA constant holding the String value, an MAP_NAME_VALIDATION can have MAP_NAME_VALIDATION.static final StringA constant holding the String value, an NOT_FOUND_TESTCASE_VALIDATION_STEP_NAMES can have NOT_FOUND_TESTCASE_VALIDATION_STEP_NAMES.static final StringA constant holding the String value, an OUTPUT_FILE_PATH can have OUTPUT_FILE_PATH, which holds the path where the outputFile can be located.static final StringA constant holding the String value, an PASSIVE_MAP_IDS can have PASSIVE_MAP_IDS, the IDS of the maps which are archived.static final StringA constant holding the String value, an PUBLISHED_MAP_IDS can have PUBLISHED_MAP_IDS, the IDS of the maps which are published.static final StringA constant holding the String value, an RELEASE_OBJECT_IDS can have RELEASE_OBJECT_IDS, the IDS of the maps which are linked to Release.static final StringA constant holding the String value, an SUCCESS_IDS can have SUCCESS_IDS.static final StringA constant holding the String value, an UPDATE_KEY_COUNT can have UPDATE_KEY_COUNT i.e the number of updated keyValues -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
OUTPUT_FILE_PATH
A constant holding the String value, an OUTPUT_FILE_PATH can have OUTPUT_FILE_PATH, which holds the path where the outputFile can be located.- See Also:
-
LOCKED_MAP_IDS
A constant holding the String value, an LOCKED_MAP_IDS can have LOCKED_MAP_IDS.i.e IDS of the maps which are in locked state.- See Also:
-
PASSIVE_MAP_IDS
A constant holding the String value, an PASSIVE_MAP_IDS can have PASSIVE_MAP_IDS, the IDS of the maps which are archived.- See Also:
-
PUBLISHED_MAP_IDS
A constant holding the String value, an PUBLISHED_MAP_IDS can have PUBLISHED_MAP_IDS, the IDS of the maps which are published.- See Also:
-
RELEASE_OBJECT_IDS
A constant holding the String value, an RELEASE_OBJECT_IDS can have RELEASE_OBJECT_IDS, the IDS of the maps which are linked to Release.- See Also:
-
ARCHIVED_PUBLISHED_MAP_IDS
A constant holding the String value, an ARCHIVED_PUBLISHED_MAP_IDS can have ARCHIVED_PUBLISHED_MAP_IDS, the IDS of the archived maps which are published.- See Also:
-
INVALID_TESTCASE_VALIDATION_STEP_NAME
The constant INVALID_TESTCASE_VALIDATION_STEP_NAME holds the String value INVALID_TESTCASE_VALIDATION_STEP_NAME i.e the StepNames which are null or empty.- See Also:
-
DUPLICATE_TESTCASE_VALIDATION_STEP_NAME
A constant DUPLICATE_TESTCASE_VALIDATION_STEP_NAME holds the String value DUPLICATE_TESTCASE_VALIDATION_STEP_NAME i.e the duplicateStepnames- See Also:
-
INVALID_TESTCASE_VALIDATION_OBJECT
A constant INVALID_TESTCASE_VALIDATION_OBJECT holds the String value INVALID_TESTCASE_VALIDATION_OBJECT i.e the ValidationObjects which are null- See Also:
-
INVALID_TESTCASE_VALIDATION_STEP_TYPE
A constant holding the String value, an INVALID_TESTCASE_VALIDATION_STEP_TYPE can have INVALID_TESTCASE_VALIDATION_STEP_TYPE.- See Also:
-
INVALID_TESTCASE_VALIDATION_STEP_STATUS
A constant holding the String value, an INVALID_TESTCASE_VALIDATION_STEP_STATUS can have INVALID_TESTCASE_VALIDATION_STEP_STATUS.- See Also:
-
NOT_FOUND_TESTCASE_VALIDATION_STEP_NAMES
A constant holding the String value, an NOT_FOUND_TESTCASE_VALIDATION_STEP_NAMES can have NOT_FOUND_TESTCASE_VALIDATION_STEP_NAMES.- See Also:
-
INVALID_TESTCASE_IDS
A constant holding the String value, an INVALID_TESTCASE_IDS can have INVALID_TESTCASE_IDS.- See Also:
-
MAP_NAME_VALIDATION
A constant holding the String value, an MAP_NAME_VALIDATION can have MAP_NAME_VALIDATION.- See Also:
-
UPDATE_KEY_COUNT
A constant holding the String value, an UPDATE_KEY_COUNT can have UPDATE_KEY_COUNT i.e the number of updated keyValues- See Also:
-
DELETE_KEY_COUNT
A constant holding the String value, an DELETE_KEY_COUNT can have DELETE_KEY_COUNT i.e the number of deleted keyValues- See Also:
-
INVALID_COMBINATION_IDS
A constant holding the String value, an INVALID_COMBINATION_IDS can have INVALID_COMBINATION_IDS, the IDS of the invalid combinations.- See Also:
-
INVALID_IDS
A constant holding the String value, an INVALID_IDS can have INVALID_IDS, the IDS of the invalid at that particular context.- See Also:
-
INVALID_INDEX_IDS
A constant holding the String value, an LOCKED_CODESET_IDS can have LOCKED_CODESET_IDS.i.e IDS of the codesets which are in locked state.- See Also:
-
FAILED_OBJECTS
A constant holding the String value, an FAILED_OBJECTS can have FAILED_OBJECTS.- See Also:
-
FAILED_IDS
A constant holding the String value, an FAILED_IDS can have FAILED_IDS.i.e IDS which are failed.- See Also:
-
SUCCESS_IDS
A constant holding the String value, an SUCCESS_IDS can have SUCCESS_IDS.- See Also:
-
LOCKED_CODESET_IDS
A constant holding the String value, an LOCKED_CODESET_IDS can have LOCKED_CODESET_IDS.i.e IDS of the codesets which are in locked state.- See Also:
-
APPLICATION_DOCUMENTS_PATH
A constant holding the String value of application documents path.
-
-
Constructor Details
-
APIConstants
public APIConstants()
-
-
Method Details
-
isTypeFound
public static boolean isTypeFound(long typeCombo, int typeToFind) - Parameters:
typeCombo- longtypeToFind- int- Returns:
- boolean
-