Collection
Backend
Class
constructor
name
child_
added
child_
removed
create_
resource
create_
resource_
finish
create_
resource_
sync
delete_
resource
delete_
resource_
finish
delete_
resource_
sync
dup_
resource_
id
populate
GJS API Reference
EBackend-1.2
EBackend
CollectionBackendClass
Class CollectionBackendClass
Hierarchy
CollectionBackendClass
Index
Constructors
constructor
Properties
name
Methods
child_
added
child_
removed
create_
resource
create_
resource_
finish
create_
resource_
sync
delete_
resource
delete_
resource_
finish
delete_
resource_
sync
dup_
resource_
id
populate
Constructors
constructor
new
Collection
Backend
Class
(
)
:
CollectionBackendClass
Returns
CollectionBackendClass
Properties
Static
name
name
:
string
Methods
child_
added
child_
added
(
backend
:
CollectionBackend
, child_source
:
EDataServer
.
Source
)
:
void
Parameters
backend:
CollectionBackend
child_source:
EDataServer
.
Source
Returns
void
child_
removed
child_
removed
(
backend
:
CollectionBackend
, child_source
:
EDataServer
.
Source
)
:
void
Parameters
backend:
CollectionBackend
child_source:
EDataServer
.
Source
Returns
void
create_
resource
create_
resource
(
backend
:
CollectionBackend
, source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
backend:
CollectionBackend
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
create_
resource_
finish
create_
resource_
finish
(
backend
:
CollectionBackend
, result
:
AsyncResult
)
:
boolean
Parameters
backend:
CollectionBackend
result:
AsyncResult
Returns
boolean
create_
resource_
sync
create_
resource_
sync
(
backend
:
CollectionBackend
, source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
backend:
CollectionBackend
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
Returns
boolean
delete_
resource
delete_
resource
(
backend
:
CollectionBackend
, source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
backend:
CollectionBackend
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
delete_
resource_
finish
delete_
resource_
finish
(
backend
:
CollectionBackend
, result
:
AsyncResult
)
:
boolean
Parameters
backend:
CollectionBackend
result:
AsyncResult
Returns
boolean
delete_
resource_
sync
delete_
resource_
sync
(
backend
:
CollectionBackend
, source
:
EDataServer
.
Source
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
backend:
CollectionBackend
source:
EDataServer
.
Source
cancellable:
Gio
.
Cancellable
Returns
boolean
dup_
resource_
id
dup_
resource_
id
(
backend
:
CollectionBackend
, child_source
:
EDataServer
.
Source
)
:
string
Parameters
backend:
CollectionBackend
child_source:
EDataServer
.
Source
Returns
string
populate
populate
(
backend
:
CollectionBackend
)
:
void
Parameters
backend:
CollectionBackend
Returns
void
Collection
Backend
Class
constructor
name
child_
added
child_
removed
create_
resource
create_
resource_
finish
create_
resource_
sync
delete_
resource
delete_
resource_
finish
delete_
resource_
sync
dup_
resource_
id
populate
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJFQmFja2VuZF8xXzIuRUJhY2tlbmQuQ29sbGVjdGlvbkJhY2tlbmRDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJFQmFja2VuZF8xXzIuRUJhY2tlbmQuQ29sbGVjdGlvbkJhY2tlbmRDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI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