public interface SystemConfigurationService
Modifier and Type | Method and Description |
---|---|
long |
addSystemProperty(SystemProperty sysProp)
Create a new system property in the DB
|
long |
deleteSystemProperty(java.lang.String key,
java.util.Date timeStamp)
Delete an already existing system property in the DB
|
java.util.List |
getAllSystemProperties()
Retrieves all the existing system properties
|
SystemProperty |
getSystemPropertiesForUnauthenticatedUsers(java.lang.String ptyKeyword)
Searches all the system properties on the basis of propertyKeyword.
|
SystemProperty |
getSystemProperty(java.lang.String propertyKeyword)
Search all the system properties on the basis of propertyKeyword
|
java.util.List |
search(SearchCriteria searchCriteria,
int start,
int end)
Searches all the system properties matching the search criteria
|
java.util.List |
search(SearchCriteria criteria,
java.util.Set retAttrs,
java.util.HashMap configParams,
java.util.Map resourceBundle)
Searches all the system properties matching the search criteria
|
java.util.List |
search(SearchCriteria criteria,
java.util.Set retAttrs,
java.util.HashMap configParams,
java.util.Map resourceBundle,
int start,
int end)
Searches all the system properties matching the search criteria
|
void |
updateSystemProperty(SystemProperty sysProp,
java.util.Date timeStamp)
Updates an already existing system property in the DB
|
long addSystemProperty(SystemProperty sysProp) throws SystemConfigurationManagementException, SystemPropertyAlreadyExistException, MissingRequiredValueException, SystemConfigurationServiceException
sysProp:
- System Property to be createdSystemPropertyAlreadyExist
SystemConfigurationManagementException
SystemPropertyAlreadyExistException
MissingRequiredValueException
SystemConfigurationServiceException
void updateSystemProperty(SystemProperty sysProp, java.util.Date timeStamp) throws SystemConfigurationManagementException, NoSuchSystemPropertyExistException, SystemPropertyAlreadyExistException, StaleDataException, InvalidDataLevelException, InvalidSystemPropertyValueException, MissingRequiredValueException, SystemConfigurationServiceException
sysProp:
- System Property to be updatedSystemPropertyNotFound
SystemConfigurationManagementException
NoSuchSystemPropertyExistException
SystemPropertyAlreadyExistException
StaleDataException
InvalidDataLevelException
InvalidSystemPropertyValueException
MissingRequiredValueException
SystemConfigurationServiceException
long deleteSystemProperty(java.lang.String key, java.util.Date timeStamp) throws SystemConfigurationManagementException, NoSuchSystemPropertyExistException, StaleDataException, InvalidDataLevelException, InvalidSystemPropertyValueException, SystemConfigurationServiceException
key:
- keyword of theSystem Property to be deletedSystemPropertyNotFound
SystemConfigurationManagementException
NoSuchSystemPropertyExistException
StaleDataException
InvalidDataLevelException
InvalidSystemPropertyValueException
SystemConfigurationServiceException
SystemProperty getSystemProperty(java.lang.String propertyKeyword) throws SystemConfigurationServiceException
propertyKeyword
- : Keyword based on which system property should be filteredSystemConfigurationServiceException
java.util.List search(SearchCriteria searchCriteria, int start, int end) throws InvalidSearchOptionException
searchCriteria
- The search criteria based on which entries will be retrieved from the backend.InvalidSearchOptionException
java.util.List getAllSystemProperties()
SystemProperty getSystemPropertiesForUnauthenticatedUsers(java.lang.String ptyKeyword) throws SystemConfigurationServiceException
ptyKeyword
- : keyword based on which system property should be filteredSystemConfigurationServiceException
java.util.List search(SearchCriteria criteria, java.util.Set retAttrs, java.util.HashMap configParams, java.util.Map resourceBundle) throws InvalidSearchOptionException
criteria
- The search criteria based on which entries will be retrieved from the backend.retAttrs
- The attributes of the System Property which should be returnedconfigParams
- The configuration parametersresourceBundle
- The resource bundleInvalidSearchOptionException
java.util.List search(SearchCriteria criteria, java.util.Set retAttrs, java.util.HashMap configParams, java.util.Map resourceBundle, int start, int end) throws InvalidSearchOptionException
criteria
- The search criteria based on which entries will be retrieved from the backend.retAttrs
- The attributes of the System Property which should be returnedconfigParams
- The configuration parametersresourceBundle
- The resource bundlestart
- Lower bound for searchend
- Upper bound for searchInvalidSearchOptionException