Bulk Configuration Interface.
More...
import"BulkConfiguration.idl";
Bulk Configuration Interface.
These are the supported supported filter types.
Enumerator |
---|
WHITELIST |
Whitelist filter (value is part of the bulk configuration)
|
BLACKLIST |
Blacklist filter (value is not part of the bulk configuration)
|
Status of the last bulk configuration restore operation.
Enumerator |
---|
UNKNOWN |
No bulk configuration was done yet.
|
UPLOAD_FAILED |
Uploading a bulk configuration failed.
|
RESTORE_PENDING |
Restore is pending.
|
RESTORE_OK |
Restoring bulk configuration successful.
|
RESTORE_FAILED |
Restoring bulk configuration failed.
|
int bulkcfg::BulkConfiguration_1_0_1::addFilterProfile |
( |
in FilterProfile |
profile | ) |
|
Add a new filter profile.
- Parameters
-
profile | The new filter profile |
- Returns
- SUCCESS if OK
-
ERR_FILTER_NAME_UNKNOWN if a referenced filter name is unknown
-
ERR_FILTER_TYPE_READONLY if a referenced filter can't be overridden
-
ERR_PROFILE_ALREADY_EXISTS if a profile with the given name already exists
-
ERR_PROFILE_IS_BUILTIN if the selected profile is the builtin profile
-
ERR_PROFILE_NAME_TOO_LONG if the profile name is too long
-
ERR_PROFILE_NAME_INVALID if the profile name contains invalid characters
-
ERR_PROFILE_TOO_MANY if the maximum number of profiles already exist
int bulkcfg::BulkConfiguration_1_0_1::deleteFilterProfile |
( |
in string |
profileName | ) |
|
Delete an existing filter profile.
- Parameters
-
profileName | The name of the profile to be deleted |
- Returns
- SUCCESS if OK
-
ERR_PROFILE_DOES_NOT_EXIST if a profile with the given name does not exist
-
ERR_PROFILE_IS_DEFAULT if the selected profile is the current default profile
-
ERR_PROFILE_IS_BUILTIN if the selected profile is the builtin profile
string bulkcfg::BulkConfiguration_1_0_1::getDefaultFilterProfileName |
( |
| ) |
|
Retrieve the name of the currently selected default profile.
- Returns
- The name of the current default profile
vector<FilterProfile> bulkcfg::BulkConfiguration_1_0_1::getFilterProfiles |
( |
| ) |
|
Retrieve the configured filter profiles.
- Returns
- List of filter profiles
vector<Filter> bulkcfg::BulkConfiguration_1_0_1::getFilters |
( |
| ) |
|
Retrieve the list of supported filters.
- Returns
- List of supported filters
void bulkcfg::BulkConfiguration_1_0_1::getStatus |
( |
out Status |
status, |
|
|
out time |
timeStamp |
|
) |
| |
Retrieve the status of the last bulk configuration restore operation.
- Parameters
-
status | Result: Bulk configuration restore status |
timeStamp | Result: Time of last restore operation |
int bulkcfg::BulkConfiguration_1_0_1::modifyFilterProfile |
( |
in FilterProfile |
profile | ) |
|
Modify an existing filter profile.
- Parameters
-
profile | The updated filter profile |
- Returns
- SUCCESS if OK
-
ERR_FILTER_NAME_UNKNOWN if a referenced filter name is unknown
-
ERR_FILTER_TYPE_READONLY if a referenced filter can't be overridden
-
ERR_PROFILE_DOES_NOT_EXIST if a profile with the given name does not exist
-
ERR_PROFILE_IS_BUILTIN if the selected profile is the builtin profile
int bulkcfg::BulkConfiguration_1_0_1::selectDefaultFilterProfile |
( |
in string |
profileName | ) |
|
Select a new default filter profile.
- Parameters
-
profileName | The name of the new default profile |
- Returns
- SUCCESS if OK
-
ERR_PROFILE_DOES_NOT_EXIST if a profile with the given name does not exist
constant int bulkcfg::BulkConfiguration_1_0_1::SUCCESS = 0 |
Error codes.
The operation was successful
The documentation for this interface was generated from the following file: