Uses of Class
org.apache.unomi.api.conditions.Condition
Packages that use Condition
Package
Description
-
Uses of Condition in org.apache.unomi.api
Methods in org.apache.unomi.api that return ConditionModifier and TypeMethodDescriptionBatchUpdate.getCondition()
Retrieves the condition which items we want to update must satisfy.Methods in org.apache.unomi.api that return types with arguments of type ConditionModifier and TypeMethodDescriptionContextResponse.getTrackedConditions()
Retrieves the tracked conditions, if any, associated with the source of the context request that resulted in this ContextResponse.Methods in org.apache.unomi.api with parameters of type ConditionModifier and TypeMethodDescriptionvoid
BatchUpdate.setCondition
(Condition condition) Specifies the condition which items to update.Method parameters in org.apache.unomi.api with type arguments of type ConditionModifier and TypeMethodDescriptionvoid
ContextResponse.setTrackedConditions
(Set<Condition> trackedConditions) Sets the tracked conditions. -
Uses of Condition in org.apache.unomi.api.campaigns
Methods in org.apache.unomi.api.campaigns that return ConditionModifier and TypeMethodDescriptionCampaign.getEntryCondition()
Retrieves the entry condition that must be satisfied for users to be considered as taking part of this Campaign.Methods in org.apache.unomi.api.campaigns with parameters of type ConditionModifier and TypeMethodDescriptionvoid
Campaign.setEntryCondition
(Condition entryCondition) Sets the entry condition that must be satisfied for users to be considered as taking part of this Campaign.. -
Uses of Condition in org.apache.unomi.api.conditions
Methods in org.apache.unomi.api.conditions that return ConditionModifier and TypeMethodDescriptionConditionType.getParentCondition()
Retrieves the parent condition.Methods in org.apache.unomi.api.conditions with parameters of type ConditionModifier and TypeMethodDescriptionvoid
ConditionType.setParentCondition
(Condition parentCondition) Sets the parent condition. -
Uses of Condition in org.apache.unomi.api.goals
Methods in org.apache.unomi.api.goals that return ConditionModifier and TypeMethodDescriptionGoal.getStartEvent()
Retrieves theCondition
determining the goal's start event if any, used for more complex goals where an action has to be accomplished first before evaluating the success of the final goal (funnel goal for example).Goal.getTargetEvent()
Retrieves theCondition
determining the target event which needs to occur to consider the goal accomplished.Methods in org.apache.unomi.api.goals with parameters of type ConditionModifier and TypeMethodDescriptionvoid
Goal.setStartEvent
(Condition startEvent) void
Goal.setTargetEvent
(Condition targetEvent) -
Uses of Condition in org.apache.unomi.api.query
Methods in org.apache.unomi.api.query that return ConditionModifier and TypeMethodDescriptionAggregateQuery.getCondition()
Retrieves the condition.Query.getCondition()
Retrieves theCondition
associated with this Query.Methods in org.apache.unomi.api.query with parameters of type ConditionModifier and TypeMethodDescriptionvoid
AggregateQuery.setCondition
(Condition condition) Sets the condition.void
Query.setCondition
(Condition condition) Sets theCondition
associated with this Query.Constructors in org.apache.unomi.api.query with parameters of type ConditionModifierConstructorDescriptionAggregateQuery
(Condition condition) Instantiates a new Aggregate query with the specifiedCondition
.AggregateQuery
(Aggregate aggregate, Condition condition) -
Uses of Condition in org.apache.unomi.api.rules
Methods in org.apache.unomi.api.rules that return ConditionModifier and TypeMethodDescriptionRule.getCondition()
Retrieves the condition that, when satisfied, triggers the rule.Methods in org.apache.unomi.api.rules with parameters of type ConditionModifier and TypeMethodDescriptionvoid
Rule.setCondition
(Condition condition) Sets the condition that, when satisfied, triggers the rule.. -
Uses of Condition in org.apache.unomi.api.segments
Methods in org.apache.unomi.api.segments that return ConditionModifier and TypeMethodDescriptionScoringElement.getCondition()
Retrieves the condition.Segment.getCondition()
Retrieves the condition that users'Profile
must satisfy in order to be considered member of this Segment.Methods in org.apache.unomi.api.segments with parameters of type ConditionModifier and TypeMethodDescriptionvoid
ScoringElement.setCondition
(Condition condition) Sets the condition.void
Segment.setCondition
(Condition condition) Sets the condition that users'Profile
must satisfy in order to be considered member of this Segment. -
Uses of Condition in org.apache.unomi.api.services
Methods in org.apache.unomi.api.services that return ConditionModifier and TypeMethodDescriptionDefinitionsService.extractConditionBySystemTag
(Condition rootCondition, String systemTag) Retrieves a condition matching the specified system tag identifier from the specified root condition.DefinitionsService.extractConditionByTag
(Condition rootCondition, String tag) Deprecated.PersonalizationService.Filter.getCondition()
Retrieves the condition associated with this filter.Methods in org.apache.unomi.api.services that return types with arguments of type ConditionModifier and TypeMethodDescriptionDefinitionsService.extractConditionsByType
(Condition rootCondition, String typeId) Retrieves all conditions of the specified type from the specified root condition.RulesService.getTrackedConditions
(Item item) Retrieves tracked conditions (rules with a condition marked with thetrackedCondition
tag and whichsourceEventCondition
matches the specified item) for the specified item.Methods in org.apache.unomi.api.services with parameters of type ConditionModifier and TypeMethodDescriptionDefinitionsService.extractConditionBySystemTag
(Condition rootCondition, String systemTag) Retrieves a condition matching the specified system tag identifier from the specified root condition.DefinitionsService.extractConditionByTag
(Condition rootCondition, String tag) Deprecated.As of 1.2.0-incubating, please useDefinitionsService.extractConditionBySystemTag(Condition, String)
insteadDefinitionsService.extractConditionsByType
(Condition rootCondition, String typeId) Retrieves all conditions of the specified type from the specified root condition.SegmentService.getGeneratedPropertyKey
(Condition condition, Condition parentCondition) Get generated property key for past event conditionQueryService.getMetric
(String type, String property, String slashConcatenatedMetrics, Condition condition) Retrieves the specified metrics for the specified field of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.long
QueryService.getQueryCount
(String itemType, Condition condition) Retrieves the number of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.boolean
ProfileService.matchCondition
(Condition condition, Profile profile, Session session) Checks whether the specified profile and/or session satisfy the specified condition.boolean
DefinitionsService.resolveConditionType
(Condition rootCondition) Resolves (if possible) theConditionType
s for the specified condition and its sub-conditions (if any) from the type identifiers existing on the specified condition TODO: remove from API and move to a different class?EventService.searchEvents
(Condition condition, int offset, int size) void
PersonalizationService.Filter.setCondition
(Condition condition) Sets the condition associated with this filter. -
Uses of Condition in org.apache.unomi.api.utils
Fields in org.apache.unomi.api.utils declared as ConditionMethods in org.apache.unomi.api.utils that return ConditionMethods in org.apache.unomi.api.utils with parameters of type ConditionModifier and TypeMethodDescriptionParserHelper.getConditionTypeIds
(Condition rootCondition) void
void
ParserHelper.resolveConditionEventTypes
(Condition rootCondition) static boolean
ParserHelper.resolveConditionType
(DefinitionsService definitionsService, Condition rootCondition, String contextObjectName) void
void
static void
ParserHelper.visitConditions
(Condition rootCondition, ParserHelper.ConditionVisitor visitor) -
Uses of Condition in org.apache.unomi.graphql.condition.factories
Methods in org.apache.unomi.graphql.condition.factories that return ConditionModifier and TypeMethodDescriptionConditionFactory.booleanCondition
(String operator, List<Condition> subConditions) ConditionFactory.datePropertyCondition
(String propertyName, String operator, Object propertyValue) EventConditionFactory.eventFilterInputCondition
(CDPEventFilterInput filterInput, Map<String, Object> filterInputAsMap) ProfileAliasConditionFactory.filterInputCondition
(CDPProfileAliasFilterInput filterInput, Map<String, Object> filterInputAsMap) TopicConditionFactory.filterInputCondition
(CDPTopicFilterInput filterInput, Map<String, Object> filterInputAsMap) <INPUT> Condition
ConditionFactory.filtersToCondition
(List<INPUT> inputFilters, Function<INPUT, Condition> function, String operator) <INPUT> Condition
ConditionFactory.filtersToCondition
(List<INPUT> inputFilters, List<Map<String, Object>> filterInputAsMap, BiFunction<INPUT, Map<String, Object>, Condition> function, String operator) ConditionFactory.integerPropertyCondition
(String propertyName, Object propertyValue) ConditionFactory.integerPropertyCondition
(String propertyName, String operator, Object propertyValue) ConditionFactory.matchAllCondition()
ProfileConditionFactory.profileFilterInputCondition
(CDPProfileFilterInput filterInput, Map<String, Object> filterInputAsMap) ConditionFactory.propertiesCondition
(String propertyName, String operator, List<String> propertyValues) ConditionFactory.propertyCondition
(String propertyName, Object propertyValue) ConditionFactory.propertyCondition
(String propertyName, String operator, Object propertyValue) ConditionFactory.propertyCondition
(String propertyName, String operator, String propertyValueName, Object propertyValue) ProfileConditionFactory.segmentFilterInputCondition
(CDPSegmentFilterInput filterInput) Method parameters in org.apache.unomi.graphql.condition.factories with type arguments of type ConditionModifier and TypeMethodDescriptionConditionFactory.booleanCondition
(String operator, List<Condition> subConditions) <INPUT> Condition
ConditionFactory.filtersToCondition
(List<INPUT> inputFilters, Function<INPUT, Condition> function, String operator) <INPUT> Condition
ConditionFactory.filtersToCondition
(List<INPUT> inputFilters, List<Map<String, Object>> filterInputAsMap, BiFunction<INPUT, Map<String, Object>, Condition> function, String operator) -
Uses of Condition in org.apache.unomi.graphql.condition.parsers
Constructors in org.apache.unomi.graphql.condition.parsers with parameters of type ConditionModifierConstructorDescriptionSegmentConditionParser
(Condition segmentCondition, graphql.schema.DataFetchingEnvironment environment) SegmentProfileEventsConditionParser
(Condition condition, graphql.schema.DataFetchingEnvironment environment) SegmentProfileInterestsConditionParser
(Condition condition) SegmentProfilePropertiesConditionParser
(Condition condition, graphql.schema.DataFetchingEnvironment environment) Constructor parameters in org.apache.unomi.graphql.condition.parsers with type arguments of type ConditionModifierConstructorDescriptionSegmentProfileConsentsConditionParser
(List<Condition> conditions) SegmentProfileIDsConditionParser
(List<Condition> conditions) SegmentProfileListConditionParser
(List<Condition> conditions) SegmentProfileSegmentsConditionParser
(List<Condition> conditions) -
Uses of Condition in org.apache.unomi.graphql.fetchers
Methods in org.apache.unomi.graphql.fetchers with parameters of type ConditionModifier and TypeMethodDescriptionprotected Query
BaseConnectionDataFetcher.buildQuery
(Condition condition, List<CDPOrderByInput> orderByInputs, ConnectionParams params) -
Uses of Condition in org.apache.unomi.graphql.fetchers.event
Methods in org.apache.unomi.graphql.fetchers.event with parameters of type ConditionModifier and TypeMethodDescriptionorg.reactivestreams.Publisher<CDPEventInterface>
UnomiEventPublisher.createPublisher
(Condition filterCondition) -
Uses of Condition in org.apache.unomi.graphql.utils
Methods in org.apache.unomi.graphql.utils that return Condition -
Uses of Condition in org.apache.unomi.persistence.elasticsearch
Methods in org.apache.unomi.persistence.elasticsearch with parameters of type ConditionModifier and TypeMethodDescriptionElasticSearchPersistenceServiceImpl.aggregateQuery
(Condition filter, BaseAggregate aggregate, String itemType) Deprecated.As of version 1.3.0-incubating, useElasticSearchPersistenceServiceImpl.aggregateWithOptimizedQuery(Condition, BaseAggregate, String)
insteadElasticSearchPersistenceServiceImpl.aggregateWithOptimizedQuery
(Condition filter, BaseAggregate aggregate, String itemType) ElasticSearchPersistenceServiceImpl.aggregateWithOptimizedQuery
(Condition filter, BaseAggregate aggregate, String itemType, int size) ElasticSearchPersistenceServiceImpl.getSingleValuesMetrics
(Condition condition, String[] metrics, String field, String itemType) boolean
ElasticSearchPersistenceServiceImpl.isValidCondition
(Condition condition, Item item) <T extends Item>
PartialList<T>ElasticSearchPersistenceServiceImpl.query
(Condition query, String sortBy, Class<T> clazz, int offset, int size) <T extends Item>
PartialList<T>ElasticSearchPersistenceServiceImpl.query
(Condition query, String sortBy, Class<T> clazz, int offset, int size, String scrollTimeValidity) long
ElasticSearchPersistenceServiceImpl.queryCount
(Condition query, String itemType) ElasticSearchPersistenceServiceImpl.queryCustomItem
(Condition query, String sortBy, String customItemType, int offset, int size, String scrollTimeValidity) <T extends Item>
PartialList<T>ElasticSearchPersistenceServiceImpl.queryFullText
(String fulltext, Condition query, String sortBy, Class<T> clazz, int offset, int size) <T extends Item>
booleanElasticSearchPersistenceServiceImpl.removeByQuery
(Condition query, Class<T> clazz) boolean
boolean
boolean
ElasticSearchPersistenceServiceImpl.updateWithQueryAndScript
(Class<?> clazz, String[] scripts, Map<String, Object>[] scriptParams, Condition[] conditions) boolean
ElasticSearchPersistenceServiceImpl.updateWithQueryAndScript
(Date dateHint, Class<?> clazz, String[] scripts, Map<String, Object>[] scriptParams, Condition[] conditions) boolean
ElasticSearchPersistenceServiceImpl.updateWithQueryAndStoredScript
(Class<?>[] classes, String[] scripts, Map<String, Object>[] scriptParams, Condition[] conditions, boolean waitForComplete) boolean
ElasticSearchPersistenceServiceImpl.updateWithQueryAndStoredScript
(Class<?> clazz, String[] scripts, Map<String, Object>[] scriptParams, Condition[] conditions) boolean
ElasticSearchPersistenceServiceImpl.updateWithQueryAndStoredScript
(Date dateHint, Class<?> clazz, String[] scripts, Map<String, Object>[] scriptParams, Condition[] conditions) -
Uses of Condition in org.apache.unomi.persistence.elasticsearch.conditions
Methods in org.apache.unomi.persistence.elasticsearch.conditions that return ConditionModifier and TypeMethodDescriptionstatic Condition
ConditionContextHelper.getContextualCondition
(Condition condition, Map<String, Object> context, ScriptExecutor scriptExecutor) Methods in org.apache.unomi.persistence.elasticsearch.conditions with parameters of type ConditionModifier and TypeMethodDescriptionorg.elasticsearch.index.query.QueryBuilder
ConditionESQueryBuilderDispatcher.buildFilter
(Condition condition) org.elasticsearch.index.query.QueryBuilder
ConditionESQueryBuilderDispatcher.buildFilter
(Condition condition, Map<String, Object> context) org.elasticsearch.index.query.QueryBuilder
ConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) default long
ConditionESQueryBuilder.count
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) long
long
boolean
ConditionEvaluator.eval
(Condition condition, Item item, Map<String, Object> context, ConditionEvaluatorDispatcher dispatcher) boolean
boolean
static Condition
ConditionContextHelper.getContextualCondition
(Condition condition, Map<String, Object> context, ScriptExecutor scriptExecutor) org.elasticsearch.index.query.QueryBuilder
ConditionESQueryBuilderDispatcher.getQueryBuilder
(Condition condition) -
Uses of Condition in org.apache.unomi.persistence.spi
Methods in org.apache.unomi.persistence.spi with parameters of type ConditionModifier and TypeMethodDescriptionPersistenceService.aggregateQuery
(Condition filter, BaseAggregate aggregate, String itemType) Deprecated.As of 1.3.0-incubating, please usePersistenceService.aggregateWithOptimizedQuery(Condition, BaseAggregate, String)
insteadPersistenceService.aggregateWithOptimizedQuery
(Condition filter, BaseAggregate aggregate, String itemType) Retrieves the number of items with the specified type as defined by the Item subclass public fieldITEM_TYPE
matching the optional specified condition and aggregated according to the specifiedBaseAggregate
.PersistenceService.aggregateWithOptimizedQuery
(Condition filter, BaseAggregate aggregate, String itemType, int size) Retrieves the number of items with the specified type as defined by the Item subclass public fieldITEM_TYPE
matching the optional specified condition and aggregated according to the specifiedBaseAggregate
.PersistenceService.getSingleValuesMetrics
(Condition condition, String[] metrics, String field, String type) Retrieves the specified metrics for the specified field of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.boolean
PersistenceService.isValidCondition
(Condition condition, Item item) validates if a condition throws exception at query build.Same asquery(query, sortBy, clazz, 0, -1).getList()
<T extends Item>
PartialList<T>Retrieves a list of items satisfying the specifiedCondition
, ordered according to the specifiedsortBy
String and and paged: onlysize
of them are retrieved, starting with theoffset
-th one.<T extends Item>
PartialList<T>PersistenceService.query
(Condition query, String sortBy, Class<T> clazz, int offset, int size, String scrollTimeValidity) Retrieves a list of items satisfying the specifiedCondition
, ordered according to the specifiedsortBy
String and and paged: onlysize
of them are retrieved, starting with theoffset
-th one.long
PersistenceService.queryCount
(Condition query, String itemType) Retrieves the number of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.PersistenceService.queryCustomItem
(Condition query, String sortBy, String customItemType, int offset, int size, String scrollTimeValidity) Retrieves a list of items satisfying the specifiedCondition
, ordered according to the specifiedsortBy
String and paged: onlysize
of them are retrieved, starting with theoffset
-th one.<T extends Item>
PartialList<T>PersistenceService.queryFullText
(String fulltext, Condition query, String sortBy, Class<T> clazz, int offset, int size) Retrieves the same items asquery(query, sortBy, clazz, 0, -1)
with the added constraints that the matching elements must also have at least a field matching the specified full text query.<T extends Item>
booleanPersistenceService.removeByQuery
(Condition query, Class<T> clazz) Deletes items with the specified Item subclass matching the specifiedCondition
.boolean
Persists the specified query under the specified name.boolean
Checks whether the specified item satisfies the provided condition.default boolean
PersistenceService.updateWithQueryAndScript
(Class<?> clazz, String[] scripts, Map<String, Object>[] scriptParams, Condition[] conditions) Updates the items of the specified class by a query with a new property value for the specified property name based on provided scripts and script parametersboolean
PersistenceService.updateWithQueryAndScript
(Date dateHint, Class<?> clazz, String[] scripts, Map<String, Object>[] scriptParams, Condition[] conditions) boolean
PersistenceService.updateWithQueryAndStoredScript
(Class<?>[] classes, String[] scripts, Map<String, Object>[] scriptParams, Condition[] conditions, boolean waitForComplete) Updates the items of the specified class by a query with a new property value for the specified property name based on provided stored scripts and script parameters, This one is able to perform an update on multiple types in a single run, be careful with your query as it will be performed on all of them.default boolean
PersistenceService.updateWithQueryAndStoredScript
(Class<?> clazz, String[] scripts, Map<String, Object>[] scriptParams, Condition[] conditions) Updates the items of the specified class by a query with a new property value for the specified property name based on provided stored scripts and script parametersboolean
-
Uses of Condition in org.apache.unomi.plugins.baseplugin.conditions
Methods in org.apache.unomi.plugins.baseplugin.conditions that return ConditionModifier and TypeMethodDescriptionprotected static Condition
PastEventConditionESQueryBuilder.getEventCondition
(Condition condition, Map<String, Object> context, String profileId, DefinitionsService definitionsService, ScriptExecutor scriptExecutor) Methods in org.apache.unomi.plugins.baseplugin.conditions with parameters of type ConditionModifier and TypeMethodDescriptionorg.elasticsearch.index.query.QueryBuilder
BooleanConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) org.elasticsearch.index.query.QueryBuilder
GeoLocationByPointSessionConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) org.elasticsearch.index.query.QueryBuilder
IdsConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) org.elasticsearch.index.query.QueryBuilder
MatchAllConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) org.elasticsearch.index.query.QueryBuilder
NestedConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) org.elasticsearch.index.query.QueryBuilder
NotConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) org.elasticsearch.index.query.QueryBuilder
PastEventConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) org.elasticsearch.index.query.QueryBuilder
PropertyConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) org.elasticsearch.index.query.QueryBuilder
SourceEventPropertyConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) long
PastEventConditionESQueryBuilder.count
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) boolean
BooleanConditionEvaluator.eval
(Condition condition, Item item, Map<String, Object> context, ConditionEvaluatorDispatcher dispatcher) boolean
GeoLocationByPointSessionConditionEvaluator.eval
(Condition condition, Item item, Map<String, Object> context, ConditionEvaluatorDispatcher dispatcher) boolean
IdsConditionEvaluator.eval
(Condition condition, Item item, Map<String, Object> context, ConditionEvaluatorDispatcher dispatcher) boolean
MatchAllConditionEvaluator.eval
(Condition condition, Item item, Map<String, Object> context, ConditionEvaluatorDispatcher dispatcher) boolean
NestedConditionEvaluator.eval
(Condition condition, Item item, Map<String, Object> context, ConditionEvaluatorDispatcher dispatcher) boolean
NotConditionEvaluator.eval
(Condition condition, Item item, Map<String, Object> context, ConditionEvaluatorDispatcher dispatcher) boolean
PastEventConditionEvaluator.eval
(Condition condition, Item item, Map<String, Object> context, ConditionEvaluatorDispatcher dispatcher) boolean
PropertyConditionEvaluator.eval
(Condition condition, Item item, Map<String, Object> context, ConditionEvaluatorDispatcher dispatcher) boolean
SourceEventPropertyConditionEvaluator.eval
(Condition condition, Item item, Map<String, Object> context, ConditionEvaluatorDispatcher dispatcher) protected static Condition
PastEventConditionESQueryBuilder.getEventCondition
(Condition condition, Map<String, Object> context, String profileId, DefinitionsService definitionsService, ScriptExecutor scriptExecutor) protected boolean
PropertyConditionEvaluator.isMatch
(String op, Object actualValue, String expectedValue, Object expectedValueInteger, Object expectedValueDouble, Object expectedValueDate, Object expectedValueDateExpr, Condition condition) -
Uses of Condition in org.apache.unomi.plugins.events.hover.querybuilders
Methods in org.apache.unomi.plugins.events.hover.querybuilders with parameters of type ConditionModifier and TypeMethodDescriptionorg.elasticsearch.index.query.QueryBuilder
HoverEventConditionESQueryBuilder.buildQuery
(Condition condition, Map<String, Object> context, ConditionESQueryBuilderDispatcher dispatcher) -
Uses of Condition in org.apache.unomi.rest.endpoints
Methods in org.apache.unomi.rest.endpoints with parameters of type ConditionModifier and TypeMethodDescriptionQueryServiceEndPoint.getMetric
(String type, String property, String metricsType, Condition condition) Retrieves the specified metrics for the specified field of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.long
QueryServiceEndPoint.getQueryCount
(String type, Boolean validate, Condition condition, javax.servlet.http.HttpServletResponse response) Retrieves the number of items of the specified type as defined by the Item subclass public fieldITEM_TYPE
and matching the specifiedCondition
.boolean
ProfileServiceEndPoint.matchCondition
(Condition condition, Profile profile, Session session) -
Uses of Condition in org.apache.unomi.services.impl.definitions
Methods in org.apache.unomi.services.impl.definitions that return ConditionModifier and TypeMethodDescriptionDefinitionsServiceImpl.extractConditionBySystemTag
(Condition rootCondition, String systemTag) DefinitionsServiceImpl.extractConditionByTag
(Condition rootCondition, String tag) Deprecated.As of version 1.2.0-incubating, useDefinitionsServiceImpl.extractConditionBySystemTag(Condition, String)
insteadMethods in org.apache.unomi.services.impl.definitions that return types with arguments of type ConditionModifier and TypeMethodDescriptionDefinitionsServiceImpl.extractConditionsByType
(Condition rootCondition, String typeId) Methods in org.apache.unomi.services.impl.definitions with parameters of type ConditionModifier and TypeMethodDescriptionDefinitionsServiceImpl.extractConditionBySystemTag
(Condition rootCondition, String systemTag) DefinitionsServiceImpl.extractConditionByTag
(Condition rootCondition, String tag) Deprecated.As of version 1.2.0-incubating, useDefinitionsServiceImpl.extractConditionBySystemTag(Condition, String)
insteadDefinitionsServiceImpl.extractConditionsByType
(Condition rootCondition, String typeId) boolean
DefinitionsServiceImpl.resolveConditionType
(Condition rootCondition) -
Uses of Condition in org.apache.unomi.services.impl.events
Methods in org.apache.unomi.services.impl.events with parameters of type ConditionModifier and TypeMethodDescriptionEventServiceImpl.searchEvents
(Condition condition, int offset, int size) -
Uses of Condition in org.apache.unomi.services.impl.profiles
Methods in org.apache.unomi.services.impl.profiles with parameters of type ConditionModifier and TypeMethodDescriptionboolean
ProfileServiceImpl.matchCondition
(Condition condition, Profile profile, Session session) -
Uses of Condition in org.apache.unomi.services.impl.queries
Methods in org.apache.unomi.services.impl.queries with parameters of type Condition -
Uses of Condition in org.apache.unomi.services.impl.rules
Methods in org.apache.unomi.services.impl.rules that return types with arguments of type Condition -
Uses of Condition in org.apache.unomi.services.impl.segments
Methods in org.apache.unomi.services.impl.segments with parameters of type ConditionModifier and TypeMethodDescriptionSegmentServiceImpl.getGeneratedPropertyKey
(Condition condition, Condition parentCondition) void
SegmentServiceImpl.updateAutoGeneratedRules
(Metadata metadata, Condition condition)
DefinitionsService.extractConditionBySystemTag(Condition, String)
instead