/** * Remove buckets from existing group. The caller can optionally associate a new cookie during * this updation. GROUP_UPDATED or GROUP_UPDATE_FAILED notifications would be provided along with * cookie depending on the result of the operation on the device. * * @param deviceId device identifier * @param oldCookie cookie to be used to retrieve the existing group * @param buckets immutable list of group bucket to be removed * @param newCookie immutable cookie to be used post update operation * @param appId Application Id */ @Override public void removeBucketsFromGroup( DeviceId deviceId, GroupKey oldCookie, GroupBuckets buckets, GroupKey newCookie, ApplicationId appId) { checkPermission(GROUP_WRITE); store.updateGroupDescription(deviceId, oldCookie, UpdateType.REMOVE, buckets, newCookie); }