Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 646a0cf

Browse files
author
Eduardo Fullea
committed
consistent use of ID. closes #17 and #21
1 parent c9c3026 commit 646a0cf

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

index.html

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -200,34 +200,34 @@ <h2><a>Messaging</a> Interface</h2> <p>The <a>Messaging</a> interface
200200
</dd>
201201

202202
<dt> MessagingRequest getMessage ()</dt> <dd>This method makes a request to
203-
retrieve the message identified by the <code>id</code> parameter.
203+
retrieve the message identified by the <code>messageID</code> parameter.
204204
It returns a new <code>MessagingRequest</code> object which allows the
205205
caller to be notified about the result of the operation.
206206
<dl class='parameters'>
207-
<dt>DOMString id</dt> <dd>
207+
<dt>DOMString messageID</dt> <dd>
208208
Identifier of the message that is requested to be retrieved
209209
</dd>
210210
</dl>
211211
</dd>
212212

213213
<dt> MessagingRequest deleteMessage ()</dt> <dd>This method requests the
214-
deletion of the message with identifier equal to the <code>id</code>
214+
deletion of the message with identifier equal to the <code>messageID</code>
215215
parameter. A new <code>MessagingRequest</code> is returned in order to
216216
notify the request result (success or error) to the caller.
217217
<dl class='parameters'>
218-
<dt>DOMString id</dt> <dd>
218+
<dt>DOMString messageID</dt> <dd>
219219
Identifier of the message that is requested to be deleted
220220
</dd>
221221
</dl>
222222
</dd>
223223

224224
<dt> MessagingRequest deleteConversation ()</dt> <dd>This method requests
225225
the deletion of all the messages in the conversation with identifier equal
226-
to the <code>id</code> parameter. A new <code>MessagingRequest</code> is
226+
to the <code>conversationID</code> parameter. A new <code>MessagingRequest</code> is
227227
returned in order to notify the request result (success or error) to the
228228
caller.
229229
<dl class='parameters'>
230-
<dt>DOMString id</dt> <dd>
230+
<dt>DOMString conversationID</dt> <dd>
231231
Identifier of the conversation whose messages are requested to
232232
be deleted
233233
</dd>
@@ -236,11 +236,11 @@ <h2><a>Messaging</a> Interface</h2> <p>The <a>Messaging</a> interface
236236

237237
<dt> MessagingRequest markMessageRead ()</dt> <dd>This method requests to
238238
mark as read or unread the message with identifier equal to the
239-
<code>id</code> parameter. The method returns a new
239+
<code>messageID</code> parameter. The method returns a new
240240
<code>MessagingRequest</code> that will allow the caller to be notified
241241
about the result (success, error) of the operation.
242242
<dl class='parameters'>
243-
<dt>DOMString id</dt> <dd>
243+
<dt>DOMString messageID</dt> <dd>
244244
Identifier of the message that is requested to be marked as
245245
read or unread
246246
</dd> <dt>boolean value</dt> <dd>
@@ -252,11 +252,11 @@ <h2><a>Messaging</a> Interface</h2> <p>The <a>Messaging</a> interface
252252

253253
<dt> MessagingRequest markConversationRead ()</dt> <dd>This method
254254
requests to mark as read or unread all the messages in the conversation with
255-
identifier equal to the <code>id</code> parameter. The method returns a new
255+
identifier equal to the <code>conversationID</code> parameter. The method returns a new
256256
<code>MessagingRequest</code> that will allow the caller to be notified
257257
about the result (success, error) of the operation.
258258
<dl class='parameters'>
259-
<dt>DOMString id</dt> <dd>
259+
<dt>DOMString conversationID</dt> <dd>
260260
Identifier of the conversation whose messages are requested to be
261261
marked as read or unread
262262
</dd> <dt>boolean value</dt> <dd>
@@ -326,7 +326,7 @@ <h3>Steps</h3>
326326
the following steps:
327327
<ol>
328328
<li>Make a request to the system to get the message with identifier equal
329-
to the <code>id</code> parameter passed in the request.
329+
to the <code>messageID</code> parameter passed in the request.
330330
<li>Create a new <code>MessagingRequest</code> object and set
331331
<code>readyState</code> of the <code>MessagingRequest</code> object to
332332
'processing' and return the <code>MessagingRequest</code> to the caller
@@ -338,7 +338,7 @@ <h3>Steps</h3>
338338
<code>MessagingRequest</code> object to 'done'
339339
<li>set the <code>result</code> of the <code>MessagingRequest</code>
340340
object to the <code>SmsMessage</code> or <code>MmsMessage</code> whose
341-
identifier matches the <code>id</code> parameter
341+
identifier matches the <code>messageID</code> parameter
342342
<li>invoke the <code>onsuccess</code> <a class="internalDFN"
343343
href="#dfn-eventhandler">event handlers</a> of the
344344
<code>MessagingRequest</code>
@@ -349,7 +349,7 @@ <h3>Steps</h3>
349349
following steps:
350350
<ol>
351351
<li>Make a request to the system to delete the message with identifier
352-
equal to the <code>id</code> parameter passed in the request
352+
equal to the <code>messageID</code> parameter passed in the request
353353
<li>Create a new <code>MessagingRequest</code> object and set
354354
<code>readyState</code> of the <code>MessagingRequest</code> object to
355355
'processing' and return the <code>MessagingRequest</code> to the caller
@@ -371,7 +371,7 @@ <h3>Steps</h3>
371371
run the following steps:
372372
<ol>
373373
<li>Make a request to the system to delete the messages in the conversation
374-
with identifier equal to the <code>id</code> parameter passed in the
374+
with identifier equal to the <code>conversationID</code> parameter passed in the
375375
request
376376
<li>Create a new <code>MessagingRequest</code> object and set
377377
<code>readyState</code> of the <code>MessagingRequest</code> object to
@@ -395,7 +395,7 @@ <h3>Steps</h3>
395395
<ol>
396396
<li>Make a request to the system to mark as read/unread (depending on the
397397
<code>value</code> parameter being respectively 'true' or 'false') the
398-
message with identifier equal to the <code>id</code> parameter passed in
398+
message with identifier equal to the <code>messageID</code> parameter passed in
399399
the request.
400400
<li>Create a new <code>MessagingRequest</code> object and set
401401
<code>readyState</code> of the <code>MessagingRequest</code> object to
@@ -419,7 +419,7 @@ <h3>Steps</h3>
419419
<ol>
420420
<li>Make a request to the system to mark as read/unread (depending on the
421421
<code>value</code> parameter being respectively 'true' or 'false') the
422-
messages in the conversation with identifier equal to the <code>id</code>
422+
messages in the conversation with identifier equal to the <code>conversationID</code>
423423
parameter passed in the request.
424424
<li>Create a new <code>MessagingRequest</code> object and set
425425
<code>readyState</code> of the <code>MessagingRequest</code> object to
@@ -528,7 +528,7 @@ <h3>Steps</h3>
528528
<li>generate a identifier for this message that is globally unique within
529529
the implementation, i.e. there cannot be any other message with the same
530530
identifier
531-
<li>set the <code>id</code> of the <code>SmsMessage</code> to the
531+
<li>set the <code>messageID</code> of the <code>SmsMessage</code> to the
532532
generated identifier
533533
<li>set the <code>type</code> of the <code>SmsMessage</code> to 'sms'
534534
<li>set the <code>serviceID</code> of the <code>SmsMessage</code> to the
@@ -564,7 +564,7 @@ <h3>Steps</h3>
564564
<li>generate a identifier for this message that is globally unique within
565565
the implementation, i.e. there cannot be any other message with the same
566566
identifier
567-
<li>set the <code>id</code> of the <code>MmsMessage</code> to the
567+
<li>set the <code>messageID</code> of the <code>MmsMessage</code> to the
568568
generated identifier
569569
<li>set the <code>type</code> of the <code>MmsMessage</code> to 'mms'
570570
<li>set the <code>serviceID</code> of the <code>MmsMessage</code> to the
@@ -643,7 +643,7 @@ <h3>Steps</h3>
643643
<a>deliverysuccess</a> or <a>deliveryfailure</a> respectively if the
644644
delivery was successfull or not, with
645645
<ol>
646-
<li>the <code>id</code> attribute set to the identifier of the
646+
<li>the <code>messageID</code> attribute set to the identifier of the
647647
<code>SmsMessage</code> to which this confirmation is related,
648648
<li>the <code>serviceID</code> attribute set to the identifier of the
649649
service used to send such message, and
@@ -663,7 +663,7 @@ <h3>Steps</h3>
663663
<a>deliverysuccess</a> or <a>deliveryfailure</a> respectively if the
664664
delivery was successfull or not, with
665665
<ol>
666-
<li>the <code>id</code> attribute set to the identifier of the
666+
<li>the <code>messageID</code> attribute set to the identifier of the
667667
<code>MmsMessage</code> to which this confirmation is related,
668668
<li>the <code>serviceID</code> attribute set to the identifier of the
669669
service used to send such message, and
@@ -799,7 +799,7 @@ <h3>Steps</h3>
799799
<li>generate a identifier for this message that is globally unique within
800800
the implementation, i.e. there cannot be any other message with the same
801801
identifier
802-
<li>set the <code>id</code> of the <code>SmsMessage</code> to the
802+
<li>set the <code>messageID</code> of the <code>SmsMessage</code> to the
803803
generated identifier
804804
<li>set the <code>type</code> of the <code>SmsMessage</code> to 'sms'
805805
<li>set the <code>serviceID</code> of the <code>SmsMessage</code> to the
@@ -979,12 +979,12 @@ <h2><a>MmsManager</a> Interface</h2>
979979

980980
<dt> MessagingRequest fetch ()</dt>
981981
<dd>This method requests to fetch an MMS message with identifier equal to
982-
the indicated in the <code>id</code> parameter from the URL indicated in the
982+
the indicated in the <code>messageID</code> parameter from the URL indicated in the
983983
MMS notification. The method returns a new <code>MessagingRequest</code>
984984
that will allow the caller to be notified about the result (success, error)
985985
of the operation.
986986
<dl class='parameters'>
987-
<dt>DOMString id</dt>
987+
<dt>DOMString messageID</dt>
988988
<dd>
989989
Identifier of the MMS message that is requested to be download.
990990
</dd>
@@ -1009,7 +1009,7 @@ <h3>Steps</h3>
10091009
<li>generate a identifier for this message that is globally unique within
10101010
the implementation, i.e. there cannot be any other message with the same
10111011
identifier
1012-
<li>set the <code>id</code> of the <code>MmsMessage</code> to the
1012+
<li>set the <code>messageID</code> of the <code>MmsMessage</code> to the
10131013
generated identifier
10141014
<li>set the <code>type</code> of the <code>MmsMessage</code> to 'mms'
10151015
<li>set the <code>serviceID</code> of the <code>MmsMessage</code> to the
@@ -1082,7 +1082,7 @@ <h3>Steps</h3>
10821082
following steps:
10831083
<ol>
10841084
<li>Create a new <code>MessagingRequest</code> object
1085-
<li>If the <code>id</code> parameter passed in the request matches with an
1085+
<li>If the <code>messageID</code> parameter passed in the request matches with an
10861086
MMS message that has already been fetched, or to an SMS message go to step
10871087
5.1, otherwise make a request to the system to fetch the MMS message
10881088
<li>set the <code>readyState</code> of the <code>MessagingRequest</code>
@@ -1204,7 +1204,7 @@ <h2><a>Message</a> Interface</h2>
12041204
<dl title="[NoInterfaceObject]
12051205
interface Message"
12061206
class="idl">
1207-
<dt>readonly attribute DOMString id</dt>
1207+
<dt>readonly attribute DOMString messageID</dt>
12081208
<dd>MUST return the identifier of the message.</dd>
12091209

12101210
<dt>readonly attribute DOMString type</dt>
@@ -1386,7 +1386,7 @@ <h2><a>Conversation</a> Interface</h2>
13861386
participants or because they have the same subject.
13871387
<dl title="[NoInterfaceObject] interface Conversation"
13881388
class="idl">
1389-
<dt>readonly attribute DOMString id</dt>
1389+
<dt>readonly attribute DOMString conversationID</dt>
13901390
<dd>MUST return the identifier of the conversation, which is globally unique
13911391
within the implementation, i.e. there cannot be any other conversation with
13921392
the same identifier.</dd>
@@ -1418,7 +1418,7 @@ <h2><a>Conversation</a> Interface</h2>
14181418
<dt>readonly attribute unsigned long unreadCount</dt>
14191419
<dd>MUST return the number of unread messages in the conversation.</dd>
14201420

1421-
<dt>readonly attribute DOMString lastMessageId</dt>
1421+
<dt>readonly attribute DOMString lastMessageID</dt>
14221422
<dd>MUST return the identifier of the message in the conversation with the
14231423
most recent timestamp .</dd>
14241424

@@ -1498,7 +1498,7 @@ <h2><a>DeliveryReportEvent</a> Interface</h2>
14981498
<dt>readonly attribute DOMString serviceID</dt>
14991499
<dd>MUST return the identifier of the service used to send the message to
15001500
which this delivery report event is related.</dd>
1501-
<dt>readonly attribute DOMString id</dt>
1501+
<dt>readonly attribute DOMString messageID</dt>
15021502
<dd>MUST return the identifier of the message to which this delivery
15031503
report event is related.</dd>
15041504
<dt>readonly attribute DOMString[] recipients</dt>

0 commit comments

Comments
 (0)