modified OCAccountManager APIs
authorJaewook Jung <jw0213.jung@samsung.com>
Wed, 19 Oct 2016 04:49:45 +0000 (13:49 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Fri, 18 Nov 2016 12:06:26 +0000 (12:06 +0000)
commit95373e32c5c555f872540d12bdc7f5f6de11ba9c
tree9168959095c01c6bb4f4aa62f1be6a562cf3ac93
parent14e50ae2fbe0921d432f8e44225a0e2e92698de0
modified OCAccountManager APIs

modified some APIs on OCAccountManager since the OCF cloud specification
has been changed.
(C++/Android API, sampleApp and unittest are modified)

- added a string parameter for accessToken on signOut() and deleteDevice().
- removed AclGroupType for createGroup() and added new overloaded one
  that has a map parameter for optional property values.
- changed getGroupList() to getGroupInfoAll() because it does not get a
  list anymore but information of all my group from account server.
- removed joinGroup(), deleteInvitation() and added replyToInvitation().
- removed addDeviceToGroup(), deleteDeviceFromGroup(), leaveGroup() and
  added addPropertyValueToGroup(), deletePropertyValueFromGroup(),
  updatePropertyValueOnGroup().

Change-Id: Ibf462a6667990c1786d8b4111263d96e5c618166
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14335
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
15 files changed:
android/android_api/base/jni/JniOcAccountManager.cpp
android/android_api/base/jni/JniOcAccountManager.h
android/android_api/base/jni/JniUtils.h
android/android_api/base/src/main/java/org/iotivity/base/AclGroupType.java [deleted file]
android/android_api/base/src/main/java/org/iotivity/base/OcAccountManager.java
android/examples/simplebase/src/main/java/org/iotivity/base/examples/CloudFragment.java
android/examples/simplebase/src/main/res/layout/fragment_cloud.xml
android/examples/simplebase/src/main/res/layout/input.xml
cloud/samples/client/group_invite/group_invite.cpp
cloud/samples/client/group_invite/group_light_share.cpp
resource/csdk/stack/include/octypes.h
resource/include/OCAccountManager.h
resource/include/OCApi.h
resource/src/OCAccountManager.cpp
resource/unittests/OCAccountManagerTest.cpp