Interface AsSearchProfileActivationService
- All Known Implementing Classes:
DefaultAsSearchProfileActivationService
public interface AsSearchProfileActivationService
Service used for activation of search profiles.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the current active search profiles in the session.Returns the current active search profiles in the session.Returns the active search profile groups for a given context.voidsetCurrentSearchProfiles(List<AbstractAsSearchProfileModel> searchProfiles) Sets the current active search profiles in the session.
-
Method Details
-
setCurrentSearchProfiles
Sets the current active search profiles in the session.- Parameters:
searchProfiles- - the active search profiles
-
getCurrentSearchProfiles
Optional<List<AbstractAsSearchProfileModel>> getCurrentSearchProfiles()Returns the current active search profiles in the session. If there are no current active search profiles, an emptyOptionalis returned.- Returns:
- the current search profiles
-
clearCurrentSearchProfiles
void clearCurrentSearchProfiles()Clears the current active search profiles in the session. -
getSearchProfileActivationGroupsForContext
List<AsSearchProfileActivationGroup> getSearchProfileActivationGroupsForContext(AsSearchProfileContext context) Returns the active search profile groups for a given context.- Parameters:
context- - the search profile context- Returns:
- the active search profile group
-