|
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 deleting calendar 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-CABB28B8-D2B1-496B-BD7E-34FF496E60B4"/><meta name="DC.Relation" scheme="URI" content="GUID-270C6C2A-5EBB-4ACC-A231-064F17E85F4A"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-11652F7C-4A0A-432D-A7BE-E9C27C32319A"/><title>Criteria for |
|
5 deleting calendar 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-11652F7C-4A0A-432D-A7BE-E9C27C32319A"><span>Criteria</span> for |
|
8 deleting calendar information</h1><div> |
|
9 <p>The <code>criteria</code> object specifies which calendar |
|
10 or calendar entries to delete. For entries, if no calendar is specified, the |
|
11 delete operation is performed on the default calendar.</p> |
|
12 <p>The <code>criteria</code> object has two main properties: <code>Type</code> and <code>Data</code>. |
|
13 These are described in the following table. Properties enclosed in brackets |
|
14 are optional.</p> |
|
15 <div class="tablenoborder"><a name="GUID-F8841817-6210-48E5-81A7-2A3D701E1A36"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-F8841817-6210-48E5-81A7-2A3D701E1A36" frame="border" border="1" rules="all"><caption><strong>Table: </strong><span>Criteria</span> object properties</caption> |
|
16 |
|
17 <thead align="left"> |
|
18 <tr class="title "><th class="cellrowborder" valign="top" width="25%" id="d0e22421"> |
|
19 <p>Property</p> |
|
20 </th><th class="cellrowborder" valign="top" width="25%" id="d0e22426"> |
|
21 <p>Description</p> |
|
22 </th><th class="cellrowborder" valign="top" width="25%" id="d0e22431"> |
|
23 <p>Type</p> |
|
24 </th><th class="cellrowborder" valign="top" width="25%" id="d0e22436"> |
|
25 <p>Value</p> |
|
26 </th></tr> |
|
27 </thead> |
|
28 <tbody> |
|
29 <tr class=""> |
|
30 <td class="cellrowborder" valign="top" width="25%" headers="d0e22421 "> |
|
31 <p><code>criteria.Type</code></p> |
|
32 </td> |
|
33 <td class="cellrowborder" valign="top" width="25%" headers="d0e22426 "> |
|
34 <p>Specifies the type of calendar information to delete.</p> |
|
35 </td> |
|
36 <td class="cellrowborder" valign="top" width="25%" headers="d0e22431 "> |
|
37 <p>string</p> |
|
38 </td> |
|
39 <td class="cellrowborder" valign="top" width="25%" headers="d0e22436 "> |
|
40 <p>Possible values:</p> |
|
41 <ul> |
|
42 <li><p><code>"Calendar"</code></p></li> |
|
43 <li><p><code>"CalendarEntry"</code></p></li> |
|
44 </ul> |
|
45 </td> |
|
46 </tr> |
|
47 <tr class="bg "> |
|
48 <td class="cellrowborder" valign="top" width="25%" headers="d0e22421 "> |
|
49 <p><code>criteria.Data</code></p> |
|
50 </td> |
|
51 <td class="cellrowborder" valign="top" width="25%" headers="d0e22426 "> |
|
52 <p>Specifies the calendar information to delete.</p> |
|
53 <p>If deleting a calendar, specify only <code>Data.CalendarName</code>.</p> |
|
54 <p>If deleting calendar entries, specify at least one of the following:</p> |
|
55 <ul> |
|
56 <li><p><code>Data.IdList</code> or <code>Data.LocalIdList</code></p> |
|
57 </li> |
|
58 <li><p><code>Data.StartRange</code></p></li> |
|
59 <li><p><code>Data.EndRange</code></p></li> |
|
60 <li><p><code>Data.DeleteAll</code></p></li> |
|
61 </ul> |
|
62 </td> |
|
63 <td class="cellrowborder" valign="top" width="25%" headers="d0e22431 "> |
|
64 <p>object</p> |
|
65 </td> |
|
66 <td class="cellrowborder" valign="top" width="25%" headers="d0e22436 "> |
|
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="d0e22421 "> |
|
72 <p><code>criteria.Data.CalendarName</code></p> |
|
73 </td> |
|
74 <td class="cellrowborder" valign="top" width="25%" headers="d0e22426 "> |
|
75 <p>If <code>Type</code> is <code>"Calendar"</code>, this |
|
76 is a mandatory property that specifies the calendar to delete. No other <span>criteria</span> are |
|
77 required.</p> |
|
78 <p>If <code>Type</code> is <code>"CalendarEntry"</code>, |
|
79 this is an optional property that specifies the calendar from which to delete |
|
80 the entries. If this property is not specified, the default calendar is used.</p> |
|
81 </td> |
|
82 <td class="cellrowborder" valign="top" width="25%" headers="d0e22431 "> |
|
83 <p>string</p> |
|
84 </td> |
|
85 <td class="cellrowborder" valign="top" width="25%" headers="d0e22436 "> |
|
86 <p><code><DriveLetter>:<FileName></code></p> |
|
87 <p>For example: <code>"C:Calendar"</code></p> |
|
88 </td> |
|
89 </tr> |
|
90 <tr class="bg "> |
|
91 <td class="cellrowborder" valign="top" width="25%" headers="d0e22421 "> |
|
92 <p><code>[criteria.Data.IdList]</code></p> |
|
93 </td> |
|
94 <td class="cellrowborder" valign="top" width="25%" headers="d0e22426 "> |
|
95 <p>Specifies the <code>id</code>s of the entries to delete. If |
|
96 an entry has child entries, both the parent and child entries are deleted. |
|
97 Invalid values are ignored.</p> |
|
98 <p>Specify either <code>Data.IdList</code> or <code>Data.LocalIdList</code> or |
|
99 neither, but not both.</p> |
|
100 <p>The first <code>id</code> is specified in <code>Data.IdList[0]</code>.</p> |
|
101 </td> |
|
102 <td class="cellrowborder" valign="top" width="25%" headers="d0e22431 "> |
|
103 <p>array of strings</p> |
|
104 </td> |
|
105 <td class="cellrowborder" valign="top" width="25%" headers="d0e22436 "> </td> |
|
106 </tr> |
|
107 <tr class=""> |
|
108 <td class="cellrowborder" valign="top" width="25%" headers="d0e22421 "> |
|
109 <p><code>[criteria.Data.LocalIdList]</code></p> |
|
110 </td> |
|
111 <td class="cellrowborder" valign="top" width="25%" headers="d0e22426 "> |
|
112 <p>Specifies the <code>LocalId</code>s of the entries to delete. |
|
113 If an entry is a child entry, only it is deleted. Invalid values ignored.</p> |
|
114 <p/> |
|
115 <p>Specify either <code>Data.IdList</code> or <code>Data.LocalIdList</code> or |
|
116 neither, but not both.</p> |
|
117 <p>The first <code>LocalId</code> is specified in <code>Data.LocalIdList[0]</code>.</p> |
|
118 </td> |
|
119 <td class="cellrowborder" valign="top" width="25%" headers="d0e22431 "> |
|
120 <p>array of strings</p> |
|
121 </td> |
|
122 <td class="cellrowborder" valign="top" width="25%" headers="d0e22436 "> </td> |
|
123 </tr> |
|
124 <tr class="bg "> |
|
125 <td class="cellrowborder" valign="top" width="25%" headers="d0e22421 "> |
|
126 <p><code>[criteria.Data.StartRange]</code></p> |
|
127 </td> |
|
128 <td class="cellrowborder" valign="top" width="25%" headers="d0e22426 "> |
|
129 <p>If <code>StartRange</code> is specified, all entries that occur |
|
130 on or after this date are deleted.</p> |
|
131 <p>If both <code>StartRange</code> and <code>EndRange</code> are |
|
132 specified, all entries that occur within these dates are deleted.</p> |
|
133 </td> |
|
134 <td class="cellrowborder" valign="top" width="25%" headers="d0e22431 "> |
|
135 <p>date object</p> |
|
136 </td> |
|
137 <td class="cellrowborder" valign="top" width="25%" headers="d0e22436 "> </td> |
|
138 </tr> |
|
139 <tr class=""> |
|
140 <td class="cellrowborder" valign="top" width="25%" headers="d0e22421 "> |
|
141 <p><code>[criteria.Data.EndRange]</code></p> |
|
142 </td> |
|
143 <td class="cellrowborder" valign="top" width="25%" headers="d0e22426 "> |
|
144 <p>If <code>EndRange</code> is specified, all entries that occur |
|
145 on or before this date are deleted.</p> |
|
146 <p>If both <code>StartRange</code> and <code>EndRange</code> are |
|
147 specified, all entries that occur within these dates are deleted.</p> |
|
148 </td> |
|
149 <td class="cellrowborder" valign="top" width="25%" headers="d0e22431 "> |
|
150 <p>date object</p> |
|
151 </td> |
|
152 <td class="cellrowborder" valign="top" width="25%" headers="d0e22436 "> </td> |
|
153 </tr> |
|
154 <tr class="bg "> |
|
155 <td class="cellrowborder" valign="top" width="25%" headers="d0e22421 "> |
|
156 <p><code>[criteria.Data.DeleteAll]</code></p> |
|
157 </td> |
|
158 <td class="cellrowborder" valign="top" width="25%" headers="d0e22426 "> |
|
159 <p>If <code>DeleteAll</code> is set to <code>true</code>, |
|
160 all entries are deleted from the calendar.</p> |
|
161 </td> |
|
162 <td class="cellrowborder" valign="top" width="25%" headers="d0e22431 "> |
|
163 <p>boolean</p> |
|
164 </td> |
|
165 <td class="cellrowborder" valign="top" width="25%" headers="d0e22436 "> |
|
166 <p>Possible values:</p> |
|
167 <ul> |
|
168 <li><p><code>true</code></p></li> |
|
169 <li><p><code>false</code></p></li> |
|
170 </ul> |
|
171 </td> |
|
172 </tr> |
|
173 </tbody> |
|
174 </table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html> |