Add datacontrol.consumer privilege to DataControl
[platform/framework/native/appfw.git] / inc / FAppSqlDataControl.h
index b792a50..a6acf0b 100755 (executable)
@@ -130,6 +130,8 @@ public:
        * the ISqlDataControlResponseListener::OnSqlDataControlSelectResponseReceived() method is called.
        *
        * @since        2.0
+       * @privlevel    public
+       * @privilege    %http://tizen.org/privilege/datacontrol.consumer
        *
        * @return               An error code
        * @param[in]    dataId                          The string that identifies the specific data, usually a database table to query from @n
@@ -162,6 +164,7 @@ public:
        * @exception    E_MAX_EXCEEDED          Either of the following conditions has occurred:
        *                                                                       - The size of the sending buffer has exceeded the maximum limit.
        *                                                                       - The number of sending requests have exceeded the maximum limit.
+       * @exception    E_PRIVILEGE_DENIED      The application does not have the privilege to call this method.
        * @exception    E_SYSTEM                        A system error has occurred.
        * @remarks      The recommended data size is under 16KB because a severe system performance degradation may occur for larger messages. @n
        *                       @c E_MAX_EXCEEDED may be returned for messages over 16KB.
@@ -179,6 +182,8 @@ public:
        * the ISqlDataControlResponseListener::OnSqlDataControlInsertResponseReceived() method is called.
        *
        * @since        2.0
+       * @privlevel    public
+       * @privilege    %http://tizen.org/privilege/datacontrol.consumer
        *
        * @return               An error code
        * @param[in]    dataId                          The string that identifies the specific data, usually a database table to insert into @n
@@ -198,6 +203,7 @@ public:
        * @exception    E_MAX_EXCEEDED          Either of the following conditions has occurred:
        *                                                                       - The size of the sending buffer has exceeded the maximum limit.
        *                                                                       - The number of sending requests have exceeded the maximum limit.
+       * @exception    E_PRIVILEGE_DENIED      The application does not have the privilege to call this method.
        * @exception    E_SYSTEM                        A system error has occurred.
        * @remarks      The recommended data size is under 1MB because a severe system performance degradation may occur for larger messages. @n
        *                       @c E_MAX_EXCEEDED may be returned for messages over 1MB.
@@ -213,6 +219,8 @@ public:
        * the ISqlDataControlResponseListener::OnSqlDataControlUpdateResponseReceived() method is called.
        *
        * @since        2.0
+       * @privlevel    public
+       * @privilege    %http://tizen.org/privilege/datacontrol.consumer
        *
        * @return               An error code
        * @param[in]    dataId                          The string that identifies the specific data, usually a database table to update @n
@@ -238,6 +246,7 @@ public:
        * @exception    E_MAX_EXCEEDED          Either of the following conditions has occurred:
        *                                                                       - The size of the sending buffer has exceeded the maximum limit.
        *                                                                       - The number of sending requests have exceeded the maximum limit.
+       * @exception    E_PRIVILEGE_DENIED      The application does not have the privilege to call this method.
        * @exception    E_SYSTEM                        A system error has occurred.
        * @remarks      The recommended data size is under 1MB because a severe system performance degradation may occur for larger messages. @n
        *                       @c E_MAX_EXCEEDED may be returned for messages over 1MB.
@@ -254,6 +263,8 @@ public:
        * the ISqlDataControlResponseListener::OnSqlDataControlDeleteResponseReceived() method is called.
        *
        * @since        2.0
+       * @privlevel    public
+       * @privilege    %http://tizen.org/privilege/datacontrol.consumer
        *
        * @return               An error code
        * @param[in]    dataId                          The string that identifies the specific data, usually a database table to delete from @n
@@ -275,6 +286,7 @@ public:
        * @exception    E_MAX_EXCEEDED          Either of the following conditions has occurred:
        *                                                                       - The size of the sending buffer has exceeded the maximum limit.
        *                                                                       - The number of sending requests have exceeded the maximum limit.
+       * @exception    E_PRIVILEGE_DENIED      The application does not have the privilege to call this method.
        * @exception    E_SYSTEM                        A system error has occurred.
        * @remarks      The recommended data size is under 16KB because a severe system performance degradation may occur for larger messages. @n
        *                       @c E_MAX_EXCEEDED may be returned for messages over 16KB.