[webapi][calendar] change default value and remove useless exceptions
authorHyunjin Park <hj.na.park@samsung.com>
Mon, 21 Sep 2015 05:45:11 +0000 (14:45 +0900)
committerHyunjin Park <hj.na.park@samsung.com>
Mon, 21 Sep 2015 05:49:44 +0000 (14:49 +0900)
ACR :
http://168.219.209.56/jira/browse/TWDAPI-34 - remove useless exceptions
http://168.219.209.56/jira/browse/TWDAPI-49 - change default value

Change-Id: I296b4a0f15545edd873283ed6b54f175974790ba
Signed-off-by: hyunjin park <hj.na.park@samsung.com>
org.tizen.web.apireference/html/device_api/mobile/tizen/calendar.html

index 6886749..1b50cbc 100644 (file)
@@ -471,7 +471,7 @@ CHAIR - if the attendee is the chairperson of the event.            </li>
 <div class="brief">
  Specifies the priority of a calendar item.
           </div>
-<pre class="webidl prettyprint">  enum CalendarItemPriority { "HIGH", "MEDIUM", "LOW" };</pre>
+<pre class="webidl prettyprint">  enum CalendarItemPriority { "HIGH", "MEDIUM", "LOW", "NONE" };</pre>
 <p><span class="version">
             Since: </span>
  1.0
@@ -487,6 +487,8 @@ HIGH - if item priority is high            </li>
 MEDIUM - if item priority is medium            </li>
             <li>
 LOW - if item priority is low            </li>
+            <li>
+NONE - if item priority is not set            </li>
           </ul>
          </div>
 </div>
@@ -519,7 +521,7 @@ CONFIDENTIAL - if item visibility is confidential            </li>
 <div class="brief">
  Specifies the status of a calendar item.
           </div>
-<pre class="webidl prettyprint">   enum CalendarItemStatus { "TENTATIVE", "CONFIRMED", "CANCELLED", "NEEDS_ACTION", "IN_PROCESS", "COMPLETED" };</pre>
+<pre class="webidl prettyprint">   enum CalendarItemStatus {"NONE", "TENTATIVE", "CONFIRMED", "CANCELLED", "NEEDS_ACTION", "IN_PROCESS", "COMPLETED" };</pre>
 <p><span class="version">
             Since: </span>
  1.0
@@ -530,6 +532,8 @@ For an event, the possible values are:
           </p>
           <ul>
             <li>
+NONE - if the status for the event is not set            </li>
+            <li>
 TENTATIVE - if the event is tentative            </li>
             <li>
 CONFIRMED - if the event is confirmed            </li>
@@ -541,6 +545,8 @@ For a task, the possible values are:
           </p>
           <ul>
             <li>
+NONE - if the status for the task is not set            </li>
+            <li>
 NEEDS_ACTION - if the task needs action            </li>
             <li>
 IN_PROCESS -  if the task is in process or being worked on            </li>
@@ -2081,12 +2087,6 @@ If the <em>watchId </em>argument is valid and corresponds to a subscription alre
 <p><span class="except">Exceptions:</span></p>
           <ul class="exception"><li>WebAPIException<ul>
 <li class="list"><p>
- with error type TypeMismatchError, if any input parameter is not compatible with the expected type for that parameter.
-                </p></li>
-<li class="list"><p>
- with error type InvalidValuesError, if any of the input parameters contain an invalid value.
-                </p></li>
-<li class="list"><p>
  with error type SecurityError, if the application does not have the privilege to call this method.
                 </p></li>
 <li class="list"><p>
@@ -2499,7 +2499,7 @@ The default value is <var>PUBLIC</var>.
             </div>
 <div class="description">
             <p>
-For an event, the default value is <var>CONFIRMED</var>. For a task, the default value is <var>NEEDS_ACTION</var>.
+The default value for this attribute is <var>NONE</var>.
             </p>
            </div>
 <p><span class="version">
@@ -2518,7 +2518,7 @@ For an event, the default value is <var>CONFIRMED</var>. For a task, the default
             </div>
 <div class="description">
             <p>
-The default value for this attribute is <var>LOW </var>priority.
+The default value for this attribute is <var>NONE </var>priority.
             </p>
             <p>
 If the native item database supports another priority schema (such as a range from 1 to 9), the implementation must convert those values to the supported values. For instance, RFC 5545 suggests the following mapping for a range from 1 to 9:
@@ -3961,11 +3961,11 @@ The default value is an empty string.
 
   enum AttendeeRole { "REQ_PARTICIPANT", "OPT_PARTICIPANT", "NON_PARTICIPANT", "CHAIR" };
 
-  enum CalendarItemPriority { "HIGH", "MEDIUM", "LOW" };
+  enum CalendarItemPriority { "HIGH", "MEDIUM", "LOW", "NONE" };
 
    enum CalendarItemVisibility { "PUBLIC", "PRIVATE", "CONFIDENTIAL" };
 
-   enum CalendarItemStatus { "TENTATIVE", "CONFIRMED", "CANCELLED", "NEEDS_ACTION", "IN_PROCESS", "COMPLETED" };
+   enum CalendarItemStatus {"NONE", "TENTATIVE", "CONFIRMED", "CANCELLED", "NEEDS_ACTION", "IN_PROCESS", "COMPLETED" };
 
   [NoInterfaceObject] interface CalendarManagerObject{
     readonly attribute <a href="#CalendarManager">CalendarManager</a> calendar;