Add datacontrol.consumer privilege to DataControl
[platform/framework/native/appfw.git] / inc / FAppMapDataControl.h
index f903e22..3b70645 100755 (executable)
@@ -119,6 +119,8 @@ public:
        * the IMapDataControlResponseListener::OnMapDataControlGetValueResponseReceived() 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 registry section to get from @n
@@ -139,6 +141,7 @@ public:
        * @exception    E_MAX_EXCEEDED          Either of the following conditions has occurred:
        *                                                                       - The total size of the method arguments has exceeded the maximum limit.
        *                                                                       - The number of requests sent 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 total size of the method arguments 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.
@@ -154,6 +157,8 @@ public:
        * the IMapDataControlResponseListener::OnMapDataControlAddValueResponseReceived() 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 registry section to add to @n
@@ -169,6 +174,7 @@ public:
        * @exception    E_MAX_EXCEEDED          Either of the following conditions has occurred:
        *                                                                       - The total size of the method arguments has exceeded the maximum limit.
        *                                                                       - The number of requests sent 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 total size of the method arguments 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.
@@ -185,6 +191,8 @@ public:
        * the IMapDataControlResponseListener::OnMapDataControlSetValueResponseReceived() 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 registry section to update @n
@@ -201,6 +209,7 @@ public:
        * @exception    E_MAX_EXCEEDED          Either of the following conditions has occurred:
        *                                                                       - The total size of the method arguments has exceeded the maximum limit.
        *                                                                       - The number of requests sent 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 total size of the method arguments 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.
@@ -216,6 +225,8 @@ public:
        * the IMapDataControlResponseListener::OnMapDataControlRemoveValueResponseReceived() 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 registry section to remove from @n
@@ -231,6 +242,7 @@ public:
        * @exception    E_MAX_EXCEEDED          Either of the following conditions has occurred:
        *                                                                       - The total size of the method arguments has exceeded the maximum limit.
        *                                                                       - The number of requests sent 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 total size of the method arguments 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.