Added: 
unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/SegmentServiceImpl.html
URL: 
http://svn.apache.org/viewvc/unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/SegmentServiceImpl.html?rev=1868535&view=auto
==============================================================================
--- 
unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/SegmentServiceImpl.html
 (added)
+++ 
unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/SegmentServiceImpl.html
 Thu Oct 17 06:07:11 2019
@@ -0,0 +1,1019 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.8.0_181) on Thu Oct 17 07:59:35 CEST 2019 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>SegmentServiceImpl (Apache Unomi :: Root Project 1.5.0-SNAPSHOT 
API)</title>
+<meta name="date" content="2019-10-17">
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="SegmentServiceImpl (Apache Unomi :: Root 
Project 1.5.0-SNAPSHOT API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/SegmentServiceImpl.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev&nbsp;Class</li>
+<li>Next&nbsp;Class</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../../index.html?org/apache/unomi/services/impl/segments/SegmentServiceImpl.html"
 target="_top">Frames</a></li>
+<li><a href="SegmentServiceImpl.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a 
href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a 
href="#fields.inherited.from.class.org.apache.unomi.services.impl.AbstractServiceImpl">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.unomi.services.impl.segments</div>
+<h2 title="Class SegmentServiceImpl" class="title">Class 
SegmentServiceImpl</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a 
href="../../../../../../org/apache/unomi/services/impl/AbstractServiceImpl.html"
 title="class in 
org.apache.unomi.services.impl">org.apache.unomi.services.impl.AbstractServiceImpl</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.unomi.services.impl.segments.SegmentServiceImpl</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a 
href="http://docs.oracle.com/javase/8/docs/api/java/util/EventListener.html?is-external=true";
 title="class or interface in java.util">EventListener</a>, <a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in org.apache.unomi.api.services">SegmentService</a>, 
org.osgi.framework.BundleListener, 
org.osgi.framework.SynchronousBundleListener</dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="typeNameLabel">SegmentServiceImpl</span>
+extends <a 
href="../../../../../../org/apache/unomi/services/impl/AbstractServiceImpl.html"
 title="class in org.apache.unomi.services.impl">AbstractServiceImpl</a>
+implements <a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in org.apache.unomi.api.services">SegmentService</a>, 
org.osgi.framework.SynchronousBundleListener</pre>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a 
name="fields.inherited.from.class.org.apache.unomi.services.impl.AbstractServiceImpl">
+<!--   -->
+</a>
+<h3>Fields inherited from class&nbsp;org.apache.unomi.services.impl.<a 
href="../../../../../../org/apache/unomi/services/impl/AbstractServiceImpl.html"
 title="class in org.apache.unomi.services.impl">AbstractServiceImpl</a></h3>
+<code><a 
href="../../../../../../org/apache/unomi/services/impl/AbstractServiceImpl.html#definitionsService">definitionsService</a>,
 <a 
href="../../../../../../org/apache/unomi/services/impl/AbstractServiceImpl.html#persistenceService">persistenceService</a></code></li>
+</ul>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#SegmentServiceImpl--">SegmentServiceImpl</a></span>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span 
class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a 
href="javascript:show(2);">Instance Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a 
href="javascript:show(8);">Concrete Methods</a></span><span 
class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#bundleChanged-org.osgi.framework.BundleEvent-">bundleChanged</a></span>(org.osgi.framework.BundleEvent&nbsp;event)</code>&nbsp;</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#createScoringDefinition-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">createScoringDefinition</a></span>(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scope,
+                       <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scoringId,
+                       <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;name,
+                       <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;description)</code>
+<div class="block">Creates a scoring with the specified scope, identifier, 
name and description.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getGeneratedPropertyKey-org.apache.unomi.api.conditions.Condition-org.apache.unomi.api.conditions.Condition-">getGeneratedPropertyKey</a></span>(<a
 href="../../../../../../org/apache/unomi/api/conditions/Condition.html" 
title="class in org.apache.unomi.api.conditions">Condition</a>&nbsp;condition,
+                       <a 
href="../../../../../../org/apache/unomi/api/conditions/Condition.html" 
title="class in 
org.apache.unomi.api.conditions">Condition</a>&nbsp;parentCondition)</code>
+<div class="block">Get generated property key for past event condition</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Profile.html" title="class in 
org.apache.unomi.api">Profile</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getMatchingIndividuals-java.lang.String-int-int-java.lang.String-">getMatchingIndividuals</a></span>(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentID,
+                      int&nbsp;offset,
+                      int&nbsp;size,
+                      <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;sortBy)</code>
+<div class="block">Retrieves a list of profiles matching the conditions 
defined by the segment identified by the specified identifier, ordered 
according to the specified <code>sortBy</code>
+ String and and paged: only <code>size</code> of them are retrieved, starting 
with the <code>offset</code>-th one.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getMatchingIndividualsCount-java.lang.String-">getMatchingIndividualsCount</a></span>(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentID)</code>
+<div class="block">Retrieves the number of profiles matching the conditions 
defined by the segment identified by the specified identifier.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/segments/Scoring.html" 
title="class in org.apache.unomi.api.segments">Scoring</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getScoringDefinition-java.lang.String-">getScoringDefinition</a></span>(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scoringId)</code>
+<div class="block">Retrieves the scoring identified by the specified 
identifier.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/segments/DependentMetadata.html" 
title="class in org.apache.unomi.api.segments">DependentMetadata</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getScoringDependentMetadata-java.lang.String-">getScoringDependentMetadata</a></span>(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scoringId)</code>
+<div class="block">Retrieves the list of Segment and Scoring metadata 
depending on the specified scoring.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getScoringMetadatas-int-int-java.lang.String-">getScoringMetadatas</a></span>(int&nbsp;offset,
+                   int&nbsp;size,
+                   <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;sortBy)</code>
+<div class="block">Retrieves the set of all scoring metadata.</div>
+</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getScoringMetadatas-org.apache.unomi.api.query.Query-">getScoringMetadatas</a></span>(<a
 href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in 
org.apache.unomi.api.query">Query</a>&nbsp;query)</code>
+<div class="block">Retrieves the set of scoring metadata for scorings matching 
the specified query.</div>
+</td>
+</tr>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/segments/Segment.html" 
title="class in org.apache.unomi.api.segments">Segment</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getSegmentDefinition-java.lang.String-">getSegmentDefinition</a></span>(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentId)</code>
+<div class="block">Retrieves the segment identified by the specified 
identifier.</div>
+</td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/segments/DependentMetadata.html" 
title="class in org.apache.unomi.api.segments">DependentMetadata</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getSegmentDependentMetadata-java.lang.String-">getSegmentDependentMetadata</a></span>(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentId)</code>
+<div class="block">Retrieves the list of Segment and Scoring metadata 
depending on the specified segment.</div>
+</td>
+</tr>
+<tr id="i11" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getSegmentMetadatas-int-int-java.lang.String-">getSegmentMetadatas</a></span>(int&nbsp;offset,
+                   int&nbsp;size,
+                   <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;sortBy)</code>
+<div class="block">Retrieves segment metadatas, ordered according to the 
specified <code>sortBy</code> String and and paged: only <code>size</code> of 
them are retrieved, starting with the <code>offset</code>-th one.</div>
+</td>
+</tr>
+<tr id="i12" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getSegmentMetadatas-org.apache.unomi.api.query.Query-">getSegmentMetadatas</a></span>(<a
 href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in 
org.apache.unomi.api.query">Query</a>&nbsp;query)</code>
+<div class="block">Retrieves the metadata for segments matching the specified 
<a href="../../../../../../org/apache/unomi/api/query/Query.html" title="class 
in org.apache.unomi.api.query"><code>Query</code></a>.</div>
+</td>
+</tr>
+<tr id="i13" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getSegmentMetadatas-java.lang.String-int-int-java.lang.String-">getSegmentMetadatas</a></span>(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scope,
+                   int&nbsp;offset,
+                   int&nbsp;size,
+                   <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;sortBy)</code>
+<div class="block">Retrieves segment metadatas for segments in the specified 
scope, ordered according to the specified <code>sortBy</code> String and and 
paged: only <code>size</code> of them are
+ retrieved, starting with the <code>offset</code>-th one.</div>
+</td>
+</tr>
+<tr id="i14" class="altColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getSegmentMetadatasForProfile-org.apache.unomi.api.Profile-">getSegmentMetadatasForProfile</a></span>(<a
 href="../../../../../../org/apache/unomi/api/Profile.html" title="class in 
org.apache.unomi.api">Profile</a>&nbsp;profile)</code>
+<div class="block">Retrieves the list of segment metadata for the segments the 
specified profile is a member of.</div>
+</td>
+</tr>
+<tr id="i15" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/segments/SegmentsAndScores.html" 
title="class in org.apache.unomi.api.segments">SegmentsAndScores</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#getSegmentsAndScoresForProfile-org.apache.unomi.api.Profile-">getSegmentsAndScoresForProfile</a></span>(<a
 href="../../../../../../org/apache/unomi/api/Profile.html" title="class in 
org.apache.unomi.api">Profile</a>&nbsp;profile)</code>
+<div class="block">Retrieves the segments and scores for the specified 
profile.</div>
+</td>
+</tr>
+<tr id="i16" class="altColor">
+<td class="colFirst"><code><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true";
 title="class or interface in java.lang">Boolean</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#isProfileInSegment-org.apache.unomi.api.Profile-java.lang.String-">isProfileInSegment</a></span>(<a
 href="../../../../../../org/apache/unomi/api/Profile.html" title="class in 
org.apache.unomi.api">Profile</a>&nbsp;profile,
+                  <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentId)</code>
+<div class="block">Determines whether the specified profile is part of the 
segment identified by the specified identifier.</div>
+</td>
+</tr>
+<tr id="i17" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#postConstruct--">postConstruct</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i18" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#preDestroy--">preDestroy</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i19" class="rowColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/segments/DependentMetadata.html" 
title="class in org.apache.unomi.api.segments">DependentMetadata</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#removeScoringDefinition-java.lang.String-boolean-">removeScoringDefinition</a></span>(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scoringId,
+                       boolean&nbsp;validate)</code>
+<div class="block">Removes the scoring definition identified by the specified 
identifier.</div>
+</td>
+</tr>
+<tr id="i20" class="altColor">
+<td class="colFirst"><code><a 
href="../../../../../../org/apache/unomi/api/segments/DependentMetadata.html" 
title="class in org.apache.unomi.api.segments">DependentMetadata</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#removeSegmentDefinition-java.lang.String-boolean-">removeSegmentDefinition</a></span>(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentId,
+                       boolean&nbsp;validate)</code>
+<div class="block">Removes the segment definition identified by the specified 
identifier.</div>
+</td>
+</tr>
+<tr id="i21" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#setAggregateQueryBucketSize-int-">setAggregateQueryBucketSize</a></span>(int&nbsp;aggregateQueryBucketSize)</code>&nbsp;</td>
+</tr>
+<tr id="i22" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#setBundleContext-org.osgi.framework.BundleContext-">setBundleContext</a></span>(org.osgi.framework.BundleContext&nbsp;bundleContext)</code>&nbsp;</td>
+</tr>
+<tr id="i23" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#setEventService-org.apache.unomi.api.services.EventService-">setEventService</a></span>(<a
 href="../../../../../../org/apache/unomi/api/services/EventService.html" 
title="interface in 
org.apache.unomi.api.services">EventService</a>&nbsp;eventService)</code>&nbsp;</td>
+</tr>
+<tr id="i24" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#setRulesService-org.apache.unomi.api.services.RulesService-">setRulesService</a></span>(<a
 href="../../../../../../org/apache/unomi/api/services/RulesService.html" 
title="interface in 
org.apache.unomi.api.services">RulesService</a>&nbsp;rulesService)</code>&nbsp;</td>
+</tr>
+<tr id="i25" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#setSchedulerService-org.apache.unomi.api.services.SchedulerService-">setSchedulerService</a></span>(<a
 href="../../../../../../org/apache/unomi/api/services/SchedulerService.html" 
title="interface in 
org.apache.unomi.api.services">SchedulerService</a>&nbsp;schedulerService)</code>&nbsp;</td>
+</tr>
+<tr id="i26" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#setScoringDefinition-org.apache.unomi.api.segments.Scoring-">setScoringDefinition</a></span>(<a
 href="../../../../../../org/apache/unomi/api/segments/Scoring.html" 
title="class in org.apache.unomi.api.segments">Scoring</a>&nbsp;scoring)</code>
+<div class="block">Persists the specified scoring in the context server.</div>
+</td>
+</tr>
+<tr id="i27" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#setSegmentDefinition-org.apache.unomi.api.segments.Segment-">setSegmentDefinition</a></span>(<a
 href="../../../../../../org/apache/unomi/api/segments/Segment.html" 
title="class in org.apache.unomi.api.segments">Segment</a>&nbsp;segment)</code>
+<div class="block">Persists the specified segment in the context server.</div>
+</td>
+</tr>
+<tr id="i28" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#setSegmentRefreshInterval-long-">setSegmentRefreshInterval</a></span>(long&nbsp;segmentRefreshInterval)</code>&nbsp;</td>
+</tr>
+<tr id="i29" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#setSegmentUpdateBatchSize-int-">setSegmentUpdateBatchSize</a></span>(int&nbsp;segmentUpdateBatchSize)</code>&nbsp;</td>
+</tr>
+<tr id="i30" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#setTaskExecutionPeriod-long-">setTaskExecutionPeriod</a></span>(long&nbsp;taskExecutionPeriod)</code>&nbsp;</td>
+</tr>
+<tr id="i31" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html#updateAutoGeneratedRules-org.apache.unomi.api.Metadata-org.apache.unomi.api.conditions.Condition-">updateAutoGeneratedRules</a></span>(<a
 href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&nbsp;metadata,
+                        <a 
href="../../../../../../org/apache/unomi/api/conditions/Condition.html" 
title="class in 
org.apache.unomi.api.conditions">Condition</a>&nbsp;condition)</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a 
name="methods.inherited.from.class.org.apache.unomi.services.impl.AbstractServiceImpl">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;org.apache.unomi.services.impl.<a 
href="../../../../../../org/apache/unomi/services/impl/AbstractServiceImpl.html"
 title="class in org.apache.unomi.services.impl">AbstractServiceImpl</a></h3>
+<code><a 
href="../../../../../../org/apache/unomi/services/impl/AbstractServiceImpl.html#getMetadatas-int-int-java.lang.String-java.lang.Class-">getMetadatas</a>,
 <a 
href="../../../../../../org/apache/unomi/services/impl/AbstractServiceImpl.html#getMetadatas-org.apache.unomi.api.query.Query-java.lang.Class-">getMetadatas</a>,
 <a 
href="../../../../../../org/apache/unomi/services/impl/AbstractServiceImpl.html#setDefinitionsService-org.apache.unomi.api.services.DefinitionsService-">setDefinitionsService</a>,
 <a 
href="../../../../../../org/apache/unomi/services/impl/AbstractServiceImpl.html#setPersistenceService-org.apache.unomi.persistence.spi.PersistenceService-">setPersistenceService</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object</a></h3>
+<code><a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--";
 title="class or interface in java.lang">clone</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-";
 title="class or interface in java.lang">equals</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--";
 title="class or interface in java.lang">finalize</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--";
 title="class or interface in java.lang">getClass</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--";
 title="class or interface in java.lang">hashCode</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--";
 title="class or interface in java.lang">notify</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in 
java.lang">notifyAll</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--";
 title="class or interface in java.lang">toString</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--";
 title="class or interface in java.lang">wait</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-";
 title="class or interface in java.lang">wait</a>, <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-";
 title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="SegmentServiceImpl--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>SegmentServiceImpl</h4>
+<pre>public&nbsp;SegmentServiceImpl()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="setBundleContext-org.osgi.framework.BundleContext-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setBundleContext</h4>
+<pre>public&nbsp;void&nbsp;setBundleContext(org.osgi.framework.BundleContext&nbsp;bundleContext)</pre>
+</li>
+</ul>
+<a name="setEventService-org.apache.unomi.api.services.EventService-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setEventService</h4>
+<pre>public&nbsp;void&nbsp;setEventService(<a 
href="../../../../../../org/apache/unomi/api/services/EventService.html" 
title="interface in 
org.apache.unomi.api.services">EventService</a>&nbsp;eventService)</pre>
+</li>
+</ul>
+<a name="setRulesService-org.apache.unomi.api.services.RulesService-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setRulesService</h4>
+<pre>public&nbsp;void&nbsp;setRulesService(<a 
href="../../../../../../org/apache/unomi/api/services/RulesService.html" 
title="interface in 
org.apache.unomi.api.services">RulesService</a>&nbsp;rulesService)</pre>
+</li>
+</ul>
+<a name="setSchedulerService-org.apache.unomi.api.services.SchedulerService-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setSchedulerService</h4>
+<pre>public&nbsp;void&nbsp;setSchedulerService(<a 
href="../../../../../../org/apache/unomi/api/services/SchedulerService.html" 
title="interface in 
org.apache.unomi.api.services">SchedulerService</a>&nbsp;schedulerService)</pre>
+</li>
+</ul>
+<a name="setSegmentUpdateBatchSize-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setSegmentUpdateBatchSize</h4>
+<pre>public&nbsp;void&nbsp;setSegmentUpdateBatchSize(int&nbsp;segmentUpdateBatchSize)</pre>
+</li>
+</ul>
+<a name="setAggregateQueryBucketSize-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setAggregateQueryBucketSize</h4>
+<pre>public&nbsp;void&nbsp;setAggregateQueryBucketSize(int&nbsp;aggregateQueryBucketSize)</pre>
+</li>
+</ul>
+<a name="setSegmentRefreshInterval-long-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setSegmentRefreshInterval</h4>
+<pre>public&nbsp;void&nbsp;setSegmentRefreshInterval(long&nbsp;segmentRefreshInterval)</pre>
+</li>
+</ul>
+<a name="postConstruct--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>postConstruct</h4>
+<pre>public&nbsp;void&nbsp;postConstruct()</pre>
+</li>
+</ul>
+<a name="preDestroy--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>preDestroy</h4>
+<pre>public&nbsp;void&nbsp;preDestroy()</pre>
+</li>
+</ul>
+<a name="getSegmentMetadatas-int-int-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSegmentMetadatas</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;&nbsp;getSegmentMetadatas(int&nbsp;offset,
+                                                 int&nbsp;size,
+                                                 <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;sortBy)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentMetadatas-int-int-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Retrieves segment metadatas, ordered according to the 
specified <code>sortBy</code> String and and paged: only <code>size</code> of 
them are retrieved, starting with the <code>offset</code>-th one.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentMetadatas-int-int-java.lang.String-">getSegmentMetadatas</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>offset</code> - zero or a positive integer specifying the position 
of the first element in the total ordered collection of matching elements</dd>
+<dd><code>size</code> - a positive integer specifying how many matching 
elements should be retrieved or <code>-1</code> if all of them should be 
retrieved</dd>
+<dd><code>sortBy</code> - an optional (<code>null</code> if no sorting is 
required) String of comma (<code>,</code>) separated property names on which 
ordering should be performed, ordering elements according to the property order 
in the
+               String, considering each in turn and moving on to the next one 
in case of equality of all preceding ones. Each property name is optionally 
followed by
+               a column (<code>:</code>) and an order specifier: 
<code>asc</code> or <code>desc</code>.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>a <a href="../../../../../../org/apache/unomi/api/PartialList.html" 
title="class in org.apache.unomi.api"><code>PartialList</code></a> of segment 
metadata</dd>
+</dl>
+</li>
+</ul>
+<a name="getSegmentMetadatas-java.lang.String-int-int-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSegmentMetadatas</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;&nbsp;getSegmentMetadatas(<a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scope,
+                                                 int&nbsp;offset,
+                                                 int&nbsp;size,
+                                                 <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;sortBy)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentMetadatas-java.lang.String-int-int-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Retrieves segment metadatas for segments in the specified 
scope, ordered according to the specified <code>sortBy</code> String and and 
paged: only <code>size</code> of them are
+ retrieved, starting with the <code>offset</code>-th one.
+ TODO: remove?</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentMetadatas-java.lang.String-int-int-java.lang.String-">getSegmentMetadatas</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>scope</code> - the scope for which we want to retrieve segment 
metadata</dd>
+<dd><code>offset</code> - zero or a positive integer specifying the position 
of the first element in the total ordered collection of matching elements</dd>
+<dd><code>size</code> - a positive integer specifying how many matching 
elements should be retrieved or <code>-1</code> if all of them should be 
retrieved</dd>
+<dd><code>sortBy</code> - an optional (<code>null</code> if no sorting is 
required) String of comma (<code>,</code>) separated property names on which 
ordering should be performed, ordering elements according to the property order 
in the
+               String, considering each in turn and moving on to the next one 
in case of equality of all preceding ones. Each property name is optionally 
followed by
+               a column (<code>:</code>) and an order specifier: 
<code>asc</code> or <code>desc</code>.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>a <a href="../../../../../../org/apache/unomi/api/PartialList.html" 
title="class in org.apache.unomi.api"><code>PartialList</code></a> of segment 
metadata</dd>
+</dl>
+</li>
+</ul>
+<a name="getSegmentMetadatas-org.apache.unomi.api.query.Query-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSegmentMetadatas</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;&nbsp;getSegmentMetadatas(<a 
href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in 
org.apache.unomi.api.query">Query</a>&nbsp;query)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentMetadatas-org.apache.unomi.api.query.Query-">SegmentService</a></code></span></div>
+<div class="block">Retrieves the metadata for segments matching the specified 
<a href="../../../../../../org/apache/unomi/api/query/Query.html" title="class 
in org.apache.unomi.api.query"><code>Query</code></a>.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentMetadatas-org.apache.unomi.api.query.Query-">getSegmentMetadatas</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>query</code> - the query that the segments must match for their 
metadata to be retrieved</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>a <a href="../../../../../../org/apache/unomi/api/PartialList.html" 
title="class in org.apache.unomi.api"><code>PartialList</code></a> of segment 
metadata</dd>
+</dl>
+</li>
+</ul>
+<a name="getSegmentDefinition-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSegmentDefinition</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/segments/Segment.html" 
title="class in 
org.apache.unomi.api.segments">Segment</a>&nbsp;getSegmentDefinition(<a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentId)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentDefinition-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Retrieves the segment identified by the specified 
identifier.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentDefinition-java.lang.String-">getSegmentDefinition</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>segmentId</code> - the identifier of the segment to be retrieved</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the segment identified by the specified identifier or <code>null</code> if 
no such segment exists</dd>
+</dl>
+</li>
+</ul>
+<a name="setSegmentDefinition-org.apache.unomi.api.segments.Segment-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setSegmentDefinition</h4>
+<pre>public&nbsp;void&nbsp;setSegmentDefinition(<a 
href="../../../../../../org/apache/unomi/api/segments/Segment.html" 
title="class in org.apache.unomi.api.segments">Segment</a>&nbsp;segment)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#setSegmentDefinition-org.apache.unomi.api.segments.Segment-">SegmentService</a></code></span></div>
+<div class="block">Persists the specified segment in the context server.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#setSegmentDefinition-org.apache.unomi.api.segments.Segment-">setSegmentDefinition</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>segment</code> - the segment to be persisted</dd>
+</dl>
+</li>
+</ul>
+<a name="getSegmentDependentMetadata-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSegmentDependentMetadata</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/segments/DependentMetadata.html" 
title="class in 
org.apache.unomi.api.segments">DependentMetadata</a>&nbsp;getSegmentDependentMetadata(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentId)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentDependentMetadata-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Retrieves the list of Segment and Scoring metadata 
depending on the specified segment.
+ A segment or scoring is depending on a segment if it includes a 
profileSegmentCondition with a test on this segment.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentDependentMetadata-java.lang.String-">getSegmentDependentMetadata</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>segmentId</code> - the segment identifier</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>a list of Segment/Scoring Metadata depending on the specified segment</dd>
+</dl>
+</li>
+</ul>
+<a name="removeSegmentDefinition-java.lang.String-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>removeSegmentDefinition</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/segments/DependentMetadata.html" 
title="class in 
org.apache.unomi.api.segments">DependentMetadata</a>&nbsp;removeSegmentDefinition(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentId,
+                                                 boolean&nbsp;validate)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#removeSegmentDefinition-java.lang.String-boolean-">SegmentService</a></code></span></div>
+<div class="block">Removes the segment definition identified by the specified 
identifier. We can specify that we want the operation to be validated 
beforehand so that we can
+ know if any other segment that might use the segment we're trying to delete 
as a condition might be impacted. If <code>validate</code> is set to 
<code>false</code>, no
+ validation is performed. If set to <code>true</code>, we will first check if 
any segment or scoring depends on the segment we're trying to delete and if so 
we will not delete the
+ segment but rather return the list of the metadata of the impacted items. If 
no dependents are found, then we properly delete the segment.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#removeSegmentDefinition-java.lang.String-boolean-">removeSegmentDefinition</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>segmentId</code> - the identifier of the segment we want to 
delete</dd>
+<dd><code>validate</code> - whether or not to perform validation</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>a list of impacted segment metadata if any or an empty list if none were 
found or validation was skipped</dd>
+</dl>
+</li>
+</ul>
+<a name="getMatchingIndividuals-java.lang.String-int-int-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getMatchingIndividuals</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Profile.html" title="class in 
org.apache.unomi.api">Profile</a>&gt;&nbsp;getMatchingIndividuals(<a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentID,
+                                                   int&nbsp;offset,
+                                                   int&nbsp;size,
+                                                   <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;sortBy)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getMatchingIndividuals-java.lang.String-int-int-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Retrieves a list of profiles matching the conditions 
defined by the segment identified by the specified identifier, ordered 
according to the specified <code>sortBy</code>
+ String and and paged: only <code>size</code> of them are retrieved, starting 
with the <code>offset</code>-th one.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getMatchingIndividuals-java.lang.String-int-int-java.lang.String-">getMatchingIndividuals</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>segmentID</code> - the identifier of the segment for which we want 
to retrieve matching profiles</dd>
+<dd><code>offset</code> - zero or a positive integer specifying the position 
of the first element in the total ordered collection of matching elements</dd>
+<dd><code>size</code> - a positive integer specifying how many matching 
elements should be retrieved or <code>-1</code> if all of them should be 
retrieved</dd>
+<dd><code>sortBy</code> - an optional (<code>null</code> if no sorting is 
required) String of comma (<code>,</code>) separated property names on which 
ordering should be performed, ordering elements according to the property order 
in the
+                  String, considering each in turn and moving on to the next 
one in case of equality of all preceding ones. Each property name is optionally 
followed by
+                  a column (<code>:</code>) and an order specifier: 
<code>asc</code> or <code>desc</code>.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>a <a href="../../../../../../org/apache/unomi/api/PartialList.html" 
title="class in org.apache.unomi.api"><code>PartialList</code></a> of profiles 
matching the specified segment</dd>
+</dl>
+</li>
+</ul>
+<a name="getMatchingIndividualsCount-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getMatchingIndividualsCount</h4>
+<pre>public&nbsp;long&nbsp;getMatchingIndividualsCount(<a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentID)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getMatchingIndividualsCount-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Retrieves the number of profiles matching the conditions 
defined by the segment identified by the specified identifier.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getMatchingIndividualsCount-java.lang.String-">getMatchingIndividualsCount</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>segmentID</code> - the identifier of the segment for which we want 
to retrieve matching profiles</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the number of profiles matching the conditions defined by the segment 
identified by the specified identifier</dd>
+</dl>
+</li>
+</ul>
+<a name="isProfileInSegment-org.apache.unomi.api.Profile-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isProfileInSegment</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true";
 title="class or interface in java.lang">Boolean</a>&nbsp;isProfileInSegment(<a 
href="../../../../../../org/apache/unomi/api/Profile.html" title="class in 
org.apache.unomi.api">Profile</a>&nbsp;profile,
+                                  <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;segmentId)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#isProfileInSegment-org.apache.unomi.api.Profile-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Determines whether the specified profile is part of the 
segment identified by the specified identifier.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#isProfileInSegment-org.apache.unomi.api.Profile-java.lang.String-">isProfileInSegment</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>profile</code> - the profile we want to check</dd>
+<dd><code>segmentId</code> - the identifier of the segment against which we 
want to check the profile</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><code>true</code> if the specified profile is in the specified segment, 
<code>false</code> otherwise</dd>
+</dl>
+</li>
+</ul>
+<a name="getSegmentsAndScoresForProfile-org.apache.unomi.api.Profile-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSegmentsAndScoresForProfile</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/segments/SegmentsAndScores.html" 
title="class in 
org.apache.unomi.api.segments">SegmentsAndScores</a>&nbsp;getSegmentsAndScoresForProfile(<a
 href="../../../../../../org/apache/unomi/api/Profile.html" title="class in 
org.apache.unomi.api">Profile</a>&nbsp;profile)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentsAndScoresForProfile-org.apache.unomi.api.Profile-">SegmentService</a></code></span></div>
+<div class="block">Retrieves the segments and scores for the specified 
profile.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentsAndScoresForProfile-org.apache.unomi.api.Profile-">getSegmentsAndScoresForProfile</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>profile</code> - the profile for which we want to retrieve segments 
and scores</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>a <a 
href="../../../../../../org/apache/unomi/api/segments/SegmentsAndScores.html" 
title="class in 
org.apache.unomi.api.segments"><code>SegmentsAndScores</code></a> instance 
encapsulating the segments and scores for the specified profile</dd>
+</dl>
+</li>
+</ul>
+<a name="getSegmentMetadatasForProfile-org.apache.unomi.api.Profile-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSegmentMetadatasForProfile</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;&nbsp;getSegmentMetadatasForProfile(<a 
href="../../../../../../org/apache/unomi/api/Profile.html" title="class in 
org.apache.unomi.api">Profile</a>&nbsp;profile)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentMetadatasForProfile-org.apache.unomi.api.Profile-">SegmentService</a></code></span></div>
+<div class="block">Retrieves the list of segment metadata for the segments the 
specified profile is a member of.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getSegmentMetadatasForProfile-org.apache.unomi.api.Profile-">getSegmentMetadatasForProfile</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>profile</code> - the profile for which we want to retrieve the 
segment metadata</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the (possibly empty) list of segment metadata for the segments the 
specified profile is a member of</dd>
+</dl>
+</li>
+</ul>
+<a name="getScoringMetadatas-int-int-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getScoringMetadatas</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;&nbsp;getScoringMetadatas(int&nbsp;offset,
+                                                 int&nbsp;size,
+                                                 <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;sortBy)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getScoringMetadatas-int-int-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Retrieves the set of all scoring metadata.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getScoringMetadatas-int-int-java.lang.String-">getScoringMetadatas</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>offset</code> - the offset</dd>
+<dd><code>size</code> - the size</dd>
+<dd><code>sortBy</code> - sort by</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the set of all scoring metadata</dd>
+</dl>
+</li>
+</ul>
+<a name="getScoringMetadatas-org.apache.unomi.api.query.Query-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getScoringMetadatas</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in 
org.apache.unomi.api">PartialList</a>&lt;<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&gt;&nbsp;getScoringMetadatas(<a 
href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in 
org.apache.unomi.api.query">Query</a>&nbsp;query)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getScoringMetadatas-org.apache.unomi.api.query.Query-">SegmentService</a></code></span></div>
+<div class="block">Retrieves the set of scoring metadata for scorings matching 
the specified query.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getScoringMetadatas-org.apache.unomi.api.query.Query-">getScoringMetadatas</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>query</code> - the query the scorings must match for their metadata 
to be retrieved</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the set of scoring metadata for scorings matching the specified query</dd>
+</dl>
+</li>
+</ul>
+<a name="getScoringDefinition-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getScoringDefinition</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/segments/Scoring.html" 
title="class in 
org.apache.unomi.api.segments">Scoring</a>&nbsp;getScoringDefinition(<a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scoringId)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getScoringDefinition-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Retrieves the scoring identified by the specified 
identifier.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getScoringDefinition-java.lang.String-">getScoringDefinition</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>scoringId</code> - the identifier of the scoring to be retrieved</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the scoring identified by the specified identifier or <code>null</code> if 
no such scoring exists</dd>
+</dl>
+</li>
+</ul>
+<a name="setScoringDefinition-org.apache.unomi.api.segments.Scoring-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setScoringDefinition</h4>
+<pre>public&nbsp;void&nbsp;setScoringDefinition(<a 
href="../../../../../../org/apache/unomi/api/segments/Scoring.html" 
title="class in org.apache.unomi.api.segments">Scoring</a>&nbsp;scoring)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#setScoringDefinition-org.apache.unomi.api.segments.Scoring-">SegmentService</a></code></span></div>
+<div class="block">Persists the specified scoring in the context server.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#setScoringDefinition-org.apache.unomi.api.segments.Scoring-">setScoringDefinition</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>scoring</code> - the scoring to be persisted</dd>
+</dl>
+</li>
+</ul>
+<a 
name="createScoringDefinition-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createScoringDefinition</h4>
+<pre>public&nbsp;void&nbsp;createScoringDefinition(<a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scope,
+                                    <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scoringId,
+                                    <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;name,
+                                    <a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;description)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#createScoringDefinition-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Creates a scoring with the specified scope, identifier, 
name and description.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#createScoringDefinition-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">createScoringDefinition</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>scope</code> - the scope for the new scoring</dd>
+<dd><code>scoringId</code> - the identifier for the new scoring</dd>
+<dd><code>name</code> - the name of the new scoring</dd>
+<dd><code>description</code> - the description of the new scoring</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../../org/apache/unomi/api/Item.html" title="class in 
org.apache.unomi.api"><code>Item's description for a discussion of 
scope</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="getScoringDependentMetadata-java.lang.String-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getScoringDependentMetadata</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/segments/DependentMetadata.html" 
title="class in 
org.apache.unomi.api.segments">DependentMetadata</a>&nbsp;getScoringDependentMetadata(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scoringId)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getScoringDependentMetadata-java.lang.String-">SegmentService</a></code></span></div>
+<div class="block">Retrieves the list of Segment and Scoring metadata 
depending on the specified scoring.
+ A segment or scoring is depending on a segment if it includes a 
scoringCondition with a test on this scoring.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getScoringDependentMetadata-java.lang.String-">getScoringDependentMetadata</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>scoringId</code> - the segment identifier</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>a list of Segment/Scoring Metadata depending on the specified scoring</dd>
+</dl>
+</li>
+</ul>
+<a name="removeScoringDefinition-java.lang.String-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>removeScoringDefinition</h4>
+<pre>public&nbsp;<a 
href="../../../../../../org/apache/unomi/api/segments/DependentMetadata.html" 
title="class in 
org.apache.unomi.api.segments">DependentMetadata</a>&nbsp;removeScoringDefinition(<a
 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String</a>&nbsp;scoringId,
+                                                 boolean&nbsp;validate)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#removeScoringDefinition-java.lang.String-boolean-">SegmentService</a></code></span></div>
+<div class="block">Removes the scoring definition identified by the specified 
identifier. We can specify that we want the operation to be validated 
beforehand so that we can
+ know if any other segment that might use the segment we're trying to delete 
as a condition might be impacted. If <code>validate</code> is set to 
<code>false</code>, no
+ validation is performed. If set to <code>true</code>, we will first check if 
any segment or scoring depends on the scoring we're trying to delete and if so 
we will not delete the
+ scoring but rather return the list of the metadata of the impacted items. If 
no dependents are found, then we properly delete the scoring.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#removeScoringDefinition-java.lang.String-boolean-">removeScoringDefinition</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>scoringId</code> - the identifier of the scoring we want to 
delete</dd>
+<dd><code>validate</code> - whether or not to perform validation</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>a list of impacted items metadata if any or an empty list if none were 
found or validation was skipped</dd>
+</dl>
+</li>
+</ul>
+<a 
name="updateAutoGeneratedRules-org.apache.unomi.api.Metadata-org.apache.unomi.api.conditions.Condition-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>updateAutoGeneratedRules</h4>
+<pre>public&nbsp;void&nbsp;updateAutoGeneratedRules(<a 
href="../../../../../../org/apache/unomi/api/Metadata.html" title="class in 
org.apache.unomi.api">Metadata</a>&nbsp;metadata,
+                                     <a 
href="../../../../../../org/apache/unomi/api/conditions/Condition.html" 
title="class in 
org.apache.unomi.api.conditions">Condition</a>&nbsp;condition)</pre>
+</li>
+</ul>
+<a 
name="getGeneratedPropertyKey-org.apache.unomi.api.conditions.Condition-org.apache.unomi.api.conditions.Condition-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getGeneratedPropertyKey</h4>
+<pre>public&nbsp;<a 
href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in 
java.lang">String</a>&nbsp;getGeneratedPropertyKey(<a 
href="../../../../../../org/apache/unomi/api/conditions/Condition.html" 
title="class in org.apache.unomi.api.conditions">Condition</a>&nbsp;condition,
+                                      <a 
href="../../../../../../org/apache/unomi/api/conditions/Condition.html" 
title="class in 
org.apache.unomi.api.conditions">Condition</a>&nbsp;parentCondition)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from 
interface:&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getGeneratedPropertyKey-org.apache.unomi.api.conditions.Condition-org.apache.unomi.api.conditions.Condition-">SegmentService</a></code></span></div>
+<div class="block">Get generated property key for past event condition</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html#getGeneratedPropertyKey-org.apache.unomi.api.conditions.Condition-org.apache.unomi.api.conditions.Condition-">getGeneratedPropertyKey</a></code>&nbsp;in
 interface&nbsp;<code><a 
href="../../../../../../org/apache/unomi/api/services/SegmentService.html" 
title="interface in 
org.apache.unomi.api.services">SegmentService</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>condition</code> - The event condition</dd>
+<dd><code>parentCondition</code> - The past event condition</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+</dl>
+</li>
+</ul>
+<a name="bundleChanged-org.osgi.framework.BundleEvent-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>bundleChanged</h4>
+<pre>public&nbsp;void&nbsp;bundleChanged(org.osgi.framework.BundleEvent&nbsp;event)</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code>bundleChanged</code>&nbsp;in 
interface&nbsp;<code>org.osgi.framework.BundleListener</code></dd>
+</dl>
+</li>
+</ul>
+<a name="setTaskExecutionPeriod-long-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>setTaskExecutionPeriod</h4>
+<pre>public&nbsp;void&nbsp;setTaskExecutionPeriod(long&nbsp;taskExecutionPeriod)</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/SegmentServiceImpl.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev&nbsp;Class</li>
+<li>Next&nbsp;Class</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../../index.html?org/apache/unomi/services/impl/segments/SegmentServiceImpl.html"
 target="_top">Frames</a></li>
+<li><a href="SegmentServiceImpl.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a 
href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a 
href="#fields.inherited.from.class.org.apache.unomi.services.impl.AbstractServiceImpl">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2019 <a 
href="https://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</small></p>
+</body>
+</html>
\ No newline at end of file

Added: 
unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/class-use/SegmentServiceImpl.html
URL: 
http://svn.apache.org/viewvc/unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/class-use/SegmentServiceImpl.html?rev=1868535&view=auto
==============================================================================
--- 
unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/class-use/SegmentServiceImpl.html
 (added)
+++ 
unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/class-use/SegmentServiceImpl.html
 Thu Oct 17 06:07:11 2019
@@ -0,0 +1,126 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.8.0_181) on Thu Oct 17 07:59:36 CEST 2019 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Uses of Class 
org.apache.unomi.services.impl.segments.SegmentServiceImpl (Apache Unomi :: 
Root Project 1.5.0-SNAPSHOT API)</title>
+<meta name="date" content="2019-10-17">
+<link rel="stylesheet" type="text/css" 
href="../../../../../../../stylesheet.css" title="Style">
+<script type="text/javascript" src="../../../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="Uses of Class 
org.apache.unomi.services.impl.segments.SegmentServiceImpl (Apache Unomi :: 
Root Project 1.5.0-SNAPSHOT API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a 
href="../../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html"
 title="class in org.apache.unomi.services.impl.segments">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../../../index.html?org/apache/unomi/services/impl/segments/class-use/SegmentServiceImpl.html"
 target="_top">Frames</a></li>
+<li><a href="SegmentServiceImpl.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a 
href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class 
org.apache.unomi.services.impl.segments.SegmentServiceImpl" class="title">Uses 
of Class<br>org.apache.unomi.services.impl.segments.SegmentServiceImpl</h2>
+</div>
+<div class="classUseContainer">No usage of 
org.apache.unomi.services.impl.segments.SegmentServiceImpl</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a 
href="../../../../../../../org/apache/unomi/services/impl/segments/SegmentServiceImpl.html"
 title="class in org.apache.unomi.services.impl.segments">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a 
href="../../../../../../../index.html?org/apache/unomi/services/impl/segments/class-use/SegmentServiceImpl.html"
 target="_top">Frames</a></li>
+<li><a href="SegmentServiceImpl.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a 
href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2019 <a 
href="https://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</small></p>
+</body>
+</html>
\ No newline at end of file

Added: 
unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/package-frame.html
URL: 
http://svn.apache.org/viewvc/unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/package-frame.html?rev=1868535&view=auto
==============================================================================
--- 
unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/package-frame.html
 (added)
+++ 
unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/segments/package-frame.html
 Thu Oct 17 06:07:11 2019
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.8.0_181) on Thu Oct 17 07:59:36 CEST 2019 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>org.apache.unomi.services.impl.segments (Apache Unomi :: Root Project 
1.5.0-SNAPSHOT API)</title>
+<meta name="date" content="2019-10-17">
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../../../script.js"></script>
+</head>
+<body>
+<h1 class="bar"><a 
href="../../../../../../org/apache/unomi/services/impl/segments/package-summary.html"
 target="classFrame">org.apache.unomi.services.impl.segments</a></h1>
+<div class="indexContainer">
+<h2 title="Classes">Classes</h2>
+<ul title="Classes">
+<li><a href="SegmentServiceImpl.html" title="class in 
org.apache.unomi.services.impl.segments" 
target="classFrame">SegmentServiceImpl</a></li>
+</ul>
+</div>
+</body>
+</html>
\ No newline at end of file


Reply via email to