public class SearchQuery
extends PaginatedQuery
public SearchQuery(@Nullable
java.lang.String search,
@Nullable
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> intentId,
@NotNull
java.util.Set<? extends ai.tock.nlp.front.shared.config.ClassifiedSentenceStatus> status,
@Nullable
java.lang.String entityType,
@NotNull
java.util.List<java.lang.String> entityRolesToInclude,
@NotNull
java.util.List<java.lang.String> entityRolesToExclude,
@Nullable
java.time.ZonedDateTime modifiedAfter,
@Nullable
java.time.ZonedDateTime modifiedBefore,
boolean onlyToReview,
boolean searchSubEntities,
@Nullable
java.lang.String user,
@Nullable
java.lang.String allButUser,
float maxIntentProbability,
float minIntentProbability)
searchSubEntities - Search the sub entities in the whole entity tree.user - Sentences validated by user.allButUser - Sentences not validated by user.@NotNull
public ai.tock.nlp.front.shared.config.SentencesQuery toSentencesQuery(@NotNull
org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.ApplicationDefinition> applicationId)
@Nullable public java.lang.String getSearch()
@Nullable public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> getIntentId()
@NotNull public java.util.Set<ai.tock.nlp.front.shared.config.ClassifiedSentenceStatus> getStatus()
@Nullable public java.lang.String getEntityType()
@NotNull public java.util.List<java.lang.String> getEntityRolesToInclude()
@NotNull public java.util.List<java.lang.String> getEntityRolesToExclude()
@Nullable public java.time.ZonedDateTime getModifiedAfter()
@Nullable public java.time.ZonedDateTime getModifiedBefore()
public boolean getOnlyToReview()
public boolean getSearchSubEntities()
Search the sub entities in the whole entity tree.
@Nullable public java.lang.String getUser()
Sentences validated by user.
@Nullable public java.lang.String getAllButUser()
Sentences not validated by user.
public float getMaxIntentProbability()
public float getMinIntentProbability()
@Nullable public java.lang.String component1()
@Nullable public org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> component2()
@NotNull public java.util.Set<ai.tock.nlp.front.shared.config.ClassifiedSentenceStatus> component3()
@Nullable public java.lang.String component4()
@NotNull public java.util.List<java.lang.String> component5()
@NotNull public java.util.List<java.lang.String> component6()
@Nullable public java.time.ZonedDateTime component7()
@Nullable public java.time.ZonedDateTime component8()
public boolean component9()
public boolean component10()
Search the sub entities in the whole entity tree.
@Nullable public java.lang.String component11()
Sentences validated by user.
@Nullable public java.lang.String component12()
Sentences not validated by user.
public float component13()
public float component14()
@NotNull public SearchQuery copy(@Nullable java.lang.String search, @Nullable org.litote.kmongo.Id<ai.tock.nlp.front.shared.config.IntentDefinition> intentId, @NotNull java.util.Set<? extends ai.tock.nlp.front.shared.config.ClassifiedSentenceStatus> status, @Nullable java.lang.String entityType, @NotNull java.util.List<java.lang.String> entityRolesToInclude, @NotNull java.util.List<java.lang.String> entityRolesToExclude, @Nullable java.time.ZonedDateTime modifiedAfter, @Nullable java.time.ZonedDateTime modifiedBefore, boolean onlyToReview, boolean searchSubEntities, @Nullable java.lang.String user, @Nullable java.lang.String allButUser, float maxIntentProbability, float minIntentProbability)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)