Skip navigation links


oracle.iam.conf.api
Interface SystemConfigurationService


public interface SystemConfigurationService

Method Summary
 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 system property existing in the db
 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
 void updateSystemProperty(SystemProperty sysProp, java.util.Date timeStamp)
          Updates an already existing system property in the DB

 

Method Detail

addSystemProperty

long addSystemProperty(SystemProperty sysProp)
                       throws SystemConfigurationManagementException,
                              SystemPropertyAlreadyExistException,
                              MissingRequiredValueException,
                              SystemConfigurationServiceException
Create a new system property in the DB
Parameters:
sysProp: - System Property to be created
Returns:
Id of the system property created
Throws:
SystemPropertyAlreadyExist
SystemConfigurationManagementException
SystemPropertyAlreadyExistException
MissingRequiredValueException
SystemConfigurationServiceException

updateSystemProperty

void updateSystemProperty(SystemProperty sysProp,
                          java.util.Date timeStamp)
                          throws SystemConfigurationManagementException,
                                 NoSuchSystemPropertyExistException,
                                 SystemPropertyAlreadyExistException,
                                 StaleDataException,
                                 InvalidDataLevelException,
                                 InvalidSystemPropertyValueException,
                                 MissingRequiredValueException,
                                 SystemConfigurationServiceException
Updates an already existing system property in the DB
Parameters:
sysProp: - System Property to be updated
Throws:
SystemPropertyNotFound
SystemConfigurationManagementException
NoSuchSystemPropertyExistException
SystemPropertyAlreadyExistException
StaleDataException
InvalidDataLevelException
InvalidSystemPropertyValueException
MissingRequiredValueException
SystemConfigurationServiceException

deleteSystemProperty

long deleteSystemProperty(java.lang.String key,
                          java.util.Date timeStamp)
                          throws SystemConfigurationManagementException,
                                 NoSuchSystemPropertyExistException,
                                 StaleDataException,
                                 InvalidDataLevelException,
                                 InvalidSystemPropertyValueException,
                                 SystemConfigurationServiceException
Delete an already existing system property in the DB
Parameters:
key: - keyword of theSystem Property to be deleted
Throws:
SystemPropertyNotFound
SystemConfigurationManagementException
NoSuchSystemPropertyExistException
StaleDataException
InvalidDataLevelException
InvalidSystemPropertyValueException
SystemConfigurationServiceException

getSystemProperty

SystemProperty getSystemProperty(java.lang.String propertyKeyword)
                                 throws SystemConfigurationServiceException
Search all the system properties on the basis of propertyKeyword
Parameters:
Key - word based on which system property should be filtered
Returns:
a system property instance matching the key
Throws:
SystemConfigurationServiceException

search

java.util.List search(SearchCriteria searchCriteria,
                      int start,
                      int end)
                      throws InvalidSearchOptionException
Searches all the system properties matching the search criteria
Parameters:
searchCriteria - The search criteria based on which entries will be retrieved from the backend.
Returns:
a list of matching system properties
Throws:
InvalidSearchOptionException

getAllSystemProperties

java.util.List getAllSystemProperties()
Retrieves all the system property existing in the db

getSystemPropertiesForUnauthenticatedUsers

SystemProperty getSystemPropertiesForUnauthenticatedUsers(java.lang.String ptyKeyword)
                                                          throws SystemConfigurationServiceException
Searches all the system properties on the basis of propertyKeyword. This method can only search properties for which loginRequired is set to false
Parameters:
searchCriteria - The search criteria based on which entries will be retrieved from the backend.
Returns:
a system property instance matching the key
Throws:
SystemConfigurationServiceException

search

java.util.List search(SearchCriteria criteria,
                      java.util.Set retAttrs,
                      java.util.HashMap configParams,
                      java.util.Map resourceBundle)
                      throws InvalidSearchOptionException
Searches all the system properties matching the search criteria
Parameters:
criteria - The search criteria based on which entries will be retrieved from the backend.
retAttrs - The attributes of the System Property which should be returned
configParams - The configuration parameters
resourceBundle - The resource bundle
Returns:
List of system property instances matching the criteria
Throws:
InvalidSearchOptionException

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.