Skip navigation links


oracle.iam.requestprofile.api
Interface RequestProfileService


public interface RequestProfileService

Method Summary
 RequestProfile createRequestProfile(RequestProfile profile)
          Creates Request profile.
 RequestProfile deleteEntitiesFromRequestProfiles(RequestProfileEntity entity)
          This API is used to delete entity references in all request profiles, when an entity is deleted from the system.
 void deleteRequestProfile(RequestProfile profile)
          Deletes the profile with given name.
 RequestProfile getRequestProfile(java.lang.String name)
          Get the profile with given name.
 RequestProfile modifyRequestProfile(RequestProfile profile)
          Modify the given profile.
 java.util.List searchRequestProfiles(java.lang.String namePattern, java.util.Set retAttrs, java.util.Map configParams)
          Get the list of profiles matching the given name pattern.

 

Method Detail

createRequestProfile

RequestProfile createRequestProfile(RequestProfile profile)
                                    throws RequestProfileServiceException
Creates Request profile. This API can be called by Catalog Administrators only. If a Request Profile with same name exists, this API will throw error. For modification of an existing Request Profile, modifyRequestProfile() API needs to be used.
Parameters:
profile - Request profile object that needs to be created
Returns:
profile that is created. The key field of profile is populated. This object can be used for further modifications.
Throws:
RequestProfileServiceException - if creation fails or profile with same name already exists

searchRequestProfiles

java.util.List searchRequestProfiles(java.lang.String namePattern,
                                     java.util.Set retAttrs,
                                     java.util.Map configParams)
                                     throws RequestProfileServiceException
Get the list of profiles matching the given name pattern. This API performs case insensitive search.
Parameters:
namePattern - profile name pattern with "*" as wild character.
retAttrs - attributes that need to be populated in RequestProfile result object.

Below is the list of allowed search parameters

configParams - Additional configuration parameters for search results like sorting, pagination parameters
configParams -
Returns:
list of profiles matching the given name
Throws:
RequestProfileServiceException - if search fails

modifyRequestProfile

RequestProfile modifyRequestProfile(RequestProfile profile)
                                    throws RequestProfileServiceException
Modify the given profile. Profile Key for the request profile to be updated must be provided. This API can be called by Catalog Administrators only.
Parameters:
profile - modified profile object that needs to be saved
Returns:
RequestProfile modified profile object
Throws:
RequestProfileServiceException - if modification fails

deleteRequestProfile

void deleteRequestProfile(RequestProfile profile)
                          throws RequestProfileServiceException
Deletes the profile with given name. This API can be called by Catalog Administrators only.
Parameters:
profile - profile object that needs to be deleted.
Throws:
RequestProfileServiceException - if deletion fails

getRequestProfile

RequestProfile getRequestProfile(java.lang.String name)
                                 throws RequestProfileServiceException
Get the profile with given name. This API can be invoked by