Added: unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html URL: http://svn.apache.org/viewvc/unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html?rev=1868535&view=auto ============================================================================== --- unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html (added) +++ unomi/website/unomi-api/apidocs/org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html Thu Oct 17 06:07:11 2019 @@ -0,0 +1,1412 @@ +<!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>ProfileServiceImpl (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="ProfileServiceImpl (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,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":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/ProfileServiceImpl.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 Class</li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html" target="_top">Frames</a></li> +<li><a href="ProfileServiceImpl.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All 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: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </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.profiles</div> +<h2 title="Class ProfileServiceImpl" class="title">Class ProfileServiceImpl</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>org.apache.unomi.services.impl.profiles.ProfileServiceImpl</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/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a>, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener</dd> +</dl> +<hr> +<br> +<pre>public class <span class="typeNameLabel">ProfileServiceImpl</span> +extends <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> +implements <a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</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.api.services.ProfileService"> +<!-- --> +</a> +<h3>Fields inherited from interface org.apache.unomi.api.services.<a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></h3> +<code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#PERSONAL_IDENTIFIER_TAG_NAME">PERSONAL_IDENTIFIER_TAG_NAME</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"> </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/profiles/ProfileServiceImpl.html#ProfileServiceImpl--">ProfileServiceImpl</a></span>()</code> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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/profiles/ProfileServiceImpl.html#batchProfilesUpdate-org.apache.unomi.api.BatchUpdate-">batchProfilesUpdate</a></span>(<a href="../../../../../../org/apache/unomi/api/BatchUpdate.html" title="class in org.apache.unomi.api">BatchUpdate</a> update)</code> +<div class="block">Update all profiles in batch according to the specified <a href="../../../../../../org/apache/unomi/api/BatchUpdate.html" title="class in org.apache.unomi.api"><code>BatchUpdate</code></a></div> +</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/profiles/ProfileServiceImpl.html#bundleChanged-org.osgi.framework.BundleEvent-">bundleChanged</a></span>(org.osgi.framework.BundleEvent event)</code> </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/Persona.html" title="class in org.apache.unomi.api">Persona</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#createPersona-java.lang.String-">createPersona</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> personaId)</code> +<div class="block">Creates a persona with the specified identifier and automatically creates an associated session with it.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#delete-java.lang.String-boolean-">delete</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> profileId, + boolean persona)</code> +<div class="block">Removes the profile (or persona if the <code>persona</code> parameter is set to <code>true</code>) identified by the specified identifier.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#deletePropertyType-java.lang.String-">deletePropertyType</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> propertyId)</code> +<div class="block">Deletes the property type identified by the specified identifier.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<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/profiles/ProfileServiceImpl.html#exportProfilesPropertiesToCsv-org.apache.unomi.api.query.Query-">exportProfilesPropertiesToCsv</a></span>(<a href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in org.apache.unomi.api.query">Query</a> query)</code> +<div class="block">Creates a String containing comma-separated values (CSV) formatted version of profiles matching the specified query.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in org.apache.unomi.api">PartialList</a><<a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#findProfilesByPropertyValue-java.lang.String-java.lang.String-int-int-java.lang.String-">findProfilesByPropertyValue</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> propertyName, + <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> propertyValue, + int offset, + int 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> sortBy)</code> +<div class="block">Find profiles which have the specified property with the specified value, ordered according to the specified <code>sortBy</code> String and paged: only + <code>size</code> of them are retrieved, starting with the <code>offset</code>-th one.</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><<a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#findProfileSessions-java.lang.String-">findProfileSessions</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> profileId)</code> +<div class="block">Retrieves sessions associated with the profile identified by the specified identifier.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getAllProfilesCount--">getAllProfilesCount</a></span>()</code> +<div class="block">Retrieves the number of unique profiles.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getExistingProperties-java.lang.String-java.lang.String-">getExistingProperties</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> tag, + <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> itemType)</code> +<div class="block">Retrieves the existing property types for the specified type as defined by the Item subclass public field <code>ITEM_TYPE</code> and with the specified tag.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getExistingProperties-java.lang.String-java.lang.String-boolean-">getExistingProperties</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> tag, + <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> itemType, + boolean systemTag)</code> +<div class="block">Retrieves the existing property types for the specified type as defined by the Item subclass public + field <code>ITEM_TYPE</code> and with the specified tag (system or regular) + + TODO: move to a different class</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><<a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getPersonaSessions-java.lang.String-int-int-java.lang.String-">getPersonaSessions</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> personaId, + int offset, + int 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> sortBy)</code> +<div class="block">Retrieves the sessions associated with the persona 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="i12" class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in org.apache.unomi.api">PartialList</a><<a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getProfileSessions-java.lang.String-java.lang.String-int-int-java.lang.String-">getProfileSessions</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> profileId, + <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> query, + int offset, + int 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> sortBy)</code> +<div class="block">Retrieves the sessions associated with the profile identified by the specified identifier that match the specified query (if specified), 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="i13" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getPropertyType-java.lang.String-">getPropertyType</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> id)</code> +<div class="block">Retrieves the property type identified by the specified identifier.</div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getPropertyTypeByMapping-java.lang.String-">getPropertyTypeByMapping</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> propertyName)</code> +<div class="block">TODO</div> +</td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getPropertyTypeBySystemTag-java.lang.String-">getPropertyTypeBySystemTag</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> tag)</code> +<div class="block">Retrieves all property types with the specified system tag + + TODO: move to a different class</div> +</td> +</tr> +<tr id="i16" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getPropertyTypeByTag-java.lang.String-">getPropertyTypeByTag</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> tag)</code> +<div class="block">Retrieves all property types with the specified tag + + TODO: move to a different class</div> +</td> +</tr> +<tr id="i17" class="rowColor"> +<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/profiles/ProfileServiceImpl.html#getPropertyTypeMapping-java.lang.String-">getPropertyTypeMapping</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> fromPropertyTypeId)</code> +<div class="block">TODO</div> +</td> +</tr> +<tr id="i18" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getTargetPropertyTypes--">getTargetPropertyTypes</a></span>()</code> +<div class="block">Retrieves all known property types.</div> +</td> +</tr> +<tr id="i19" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#getTargetPropertyTypes-java.lang.String-">getTargetPropertyTypes</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> target)</code> +<div class="block">Retrieves all the property types associated with the specified target.</div> +</td> +</tr> +<tr id="i20" class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#load-java.lang.String-">load</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> profileId)</code> +<div class="block">Retrieves the profile identified by the specified identifier.</div> +</td> +</tr> +<tr id="i21" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/Persona.html" title="class in org.apache.unomi.api">Persona</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#loadPersona-java.lang.String-">loadPersona</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> personaId)</code> +<div class="block">Retrieves the persona identified by the specified identifier.</div> +</td> +</tr> +<tr id="i22" class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/PersonaWithSessions.html" title="class in org.apache.unomi.api">PersonaWithSessions</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#loadPersonaWithSessions-java.lang.String-">loadPersonaWithSessions</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> personaId)</code> +<div class="block">Retrieves the persona identified by the specified identifier and all its associated sessions</div> +</td> +</tr> +<tr id="i23" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#loadSession-java.lang.String-java.util.Date-">loadSession</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> sessionId, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> dateHint)</code> +<div class="block">Retrieves the session identified by the specified identifier.</div> +</td> +</tr> +<tr id="i24" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#matchCondition-org.apache.unomi.api.conditions.Condition-org.apache.unomi.api.Profile-org.apache.unomi.api.Session-">matchCondition</a></span>(<a href="../../../../../../org/apache/unomi/api/conditions/Condition.html" title="class in org.apache.unomi.api.conditions">Condition</a> condition, + <a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> profile, + <a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a> session)</code> +<div class="block">Checks whether the specified profile and/or session satisfy the specified condition.</div> +</td> +</tr> +<tr id="i25" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#mergeProfiles-org.apache.unomi.api.Profile-java.util.List-">mergeProfiles</a></span>(<a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> masterProfile, + <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><<a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a>> profilesToMerge)</code> +<div class="block">Merges the specified profiles into the provided so-called master profile, merging properties according to the <a href="../../../../../../org/apache/unomi/api/PropertyMergeStrategyType.html" title="class in org.apache.unomi.api"><code>PropertyMergeStrategyType</code></a> specified on their <a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api"><code>PropertyType</code></a>.</div> +</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/profiles/ProfileServiceImpl.html#postConstruct--">postConstruct</a></span>()</code> </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/profiles/ProfileServiceImpl.html#preDestroy--">preDestroy</a></span>()</code> </td> +</tr> +<tr id="i28" class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#save-org.apache.unomi.api.Profile-">save</a></span>(<a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> profile)</code> +<div class="block">Saves the specified profile in the context server.</div> +</td> +</tr> +<tr id="i29" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#saveOrMerge-org.apache.unomi.api.Profile-">saveOrMerge</a></span>(<a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> profile)</code> +<div class="block">Merge the specified profile properties in an existing profile,or save new profile if it does not exist yet</div> +</td> +</tr> +<tr id="i30" class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/Persona.html" title="class in org.apache.unomi.api">Persona</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#savePersona-org.apache.unomi.api.Persona-">savePersona</a></span>(<a href="../../../../../../org/apache/unomi/api/Persona.html" title="class in org.apache.unomi.api">Persona</a> profile)</code> +<div class="block">Persists the specified <a href="../../../../../../org/apache/unomi/api/Persona.html" title="class in org.apache.unomi.api"><code>Persona</code></a> in the context server.</div> +</td> +</tr> +<tr id="i31" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/PersonaWithSessions.html" title="class in org.apache.unomi.api">PersonaWithSessions</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#savePersonaWithSessions-org.apache.unomi.api.PersonaWithSessions-">savePersonaWithSessions</a></span>(<a href="../../../../../../org/apache/unomi/api/PersonaWithSessions.html" title="class in org.apache.unomi.api">PersonaWithSessions</a> personaToSave)</code> +<div class="block">Save a persona with its sessions.</div> +</td> +</tr> +<tr id="i32" class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#saveSession-org.apache.unomi.api.Session-">saveSession</a></span>(<a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a> session)</code> +<div class="block">Saves the specified session.</div> +</td> +</tr> +<tr id="i33" class="rowColor"> +<td class="colFirst"><code><T extends <a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a>><br><a href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in org.apache.unomi.api">PartialList</a><T></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#search-org.apache.unomi.api.query.Query-java.lang.Class-">search</a></span>(<a href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in org.apache.unomi.api.query">Query</a> query, + <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> clazz)</code> +<div class="block">Retrieves profiles or personas matching the specified query.</div> +</td> +</tr> +<tr id="i34" class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in org.apache.unomi.api">PartialList</a><<a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#searchSessions-org.apache.unomi.api.query.Query-">searchSessions</a></span>(<a href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in org.apache.unomi.api.query">Query</a> query)</code> +<div class="block">Retrieves sessions matching the specified query.</div> +</td> +</tr> +<tr id="i35" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setBundleContext-org.osgi.framework.BundleContext-">setBundleContext</a></span>(org.osgi.framework.BundleContext bundleContext)</code> </td> +</tr> +<tr id="i36" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setDefinitionsService-org.apache.unomi.api.services.DefinitionsService-">setDefinitionsService</a></span>(<a href="../../../../../../org/apache/unomi/api/services/DefinitionsService.html" title="interface in org.apache.unomi.api.services">DefinitionsService</a> definitionsService)</code> </td> +</tr> +<tr id="i37" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setForceRefreshOnSave-boolean-">setForceRefreshOnSave</a></span>(boolean forceRefreshOnSave)</code> </td> +</tr> +<tr id="i38" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setPersistenceService-org.apache.unomi.persistence.spi.PersistenceService-">setPersistenceService</a></span>(<a href="../../../../../../org/apache/unomi/persistence/spi/PersistenceService.html" title="interface in org.apache.unomi.persistence.spi">PersistenceService</a> persistenceService)</code> </td> +</tr> +<tr id="i39" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setPropertiesRefreshInterval-long-">setPropertiesRefreshInterval</a></span>(long propertiesRefreshInterval)</code> </td> +</tr> +<tr id="i40" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setPropertyType-org.apache.unomi.api.PropertyType-">setPropertyType</a></span>(<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a> property)</code> +<div class="block">Persists the specified property type in the context server.</div> +</td> +</tr> +<tr id="i41" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setPropertyTypeTarget-java.net.URL-org.apache.unomi.api.PropertyType-">setPropertyTypeTarget</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a> predefinedPropertyTypeURL, + <a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a> propertyType)</code> +<div class="block">This function will try to set the target on the property type if not set already, based on the file URL</div> +</td> +</tr> +<tr id="i42" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setPurgeProfileExistTime-java.lang.Integer-">setPurgeProfileExistTime</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> purgeProfileExistTime)</code> </td> +</tr> +<tr id="i43" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setPurgeProfileInactiveTime-java.lang.Integer-">setPurgeProfileInactiveTime</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> purgeProfileInactiveTime)</code> </td> +</tr> +<tr id="i44" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setPurgeProfileInterval-java.lang.Integer-">setPurgeProfileInterval</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> purgeProfileInterval)</code> </td> +</tr> +<tr id="i45" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setPurgeSessionsAndEventsTime-java.lang.Integer-">setPurgeSessionsAndEventsTime</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> purgeSessionsAndEventsTime)</code> </td> +</tr> +<tr id="i46" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.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> schedulerService)</code> </td> +</tr> +<tr id="i47" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/unomi/services/impl/profiles/ProfileServiceImpl.html#setSegmentService-org.apache.unomi.api.services.SegmentService-">setSegmentService</a></span>(<a href="../../../../../../org/apache/unomi/api/services/SegmentService.html" title="interface in org.apache.unomi.api.services">SegmentService</a> segmentService)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class 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="ProfileServiceImpl--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ProfileServiceImpl</h4> +<pre>public ProfileServiceImpl()</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 void setBundleContext(org.osgi.framework.BundleContext bundleContext)</pre> +</li> +</ul> +<a name="setPersistenceService-org.apache.unomi.persistence.spi.PersistenceService-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPersistenceService</h4> +<pre>public void setPersistenceService(<a href="../../../../../../org/apache/unomi/persistence/spi/PersistenceService.html" title="interface in org.apache.unomi.persistence.spi">PersistenceService</a> persistenceService)</pre> +</li> +</ul> +<a name="setDefinitionsService-org.apache.unomi.api.services.DefinitionsService-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDefinitionsService</h4> +<pre>public void setDefinitionsService(<a href="../../../../../../org/apache/unomi/api/services/DefinitionsService.html" title="interface in org.apache.unomi.api.services">DefinitionsService</a> definitionsService)</pre> +</li> +</ul> +<a name="setSchedulerService-org.apache.unomi.api.services.SchedulerService-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setSchedulerService</h4> +<pre>public void setSchedulerService(<a href="../../../../../../org/apache/unomi/api/services/SchedulerService.html" title="interface in org.apache.unomi.api.services">SchedulerService</a> schedulerService)</pre> +</li> +</ul> +<a name="setSegmentService-org.apache.unomi.api.services.SegmentService-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setSegmentService</h4> +<pre>public void setSegmentService(<a href="../../../../../../org/apache/unomi/api/services/SegmentService.html" title="interface in org.apache.unomi.api.services">SegmentService</a> segmentService)</pre> +</li> +</ul> +<a name="setForceRefreshOnSave-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setForceRefreshOnSave</h4> +<pre>public void setForceRefreshOnSave(boolean forceRefreshOnSave)</pre> +</li> +</ul> +<a name="setPropertiesRefreshInterval-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPropertiesRefreshInterval</h4> +<pre>public void setPropertiesRefreshInterval(long propertiesRefreshInterval)</pre> +</li> +</ul> +<a name="postConstruct--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>postConstruct</h4> +<pre>public void postConstruct()</pre> +</li> +</ul> +<a name="preDestroy--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>preDestroy</h4> +<pre>public void preDestroy()</pre> +</li> +</ul> +<a name="setPurgeProfileExistTime-java.lang.Integer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPurgeProfileExistTime</h4> +<pre>public void setPurgeProfileExistTime(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> purgeProfileExistTime)</pre> +</li> +</ul> +<a name="setPurgeProfileInactiveTime-java.lang.Integer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPurgeProfileInactiveTime</h4> +<pre>public void setPurgeProfileInactiveTime(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> purgeProfileInactiveTime)</pre> +</li> +</ul> +<a name="setPurgeSessionsAndEventsTime-java.lang.Integer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPurgeSessionsAndEventsTime</h4> +<pre>public void setPurgeSessionsAndEventsTime(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> purgeSessionsAndEventsTime)</pre> +</li> +</ul> +<a name="setPurgeProfileInterval-java.lang.Integer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPurgeProfileInterval</h4> +<pre>public void setPurgeProfileInterval(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> purgeProfileInterval)</pre> +</li> +</ul> +<a name="getAllProfilesCount--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAllProfilesCount</h4> +<pre>public long getAllProfilesCount()</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#getAllProfilesCount--">ProfileService</a></code></span></div> +<div class="block">Retrieves the number of unique profiles.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#getAllProfilesCount--">getAllProfilesCount</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the number of unique profiles.</dd> +</dl> +</li> +</ul> +<a name="search-org.apache.unomi.api.query.Query-java.lang.Class-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>search</h4> +<pre>public <T extends <a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a>> <a href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in org.apache.unomi.api">PartialList</a><T> search(<a href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in org.apache.unomi.api.query">Query</a> query, + <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> clazz)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#search-org.apache.unomi.api.query.Query-java.lang.Class-">ProfileService</a></code></span></div> +<div class="block">Retrieves profiles or personas matching the specified query.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#search-org.apache.unomi.api.query.Query-java.lang.Class-">search</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - the specific sub-type of <a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api"><code>Profile</code></a> to retrieve</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>query</code> - a <a href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in org.apache.unomi.api.query"><code>Query</code></a> specifying which elements to retrieve</dd> +<dd><code>clazz</code> - the class of elements to retrieve</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 <code>T</code> instances matching the specified query</dd> +</dl> +</li> +</ul> +<a name="searchSessions-org.apache.unomi.api.query.Query-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>searchSessions</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in org.apache.unomi.api">PartialList</a><<a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a>> searchSessions(<a href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in org.apache.unomi.api.query">Query</a> query)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#searchSessions-org.apache.unomi.api.query.Query-">ProfileService</a></code></span></div> +<div class="block">Retrieves sessions matching the specified query.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#searchSessions-org.apache.unomi.api.query.Query-">searchSessions</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>query</code> - a <a href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in org.apache.unomi.api.query"><code>Query</code></a> specifying which elements to retrieve</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 sessions matching the specified query</dd> +</dl> +</li> +</ul> +<a name="setPropertyType-org.apache.unomi.api.PropertyType-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPropertyType</h4> +<pre>public boolean setPropertyType(<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a> property)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#setPropertyType-org.apache.unomi.api.PropertyType-">ProfileService</a></code></span></div> +<div class="block">Persists the specified property type in the context server. + + TODO: move to a different class</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#setPropertyType-org.apache.unomi.api.PropertyType-">setPropertyType</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>property</code> - the property type to persist</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd><code>true</code> if the property type was properly created, <code>false</code> otherwise (for example, if the property type already existed</dd> +</dl> +</li> +</ul> +<a name="deletePropertyType-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>deletePropertyType</h4> +<pre>public boolean deletePropertyType(<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> propertyId)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#deletePropertyType-java.lang.String-">ProfileService</a></code></span></div> +<div class="block">Deletes the property type identified by the specified identifier. + + TODO: move to a different class</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#deletePropertyType-java.lang.String-">deletePropertyType</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>propertyId</code> - the identifier of the property type to delete</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd><code>true</code> if the property type was properly deleted, <code>false</code> otherwise</dd> +</dl> +</li> +</ul> +<a name="getExistingProperties-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getExistingProperties</h4> +<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a>> getExistingProperties(<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> tag, + <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> itemType)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#getExistingProperties-java.lang.String-java.lang.String-">ProfileService</a></code></span></div> +<div class="block">Retrieves the existing property types for the specified type as defined by the Item subclass public field <code>ITEM_TYPE</code> and with the specified tag. + + TODO: move to a different class</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#getExistingProperties-java.lang.String-java.lang.String-">getExistingProperties</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tag</code> - the tag we're interested in</dd> +<dd><code>itemType</code> - the String representation of the item type we want to retrieve the count of, as defined by its class' <code>ITEM_TYPE</code> field</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>all property types defined for the specified item type and with the specified tag</dd> +</dl> +</li> +</ul> +<a name="getExistingProperties-java.lang.String-java.lang.String-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getExistingProperties</h4> +<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api">PropertyType</a>> getExistingProperties(<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> tag, + <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> itemType, + boolean systemTag)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#getExistingProperties-java.lang.String-java.lang.String-boolean-">ProfileService</a></code></span></div> +<div class="block">Retrieves the existing property types for the specified type as defined by the Item subclass public + field <code>ITEM_TYPE</code> and with the specified tag (system or regular) + + TODO: move to a different class</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#getExistingProperties-java.lang.String-java.lang.String-boolean-">getExistingProperties</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tag</code> - the tag we're interested in</dd> +<dd><code>itemType</code> - the String representation of the item type we want to retrieve the count of, as defined by its class' <code>ITEM_TYPE</code> field</dd> +<dd><code>systemTag</code> - whether the specified is a system tag or a regular one</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>all property types defined for the specified item type and with the specified tag</dd> +</dl> +</li> +</ul> +<a name="exportProfilesPropertiesToCsv-org.apache.unomi.api.query.Query-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>exportProfilesPropertiesToCsv</h4> +<pre>public <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> exportProfilesPropertiesToCsv(<a href="../../../../../../org/apache/unomi/api/query/Query.html" title="class in org.apache.unomi.api.query">Query</a> query)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#exportProfilesPropertiesToCsv-org.apache.unomi.api.query.Query-">ProfileService</a></code></span></div> +<div class="block">Creates a String containing comma-separated values (CSV) formatted version of profiles matching the specified query.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#exportProfilesPropertiesToCsv-org.apache.unomi.api.query.Query-">exportProfilesPropertiesToCsv</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>query</code> - the query specifying which profiles to export</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a CSV-formatted String version of the profiles matching the specified query</dd> +</dl> +</li> +</ul> +<a name="findProfilesByPropertyValue-java.lang.String-java.lang.String-int-int-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findProfilesByPropertyValue</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in org.apache.unomi.api">PartialList</a><<a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a>> findProfilesByPropertyValue(<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> propertyName, + <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> propertyValue, + int offset, + int 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> sortBy)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#findProfilesByPropertyValue-java.lang.String-java.lang.String-int-int-java.lang.String-">ProfileService</a></code></span></div> +<div class="block">Find profiles which have the specified property with the specified value, ordered according to the specified <code>sortBy</code> String and paged: only + <code>size</code> of them are retrieved, starting with the <code>offset</code>-th one. + + TODO: replace with version using a query instead of separate parameters + TODO: remove as it's unused?</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#findProfilesByPropertyValue-java.lang.String-java.lang.String-int-int-java.lang.String-">findProfilesByPropertyValue</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>propertyName</code> - the name of the property we're interested in</dd> +<dd><code>propertyValue</code> - the value of the property we want profiles to have</dd> +<dd><code>offset</code> - zero or a positive integer specifying the position of the first profile in the total ordered collection of matching profiles</dd> +<dd><code>size</code> - a positive integer specifying how many matching profiles 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 matching profiles</dd> +</dl> +</li> +</ul> +<a name="load-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>load</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> load(<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> profileId)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#load-java.lang.String-">ProfileService</a></code></span></div> +<div class="block">Retrieves the profile identified by the specified identifier.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#load-java.lang.String-">load</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>profileId</code> - the identifier of the profile to retrieve</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the profile identified by the specified identifier or <code>null</code> if no such profile exists</dd> +</dl> +</li> +</ul> +<a name="save-org.apache.unomi.api.Profile-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>save</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> save(<a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> profile)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#save-org.apache.unomi.api.Profile-">ProfileService</a></code></span></div> +<div class="block">Saves the specified profile in the context server.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#save-org.apache.unomi.api.Profile-">save</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>profile</code> - the profile to be saved</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the newly saved profile</dd> +</dl> +</li> +</ul> +<a name="saveOrMerge-org.apache.unomi.api.Profile-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>saveOrMerge</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> saveOrMerge(<a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> profile)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#saveOrMerge-org.apache.unomi.api.Profile-">ProfileService</a></code></span></div> +<div class="block">Merge the specified profile properties in an existing profile,or save new profile if it does not exist yet</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#saveOrMerge-org.apache.unomi.api.Profile-">saveOrMerge</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>profile</code> - the profile to be saved</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the newly saved or merged profile or null if the save or merge operation failed.</dd> +</dl> +</li> +</ul> +<a name="savePersona-org.apache.unomi.api.Persona-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>savePersona</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/Persona.html" title="class in org.apache.unomi.api">Persona</a> savePersona(<a href="../../../../../../org/apache/unomi/api/Persona.html" title="class in org.apache.unomi.api">Persona</a> profile)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#savePersona-org.apache.unomi.api.Persona-">ProfileService</a></code></span></div> +<div class="block">Persists the specified <a href="../../../../../../org/apache/unomi/api/Persona.html" title="class in org.apache.unomi.api"><code>Persona</code></a> in the context server.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#savePersona-org.apache.unomi.api.Persona-">savePersona</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>profile</code> - the persona to persist</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the newly persisted persona</dd> +</dl> +</li> +</ul> +<a name="delete-java.lang.String-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>delete</h4> +<pre>public void delete(<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> profileId, + boolean persona)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#delete-java.lang.String-boolean-">ProfileService</a></code></span></div> +<div class="block">Removes the profile (or persona if the <code>persona</code> parameter is set to <code>true</code>) identified by the specified identifier.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#delete-java.lang.String-boolean-">delete</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>profileId</code> - the identifier of the profile or persona to delete</dd> +<dd><code>persona</code> - <code>true</code> if the specified identifier is supposed to refer to a persona, <code>false</code> if it is supposed to refer to a profile</dd> +</dl> +</li> +</ul> +<a name="mergeProfiles-org.apache.unomi.api.Profile-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mergeProfiles</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> mergeProfiles(<a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> masterProfile, + <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><<a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a>> profilesToMerge)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#mergeProfiles-org.apache.unomi.api.Profile-java.util.List-">ProfileService</a></code></span></div> +<div class="block">Merges the specified profiles into the provided so-called master profile, merging properties according to the <a href="../../../../../../org/apache/unomi/api/PropertyMergeStrategyType.html" title="class in org.apache.unomi.api"><code>PropertyMergeStrategyType</code></a> specified on their <a href="../../../../../../org/apache/unomi/api/PropertyType.html" title="class in org.apache.unomi.api"><code>PropertyType</code></a>.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#mergeProfiles-org.apache.unomi.api.Profile-java.util.List-">mergeProfiles</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>masterProfile</code> - the profile into which the specified profiles will be merged</dd> +<dd><code>profilesToMerge</code> - the list of profiles to merge into the specified master profile</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the merged profile</dd> +</dl> +</li> +</ul> +<a name="getProfileSessions-java.lang.String-java.lang.String-int-int-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getProfileSessions</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in org.apache.unomi.api">PartialList</a><<a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a>> getProfileSessions(<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> profileId, + <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> query, + int offset, + int 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> sortBy)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#getProfileSessions-java.lang.String-java.lang.String-int-int-java.lang.String-">ProfileService</a></code></span></div> +<div class="block">Retrieves the sessions associated with the profile identified by the specified identifier that match the specified query (if specified), 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: use a Query object instead of distinct parameter</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#getProfileSessions-java.lang.String-java.lang.String-int-int-java.lang.String-">getProfileSessions</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>profileId</code> - the identifier of the profile we want to retrieve sessions from</dd> +<dd><code>query</code> - a String of text used for fulltext filtering which sessions we are interested in or <code>null</code> (or an empty String) if we want to retrieve all sessions</dd> +<dd><code>offset</code> - zero or a positive integer specifying the position of the first session in the total ordered collection of matching sessions</dd> +<dd><code>size</code> - a positive integer specifying how many matching sessions 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 matching sessions</dd> +</dl> +</li> +</ul> +<a name="getPropertyTypeMapping-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPropertyTypeMapping</h4> +<pre>public <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> getPropertyTypeMapping(<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> fromPropertyTypeId)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#getPropertyTypeMapping-java.lang.String-">ProfileService</a></code></span></div> +<div class="block">TODO</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#getPropertyTypeMapping-java.lang.String-">getPropertyTypeMapping</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>fromPropertyTypeId</code> - fromPropertyTypeId</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>property type mapping</dd> +</dl> +</li> +</ul> +<a name="loadSession-java.lang.String-java.util.Date-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>loadSession</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a> loadSession(<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> sessionId, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> dateHint)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#loadSession-java.lang.String-java.util.Date-">ProfileService</a></code></span></div> +<div class="block">Retrieves the session identified by the specified identifier.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#loadSession-java.lang.String-java.util.Date-">loadSession</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>sessionId</code> - the identifier of the session to be retrieved</dd> +<dd><code>dateHint</code> - a Date helping in identifying where the item is located</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the session identified by the specified identifier</dd> +</dl> +</li> +</ul> +<a name="saveSession-org.apache.unomi.api.Session-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>saveSession</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a> saveSession(<a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a> session)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#saveSession-org.apache.unomi.api.Session-">ProfileService</a></code></span></div> +<div class="block">Saves the specified session.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#saveSession-org.apache.unomi.api.Session-">saveSession</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>session</code> - the session to be saved</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the newly saved session</dd> +</dl> +</li> +</ul> +<a name="findProfileSessions-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>findProfileSessions</h4> +<pre>public <a href="../../../../../../org/apache/unomi/api/PartialList.html" title="class in org.apache.unomi.api">PartialList</a><<a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a>> findProfileSessions(<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> profileId)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#findProfileSessions-java.lang.String-">ProfileService</a></code></span></div> +<div class="block">Retrieves sessions associated with the profile identified by the specified identifier.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#findProfileSessions-java.lang.String-">findProfileSessions</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>profileId</code> - the profile id for which we want to retrieve the sessions</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 the profile's sessions</dd> +</dl> +</li> +</ul> +<a name="matchCondition-org.apache.unomi.api.conditions.Condition-org.apache.unomi.api.Profile-org.apache.unomi.api.Session-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchCondition</h4> +<pre>public boolean matchCondition(<a href="../../../../../../org/apache/unomi/api/conditions/Condition.html" title="class in org.apache.unomi.api.conditions">Condition</a> condition, + <a href="../../../../../../org/apache/unomi/api/Profile.html" title="class in org.apache.unomi.api">Profile</a> profile, + <a href="../../../../../../org/apache/unomi/api/Session.html" title="class in org.apache.unomi.api">Session</a> session)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#matchCondition-org.apache.unomi.api.conditions.Condition-org.apache.unomi.api.Profile-org.apache.unomi.api.Session-">ProfileService</a></code></span></div> +<div class="block">Checks whether the specified profile and/or session satisfy the specified condition.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html#matchCondition-org.apache.unomi.api.conditions.Condition-org.apache.unomi.api.Profile-org.apache.unomi.api.Session-">matchCondition</a></code> in interface <code><a href="../../../../../../org/apache/unomi/api/services/ProfileService.html" title="interface in org.apache.unomi.api.services">ProfileService</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>condition</code> - the condition we're testing against which might or might not have profile- or session-specific sub-conditions</dd> +<dd><code>profile</code> - the profile we're testing</dd> +<dd><code>session</code> - the session we're testing</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd><code>true</code> if the profile and/or sessions match the specified condition, <code>false</code> otherwise</dd> +</dl> +</li> +</ul> +<a name="batchProfilesUpdate-org.apache.unomi.api.BatchUpdate-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList">
[... 342 lines stripped ...]