org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-F97A125E-0DCC-4E4A-B607-42068DBD12EC.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 adding and editing landmark 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-B8845FF1-D7F6-476A-8651-8B9C12D8789F"/><meta name="DC.Relation" scheme="URI" content="GUID-D85C2567-F041-42A1-A2B5-650FCAAD60A9"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-F97A125E-0DCC-4E4A-B607-42068DBD12EC"/><title>Criteria for
       
     5 adding and editing landmark information </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-F97A125E-0DCC-4E4A-B607-42068DBD12EC"><span>Criteria</span> for
       
     8 adding and editing landmark information</h1><div>
       
     9 <p>The <code>criteria</code> object specifies the landmark
       
    10 or landmark category to add or edit.</p>
       
    11 <p>The <code>criteria</code> object has two main properties: <code>Type</code> and <code>Data</code>.
       
    12 These are described in the following table.</p>
       
    13 <div class="tablenoborder"><a name="GUID-E07CBF21-77E4-43FB-902E-9997E8E3BEB6"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-E07CBF21-77E4-43FB-902E-9997E8E3BEB6" frame="border" border="1" rules="all"><caption><strong>Table: </strong><span>Criteria</span> object properties</caption>
       
    14 
       
    15 <thead align="left">
       
    16 <tr class="title "><th class="cellrowborder" valign="top" width="25%" id="d0e41709">
       
    17 <p>Property</p>
       
    18 </th><th class="cellrowborder" valign="top" width="25%" id="d0e41714">
       
    19 <p>Description</p>
       
    20 </th><th class="cellrowborder" valign="top" width="25%" id="d0e41719">
       
    21 <p>Type</p>
       
    22 </th><th class="cellrowborder" valign="top" width="25%" id="d0e41724">
       
    23 <p>Value</p>
       
    24 </th></tr>
       
    25 </thead>
       
    26 <tbody>
       
    27 <tr class="">
       
    28 <td class="cellrowborder" valign="top" width="25%" headers="d0e41709 ">
       
    29 <p><code>criteria.Type</code></p>
       
    30 </td>
       
    31 <td class="cellrowborder" valign="top" width="25%" headers="d0e41714 ">
       
    32 <p>Specifies the type of landmark information to add or edit.</p>
       
    33 </td>
       
    34 <td class="cellrowborder" valign="top" width="25%" headers="d0e41719 ">
       
    35 <p>string</p>
       
    36 </td>
       
    37 <td class="cellrowborder" valign="top" width="25%" headers="d0e41724 ">
       
    38 <p>Possible values:</p>
       
    39 <ul>
       
    40 <li><p><code>"Landmark"</code></p></li>
       
    41 <li><p><code>"Category"</code></p></li>
       
    42 </ul>
       
    43 </td>
       
    44 </tr>
       
    45 <tr class="bg ">
       
    46 <td class="cellrowborder" valign="top" width="25%" headers="d0e41709 ">
       
    47 <p><code>criteria.Data</code></p>
       
    48 </td>
       
    49 <td class="cellrowborder" valign="top" width="25%" headers="d0e41714 ">
       
    50 <p>Specifies the information to add or edit.</p>
       
    51 <p>The exact set of properties that need to be specified depends on the
       
    52 type of information. Moreover:</p>
       
    53 <ul>
       
    54 <li><p>To add a new landmark or landmark category, do not specify
       
    55 the <code>Data.id</code> property. The system generates the new ID
       
    56 automatically.</p></li>
       
    57 <li><p>To edit an existing landmark or landmark category, first
       
    58 retrieve the correct ID using <a href="GUID-55591BBC-49F8-407D-98F5-1D2FCD5DFB34.html#GUID-55591BBC-49F8-407D-98F5-1D2FCD5DFB34"><code>GetList</code></a>,
       
    59 and then specify this ID as the <code>Data.id</code> property. Do
       
    60 not change the ID value.</p></li>
       
    61 </ul>
       
    62 </td>
       
    63 <td class="cellrowborder" valign="top" width="25%" headers="d0e41719 ">
       
    64 <p>object</p>
       
    65 </td>
       
    66 <td class="cellrowborder" valign="top" width="25%" headers="d0e41724 ">
       
    67 <p>Object with the properties specified below</p>
       
    68 </td>
       
    69 </tr>
       
    70 <tr class="">
       
    71 <td class="cellrowborder" valign="top" width="25%" headers="d0e41709 ">
       
    72 <p><code>[criteria.Data.DatabaseURI]</code></p>
       
    73 </td>
       
    74 <td class="cellrowborder" valign="top" width="25%" headers="d0e41714 ">
       
    75 <p>Specifies the URI of the landmark database on which the add or edit
       
    76 operation is performed.</p>
       
    77 <p>If this property is not specified, the operation is performed on the
       
    78 default database.</p>
       
    79 </td>
       
    80 <td class="cellrowborder" valign="top" width="25%" headers="d0e41719 ">
       
    81 <p>string</p>
       
    82 </td>
       
    83 <td class="cellrowborder" valign="top" width="25%" headers="d0e41724 ">
       
    84 <p>For example: <code>file://c:landmarks.ldb</code></p>
       
    85 </td>
       
    86 </tr>
       
    87 <tr class="bg ">
       
    88 <td class="cellrowborder" valign="top" width="25%" headers="d0e41709 ">
       
    89 <p><code>criteria.Data.&lt;property&gt;</code></p>
       
    90 </td>
       
    91 <td class="cellrowborder" valign="top" width="25%" headers="d0e41714 ">
       
    92 <p>Specifies one of the properties for the landmark or landmark category
       
    93 to add or edit:</p>
       
    94 <ul>
       
    95 <li><p>For landmark properties, see section <a href="GUID-2B3FD0AF-2552-46AB-83B5-F404506D16EE.html#GUID-2B3FD0AF-2552-46AB-83B5-F404506D16EE">Landmark</a>.</p>
       
    96 </li>
       
    97 <li><p>For landmark category properties, see section <a href="GUID-40EAD781-6B30-406E-B05F-0BE932EFE86A.html#GUID-40EAD781-6B30-406E-B05F-0BE932EFE86A">Landmark category</a>.</p>
       
    98 </li>
       
    99 </ul>
       
   100 </td>
       
   101 <td class="cellrowborder" valign="top" width="25%" headers="d0e41719 ">
       
   102 <p>(depends on the property)</p>
       
   103 </td>
       
   104 <td class="cellrowborder" valign="top" width="25%" headers="d0e41724 ">&nbsp;</td>
       
   105 </tr>
       
   106 </tbody>
       
   107 </table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>