Package io.jmix.search.searching
Enum Class SearchRequestContext.ProcessingState
java.lang.Object
java.lang.Enum<SearchRequestContext.ProcessingState>
io.jmix.search.searching.SearchRequestContext.ProcessingState
- All Implemented Interfaces:
Serializable,Comparable<SearchRequestContext.ProcessingState>,Constable
- Enclosing class:
- SearchRequestContext<T>
public static enum SearchRequestContext.ProcessingState
extends Enum<SearchRequestContext.ProcessingState>
A result of the SearchContext processing that is set during the search request building.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis state is set toSearchRequestContextwhen aSearchContextprocessing is finished and a request sending is not possible due to there are no any entities and correspondent indexes for searching.This state is set toSearchRequestContextwhen aSearchContextprocessing is finished and a request sending is possible.This state is set toSearchRequestContextbefore its processing. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SearchRequestContext.ProcessingState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNPROCESSED
This state is set toSearchRequestContextbefore its processing. -
READY
This state is set toSearchRequestContextwhen aSearchContextprocessing is finished and a request sending is possible. -
NO_AVAILABLE_ENTITIES
This state is set toSearchRequestContextwhen aSearchContextprocessing is finished and a request sending is not possible due to there are no any entities and correspondent indexes for searching. Such result is possible because of the user doesn't have necessary permissions for the requested entities.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-