GData.BatchOperation – libgdata Reference Manual
Packages
libgdata
GData
BatchOperation
authorization_domain
feed_uri
service
BatchOperation
add_deletion
add_insertion
add_query
add_update
get_authorization_domain
get_feed_uri
get_service
run
run_async
BatchOperation
Object Hierarchy:
Description:
[
CCode
( type_id =
"gdata_batch_operation_get_type ()"
) ]
[
Version
( since =
"0.7.0"
) ]
public
class
BatchOperation
:
Object
All the fields in the
BatchOperation
structure are private and should never be accessed directly.
Namespace:
GData
Package:
libgdata
Content:
Properties:
public
AuthorizationDomain
authorization_domain
{
get
;
construct
; }
The authorization domain for the batch operation, against which the
authorizer
for the
service
should be authorized.
public
string
feed_uri
{
get
;
construct
; }
The feed URI that this batch operation will be sent to.
public
Service
service
{
get
;
construct
; }
The service this batch operation is attached to.
Creation methods:
protected
BatchOperation
()
Methods:
public
uint
add_deletion
(
Entry
entry,
BatchOperationCallback
callback)
Add an entry to the
BatchOperation
, to be deleted on the server when the operation is run.
public
uint
add_insertion
(
Entry
entry,
BatchOperationCallback
callback)
Add an entry to the
BatchOperation
, to be inserted on the server when the operation is run.
public
uint
add_query
(
string
id,
Type
entry_type,
BatchOperationCallback
callback)
Add a query to the
BatchOperation
, to be executed when the operation is run.
public
uint
add_update
(
Entry
entry,
BatchOperationCallback
callback)
Add an entry to the
BatchOperation
, to be updated on the server when the operation is run.
public
unowned
AuthorizationDomain
?
get_authorization_domain
()
Gets the
authorization_domain
property.
public
unowned
string
get_feed_uri
()
Gets the
feed_uri
property.
public
unowned
Service
get_service
()
Gets the
service
property.
public
bool
run
(
Cancellable
? cancellable =
null
)
throws
Error
Run the
BatchOperation
synchronously.
public
async
bool
run_async
(
Cancellable
? cancellable)
throws
Error
Run the
BatchOperation
asynchronously.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref