GDataBatchable

GDataBatchable — GData batch service interface

Stability Level

Unstable, unless otherwise indicated

Synopsis

#include <gdata/gdata-batchable.h>

                    GDataBatchable;
                    GDataBatchableIface;
GDataBatchOperation * gdata_batchable_create_operation  (GDataBatchable *self,
                                                         GDataAuthorizationDomain *domain,
                                                         const gchar *feed_uri);

Object Hierarchy

  GInterface
   +----GDataBatchable

Prerequisites

GDataBatchable requires GDataService.

Known Implementations

GDataBatchable is implemented by GDataCalendarService, GDataContactsService, GDataDocumentsService and GDataYouTubeService.

Description

GDataBatchable is an interface which can be implemented by GDataServices which support batch operations on their entries. It allows the creation of a GDataBatchOperation for the service, which allows a set of batch operations to be run.

Details

GDataBatchable

typedef struct _GDataBatchable GDataBatchable;

All the fields in the GDataBatchable structure are private and should never be accessed directly.

Since 0.7.0


GDataBatchableIface

typedef struct {
} GDataBatchableIface;

All the fields in the GDataBatchableIface structure are private and should never be accessed directly.

Since 0.7.0


gdata_batchable_create_operation ()

GDataBatchOperation * gdata_batchable_create_operation  (GDataBatchable *self,
                                                         GDataAuthorizationDomain *domain,
                                                         const gchar *feed_uri);

Creates a new GDataBatchOperation for the given GDataBatchable service, and with the given feed_uri. feed_uri is normally the GDATA_LINK_BATCH link URI in the appropriate GDataFeed from the service. If authorization will be required to perform any of the requests in the batch operation, domain must be non-NULL, and must be an authorization domain which covers all of the requests. Otherwise, domain may be NULL if authorization is not required.

self :

a GDataBatchable

domain :

the GDataAuthorizationDomain to authorize the operation, or NULL. [allow-none]

feed_uri :

the URI to send the batch operation request to

Returns :

a new GDataBatchOperation; unref with g_object_unref(). [transfer full]

Since 0.9.0