org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-C5E6EDA9-DDE8-44E0-99C1-2031514B3072.html
changeset 229 716254ccbcc0
equal deleted inserted replaced
228:913c9751c067 229:716254ccbcc0
       
     1 
       
     2 <!DOCTYPE html
       
     3   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       
     4 <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 organizing landmarks in a landmark category"/><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-B8845FF1-D7F6-476A-8651-8B9C12D8789F"/><meta name="DC.Relation" scheme="URI" content="GUID-B8869924-0E95-4543-954E-5A4246922CB4"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-C5E6EDA9-DDE8-44E0-99C1-2031514B3072"/><title>Criteria for
       
     5 organizing landmarks in a landmark category </title><script type="text/javascript">
       
     6       function initPage() {}
       
     7     </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-C5E6EDA9-DDE8-44E0-99C1-2031514B3072"><span>Criteria</span> for
       
     8 organizing landmarks in a landmark category</h1><div>
       
     9 <p>The <code>criteria</code> object specifies which landmarks
       
    10 to associate or disassociate and with which landmark category.</p>
       
    11 <p>The <code>criteria</code> object has three main properties: <code>Type</code>, <code>Data</code>,
       
    12 and <code>OperationType</code>. These are described in the following
       
    13 table.</p>
       
    14 <div class="tablenoborder"><a name="GUID-439F013C-6C73-4883-80B4-70217B7DAFC3"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-439F013C-6C73-4883-80B4-70217B7DAFC3" frame="border" border="1" rules="all"><caption><strong>Table: </strong><span>Criteria</span> object properties</caption>
       
    15 
       
    16 <thead align="left">
       
    17 <tr class="title "><th class="cellrowborder" valign="top" width="25%" id="d0e43547">
       
    18 <p>Property</p>
       
    19 </th><th class="cellrowborder" valign="top" width="25%" id="d0e43552">
       
    20 <p>Description</p>
       
    21 </th><th class="cellrowborder" valign="top" width="25%" id="d0e43557">
       
    22 <p>Type</p>
       
    23 </th><th class="cellrowborder" valign="top" width="25%" id="d0e43562">
       
    24 <p>Value</p>
       
    25 </th></tr>
       
    26 </thead>
       
    27 <tbody>
       
    28 <tr class="">
       
    29 <td class="cellrowborder" valign="top" width="25%" headers="d0e43547 ">
       
    30 <p><code>criteria.Type</code></p>
       
    31 </td>
       
    32 <td class="cellrowborder" valign="top" width="25%" headers="d0e43552 ">
       
    33 <p>Specifies the type of landmark information to organize. This is always <code>"Landmark"</code>.</p>
       
    34 </td>
       
    35 <td class="cellrowborder" valign="top" width="25%" headers="d0e43557 ">
       
    36 <p>string</p>
       
    37 </td>
       
    38 <td class="cellrowborder" valign="top" width="25%" headers="d0e43562 ">
       
    39 <p>Possible values:</p>
       
    40 <ul>
       
    41 <li><p><code>"Landmark"</code></p></li>
       
    42 </ul>
       
    43 </td>
       
    44 </tr>
       
    45 <tr class="bg ">
       
    46 <td class="cellrowborder" valign="top" width="25%" headers="d0e43547 ">
       
    47 <p><code>criteria.Data</code></p>
       
    48 </td>
       
    49 <td class="cellrowborder" valign="top" width="25%" headers="d0e43552 ">
       
    50 <p>Specifies which landmarks to organize, in which landmark category, and
       
    51 how (associate or disassociate).</p>
       
    52 </td>
       
    53 <td class="cellrowborder" valign="top" width="25%" headers="d0e43557 ">
       
    54 <p>object</p>
       
    55 </td>
       
    56 <td class="cellrowborder" valign="top" width="25%" headers="d0e43562 ">
       
    57 <p>Object with the properties specified below</p>
       
    58 </td>
       
    59 </tr>
       
    60 <tr class="">
       
    61 <td class="cellrowborder" valign="top" width="25%" headers="d0e43547 ">
       
    62 <p><code>[criteria.Data.DatabaseURI]</code></p>
       
    63 </td>
       
    64 <td class="cellrowborder" valign="top" width="25%" headers="d0e43552 ">
       
    65 <p>Specifies the URI of the landmark database in which the landmarks are
       
    66 organized.</p>
       
    67 <p>If this property is not specified, the landmarks are organized in the
       
    68 default database.</p>
       
    69 </td>
       
    70 <td class="cellrowborder" valign="top" width="25%" headers="d0e43557 ">
       
    71 <p>string</p>
       
    72 </td>
       
    73 <td class="cellrowborder" valign="top" width="25%" headers="d0e43562 ">
       
    74 <p>For example: <code>file://c:landmarks.ldb</code></p>
       
    75 </td>
       
    76 </tr>
       
    77 <tr class="bg ">
       
    78 <td class="cellrowborder" valign="top" width="25%" headers="d0e43547 ">
       
    79 <p><code>criteria.Data.id</code></p>
       
    80 </td>
       
    81 <td class="cellrowborder" valign="top" width="25%" headers="d0e43552 ">
       
    82 <p>Specifies the ID of the landmark category to organize. The specified
       
    83 landmarks are associated or disassociated with this category.</p>
       
    84 <p>Use the <a href="GUID-55591BBC-49F8-407D-98F5-1D2FCD5DFB34.html#GUID-55591BBC-49F8-407D-98F5-1D2FCD5DFB34"><code>GetList</code></a> method
       
    85 to retrieve this ID.</p>
       
    86 </td>
       
    87 <td class="cellrowborder" valign="top" width="25%" headers="d0e43557 ">
       
    88 <p>string</p>
       
    89 </td>
       
    90 <td class="cellrowborder" valign="top" width="25%" headers="d0e43562 ">&nbsp;</td>
       
    91 </tr>
       
    92 <tr class="">
       
    93 <td class="cellrowborder" valign="top" width="25%" headers="d0e43547 ">
       
    94 <p><code>criteria.Data.IdList</code></p>
       
    95 </td>
       
    96 <td class="cellrowborder" valign="top" width="25%" headers="d0e43552 ">
       
    97 <p>Specifies the IDs of the landmarks to organize. These landmarks are
       
    98 associated or disassociated with the specified category.</p>
       
    99 <p>Use the <a href="GUID-55591BBC-49F8-407D-98F5-1D2FCD5DFB34.html#GUID-55591BBC-49F8-407D-98F5-1D2FCD5DFB34"><code>GetList</code></a> method
       
   100 to retrieve these IDs.</p>
       
   101 <div class="note"><p><strong class="note_title">Note: </strong></p><ul>
       
   102 <li><p>If any of the specified landmarks does not exist, it is ignored
       
   103 and the operation is performed on the other landmarks.</p></li>
       
   104 <li><p>If any of the specified landmarks is already associated/disassociated
       
   105 with the specified category, it is ignored.</p></li>
       
   106 </ul>
       
   107 </div>
       
   108 </td>
       
   109 <td class="cellrowborder" valign="top" width="25%" headers="d0e43557 ">
       
   110 <p>array of strings</p>
       
   111 </td>
       
   112 <td class="cellrowborder" valign="top" width="25%" headers="d0e43562 ">&nbsp;</td>
       
   113 </tr>
       
   114 <tr class="bg ">
       
   115 <td class="cellrowborder" valign="top" width="25%" headers="d0e43547 ">
       
   116 <p><code>criteria.OperationType</code></p>
       
   117 </td>
       
   118 <td class="cellrowborder" valign="top" width="25%" headers="d0e43552 ">
       
   119 <p>Specifies whether to add the landmarks to the category (associate) or
       
   120 remove the landmarks from the category (disassociate).</p>
       
   121 </td>
       
   122 <td class="cellrowborder" valign="top" width="25%" headers="d0e43557 ">
       
   123 <p>string</p>
       
   124 </td>
       
   125 <td class="cellrowborder" valign="top" width="25%" headers="d0e43562 ">
       
   126 <p>Possible values:</p>
       
   127 <ul>
       
   128 <li><p><code>"Associate"</code></p></li>
       
   129 <li><p><code>"Disassociate"</code></p></li>
       
   130 </ul>
       
   131 </td>
       
   132 </tr>
       
   133 </tbody>
       
   134 </table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>