org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-9FF007CF-0CFF-4572-B399-B98C4F98C250.html
author Eugene Ostroukhov <eugeneo@symbian.org>
Fri, 11 Jun 2010 13:33:03 -0700
changeset 372 1e408ee32d8a
parent 229 716254ccbcc0
permissions -rw-r--r--
Added templates for WRT 1.1 platform services


<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="Criteria for deleting contact information"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-65AAF569-D347-462B-B59A-9D7CA184AB9C"/><meta name="DC.Relation" scheme="URI" content="GUID-A5853293-7B83-4CCE-9C29-B2B8F0CD8A18"/><meta name="DC.Relation" scheme="URI" content="GUID-E6FAAB7C-EE2D-4464-9D0F-B1D89E26ABCF"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-9FF007CF-0CFF-4572-B399-B98C4F98C250"/><title>Criteria for
deleting contact information </title><script type="text/javascript">
      function initPage() {}
    </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-9FF007CF-0CFF-4572-B399-B98C4F98C250"><span>Criteria</span> for
deleting contact information</h1><div>
<p>The <code>criteria</code> object specifies which contacts
or contact groups to delete and from which database. If no database is specified,
the information is deleted from the default database.</p>
<p>The <code>criteria</code> object has two main properties: <code>Type</code> and <code>Data</code>.
These are described in the following table. Properties enclosed in brackets
are optional.</p>
<div class="note"><p><strong class="note_title">Note: </strong>All string values in the object are Unicode.</p>
</div>
<div class="tablenoborder"><a name="GUID-94B5963D-A4A5-49EC-B0C9-1E1634913A1C"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-94B5963D-A4A5-49EC-B0C9-1E1634913A1C" frame="border" border="1" rules="all"><caption><strong>Table: </strong><span>Criteria</span> object properties</caption>

<thead align="left">
<tr class="title "><th class="cellrowborder" valign="top" width="25%" id="d0e32892">
<p>Property</p>
</th><th class="cellrowborder" valign="top" width="25%" id="d0e32897">
<p>Description</p>
</th><th class="cellrowborder" valign="top" width="25%" id="d0e32902">
<p>Type</p>
</th><th class="cellrowborder" valign="top" width="25%" id="d0e32907">
<p>Value</p>
</th></tr>
</thead>
<tbody>
<tr class="">
<td class="cellrowborder" valign="top" width="25%" headers="d0e32892 ">
<p><code>criteria.Type</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32897 ">
<p>Specifies the type of contact information to delete.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32902 ">
<p>string</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32907 ">
<p>Possible values:</p>
<ul>
<li><p><code>"Contact"</code></p></li>
<li><p><code>"Group"</code></p></li>
</ul>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" width="25%" headers="d0e32892 ">
<p><code>criteria.Data</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32897 ">
<p>Specifies the contact information to delete.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32902 ">
<p>object</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32907 ">
<p>Object with the properties specified below</p>
</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" width="25%" headers="d0e32892 ">
<p><code>[criteria.Data.DBUri]</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32897 ">
<p>Specifies the contacts database from which the information is deleted.</p>
<p>If this property is not specified, the default database is used.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32902 ">
<p>string</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32907 ">&nbsp;</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" width="25%" headers="d0e32892 ">
<p><code>criteria.Data.IdList</code></p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32897 ">
<p>Specifies the unique identifiers of the contacts or contact groups to
delete.</p>
<p><code>Data.IdList[0]</code> contains the ID of the first entry.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32902 ">
<p>array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="d0e32907 ">&nbsp;</td>
</tr>
</tbody>
</table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>