| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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 | 
|---|
RequestProfile createRequestProfile(RequestProfile profile)
                                    throws RequestProfileServiceException
profile - Request profile object that needs to be createdRequestProfileServiceException - if creation fails or profile with same name already exists
java.util.List searchRequestProfiles(java.lang.String namePattern,
                                     java.util.Set retAttrs,
                                     java.util.Map configParams)
                                     throws RequestProfileServiceException
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
RequestProfileConstants.PROFILE_NAME, Profile name.RequestProfileConstants.PROFILE_DESCRIPTION,Description of the profile.RequestProfileConstants.PROFILE_KEY, Profile key which is unique.RequestProfileConstants.UPDATED_ON, Timestamp when profile is updated.RequestProfileConstants.UPDATED_BY, User who updated the profile.RequestProfileConstants.CREATED_BY, User who created the profile.RequestProfileConstants.CREATED_ON, Timestamp when profile is created.configParams - Additional configuration parameters for search results like sorting, pagination parameters
SEARCH_STARTROW , Start row of the search resultSEARCH_ENDROW , End row of the search resultSEARCH_SORTBY , Column on which results should be sorted onSEARCH_SORTORDER , Sort Order, allowed values are ASCENDING or DESCENDINGconfigParams -RequestProfileServiceException - if search fails
RequestProfile modifyRequestProfile(RequestProfile profile)
                                    throws RequestProfileServiceException
profile - modified profile object that needs to be savedRequestProfileServiceException - if modification fails
void deleteRequestProfile(RequestProfile profile)
                          throws RequestProfileServiceException
profile - profile object that needs to be deleted.RequestProfileServiceException - if deletion fails
RequestProfile getRequestProfile(java.lang.String name)
                                 throws RequestProfileServiceException
name - name of the profile.RequestProfileServiceException - if search failsRequestProfile deleteEntitiesFromRequestProfiles(RequestProfileEntity entity) throws RequestProfileServiceException
entity - entity object that contains the entity key and the type that need to be deleted from all request profiles.RequestProfileServiceException - if search fails
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||