Class GlobalSearchTextCriteria
java.lang.Object
ch.ethz.sis.openbis.generic.asapi.v3.dto.common.search.AbstractSearchCriteria
ch.ethz.sis.openbis.generic.asapi.v3.dto.common.search.AbstractFieldSearchCriteria<AbstractStringValue>
ch.ethz.sis.openbis.generic.asapi.v3.dto.global.search.GlobalSearchTextCriteria
- All Implemented Interfaces:
ISearchCriteria,Serializable
@JsonObject("as.dto.global.search.GlobalSearchTextCriteria")
public class GlobalSearchTextCriteria
extends AbstractFieldSearchCriteria<AbstractStringValue>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidthatContains(String string) Set the value to this criterion which is interpreted as a 'contains' match of any of the words in the phrase.voidthatContainsExactly(String string) Set the value to this criterion which is interpreted as a 'contains' match of the whole phrase phrase.voidthatMatches(String string) Set the value to this criterion which is interpreted as a lexical match.voidthatStartsWith(String string) Set the value to this criterion which is interpreted as a lexical "starts with" match.Methods inherited from class ch.ethz.sis.openbis.generic.asapi.v3.dto.common.search.AbstractFieldSearchCriteria
getFieldName, getFieldType, getFieldValue, setFieldValue, toStringMethods inherited from class ch.ethz.sis.openbis.generic.asapi.v3.dto.common.search.AbstractSearchCriteria
equals, hashCode, isNegated, setNegated
-
Constructor Details
-
GlobalSearchTextCriteria
public GlobalSearchTextCriteria()
-
-
Method Details
-
thatContains
Set the value to this criterion which is interpreted as a 'contains' match of any of the words in the phrase. The result should contain any of the specified words.- Parameters:
string- the phrase to be matched.
-
thatContainsExactly
Set the value to this criterion which is interpreted as a 'contains' match of the whole phrase phrase.- Parameters:
string- the phrase to be matched.
-
thatMatches
Set the value to this criterion which is interpreted as a lexical match.- Parameters:
string- the phrase to be matched.
-
thatStartsWith
Set the value to this criterion which is interpreted as a lexical "starts with" match.- Parameters:
string- the phrase to be matched.
-