Back to Seed Clases

Midgard


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Midgard.Connection

Class Midgard.Connection

Import line: Midgard = imports.gi.Midgard;
GIR File: Midgard-10.05.gir
C documentation: MidgardConnection
Class : Connection
Extends: GObject.Object
  Show / Hide Inherited methods, properties and signals
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Midgard
Method
Midgard.guid_external (Connection mgd, String external) : String
Midgard
Method
Midgard.guid_new (Connection mgd) : String
Midgard
Method
Midgard.mgd_create_guid (Connection mgd, String table, Number id) : String
Midgard
Method
Midgard.quota_get_type_size (Connection mgd, String typename) : Number
Midgard
Method
Midgard.quota_set_type_size (Connection mgd, String typename, Number size, Number records) : none
Midgard.Collector
Method
new Midgard.Collector.c_new (Connection mgd, String typename, String domain, Value value) : Midgard.Collector
Create a new Midgard.Collector
Midgard.Object
Method
new Midgard.Object.c_new (Connection mgd, String name, Value value) : Midgard.Object
Create a new Midgard.Object
Midgard.Object
Method
set_connection (Connection mgd) : none
Midgard.Object
Method
get_connection () : Midgard.Connection
Returned MidgardConnection is owned by core, and should not be freed.
Midgard.QueryBuilder
Method
new Midgard.QueryBuilder.c_new (Connection mgd, String classname) : Midgard.QueryBuilder
Create a new Midgard.QueryBuilder
Midgard.QueryExecutor
Method
new Midgard.QueryExecutor.c_new (Connection mgd, QueryStorage storage) : Midgard.QueryExecutor
Create a new Midgard.QueryExecutor
Midgard.QuerySelect
Method
new Midgard.QuerySelect.c_new (Connection mgd, QueryStorage storage) : Midgard.QuerySelect
Create a new Midgard.QuerySelect
Midgard.Replicator
Method
Midgard.Replicator.export_purged (Connection mgd, String classname, String startdate, String enddate) : String
Exports all purged objects of given class.
Midgard.Replicator
Method
Midgard.Replicator.export_by_guid (Connection mgd, String guid) : Boolean
Marks object's storage record as exported.
Midgard.Replicator
Method
Midgard.Replicator.unserialize (Connection mgd, String xml, Boolean force) : GObject.Object
Midgard.Replicator
Method
Midgard.Replicator.import_from_xml (Connection mgd, String xml, Boolean force) : none
This method tries to import all objects which could be unserialized from gievn xml.
Midgard.SchemaObjectFactory
Method
Midgard.SchemaObjectFactory.get_object_by_guid (Connection mgd, String guid) : Midgard.Object
Creates new instance of the class defined in Midgard Schema.
Midgard.SchemaObjectFactory
Method
Midgard.SchemaObjectFactory.get_object_by_path (Connection mgd, String classname, String path) : Midgard.Object
Get object by path.
Midgard.SchemaObjectFactory
Method
Midgard.SchemaObjectFactory.object_undelete (Connection mgd, String guid) : Boolean
Cases to return FALSE: Object identified by given guid doesn't exist (MGD_ERR_NOT_EXISTS) Object identified by given guid is purged (MGD_ERR_OBJECT_PURGED) Object identified by given guid is not deleted (MGD_ERR_USER_DATA) Either object's or repligard's record couldn't be updated (MGD_ERR_INTERNAL)
Midgard.Storage
Method
Midgard.Storage.create_base_storage (Connection mgd) : Boolean
Creates storage for base Midgard classes.
Midgard.Storage
Method
Midgard.Storage.create (Connection mgd, String name) : Boolean
Creates underlying storage (e.g.
Midgard.Storage
Method
Midgard.Storage.update (Connection mgd, String name) : Boolean
Update underlying storage.
Midgard.Storage
Method
Midgard.Storage.exists (Connection mgd, String name) : Boolean
Checks whether storage for given class exists.
Midgard.Storage
Method
Midgard.Storage.delete (Connection mgd, String name) : Boolean
Delete storage for given class.
Midgard.Transaction
Method
new Midgard.Transaction.c_new (Connection mgd) : Midgard.Transaction
Create a new Midgard.Transaction
Midgard.User
Method
new Midgard.User.c_new (Connection mgd, Number n_params, Parameter parameters) : Midgard.User
Create a new Midgard.User
Midgard.User
Method
Midgard.User.get (Connection mgd, Number n_params, Parameter parameters) : Midgard.User
Fetch MidgardUser object from storage.
Midgard.User
Method
Midgard.User.quick_login (Connection mgd, String login, String password) : Midgard.User
Midgard.User
Method
Midgard.User.query (Connection mgd, Number n_params, Parameter parameters) : Midgard.User
Midgard.dbus
Method
new Midgard.dbus.c_new (Connection mgd, String path, Boolean use_session) : Midgard.dbus
Create a new Midgard.dbus
Midgard.dbus
Method
Midgard.dbus.send (Connection mgd, String path, String message, Boolean use_session) : none
Emits 'Notified' signal on objects at given path and sends given message.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:50 GMT+0800 (HKT)