Interface AsSearchProfileActivationService
-
- All Known Implementing Classes:
DefaultAsSearchProfileActivationService
public interface AsSearchProfileActivationServiceService used for activation of search profiles.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearCurrentSearchProfiles()Clears the current active search profiles in the session.java.util.Optional<java.util.List<AbstractAsSearchProfileModel>>getCurrentSearchProfiles()Returns the current active search profiles in the session.java.util.List<AsSearchProfileActivationGroup>getSearchProfileActivationGroupsForContext(AsSearchProfileContext context)Returns the active search profile groups for a given context.voidsetCurrentSearchProfiles(java.util.List<AbstractAsSearchProfileModel> searchProfiles)Sets the current active search profiles in the session.
-
-
-
Method Detail
-
setCurrentSearchProfiles
void setCurrentSearchProfiles(java.util.List<AbstractAsSearchProfileModel> searchProfiles)
Sets the current active search profiles in the session.- Parameters:
searchProfiles- - the active search profiles
-
getCurrentSearchProfiles
java.util.Optional<java.util.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 active search profiles
-
clearCurrentSearchProfiles
void clearCurrentSearchProfiles()
Clears the current active search profiles in the session.
-
getSearchProfileActivationGroupsForContext
java.util.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
-
-