Libmsi.SummaryInfo

g GObject.Object GObject.Object Libmsi.SummaryInfo Libmsi.SummaryInfo GObject.Object->Libmsi.SummaryInfo

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (database, update_count)

get_filetime (prop)

get_int (prop)

get_properties ()

get_property_type (prop)

get_string (prop)

persist ()

save (db)

set_filetime (prop, value)

set_int (prop, value)

set_string (prop, value)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

database

Libmsi.Database

r/w/co

database

update-count

int

r/w/co

update-count

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Libmsi.SummaryInfo(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Libmsi.SummaryInfoClass

classmethod new(database, update_count)
Parameters:
Raises:

GLib.Error

Returns:

a Libmsi.SummaryInfo or None on failure

Return type:

Libmsi.SummaryInfo

If database is provided, the summary informations will be populated during creation, and the Libmsi.SummaryInfo.persist() function will save the properties to it. If database is None, you may still populate properties and then save them to a particular database with the Libmsi.SummaryInfo.save() function.

get_filetime(prop)
Parameters:

prop (Libmsi.Property) – a Libmsi.Property to get

Raises:

GLib.Error

Returns:

the property value or 0 on failure

Return type:

int

get_int(prop)
Parameters:

prop (Libmsi.Property) – a Libmsi.Property to get

Raises:

GLib.Error

Returns:

the property value or -1 on failure

Return type:

int

get_properties()
Returns:

a new GLib.Array with the list of set properties

Return type:

[Libmsi.Property]

get_property_type(prop)
Parameters:

prop (Libmsi.Property) – a Libmsi.Property to get

Raises:

GLib.Error

Returns:

the property type associated for prop.

Return type:

Libmsi.PropertyType

get_string(prop)
Parameters:

prop (Libmsi.Property) – a Libmsi.Property to get

Raises:

GLib.Error

Returns:

the property value or None on failure

Return type:

str

persist()
Raises:

GLib.Error

Returns:

True on success

Return type:

bool

Save summary informations to the associated database.

save(db)
Parameters:

db (Libmsi.Database) – a Libmsi.Database to save to

Raises:

GLib.Error

Returns:

True on success

Return type:

bool

Save summary informations to the associated database.

set_filetime(prop, value)
Parameters:
Raises:

GLib.Error

Returns:

True on success

Return type:

bool

Set file time property prop.

set_int(prop, value)
Parameters:
Raises:

GLib.Error

Returns:

True on success

Return type:

bool

Set integer property prop.

set_string(prop, value)
Parameters:
Raises:

GLib.Error

Returns:

True on success

Return type:

bool

Set string property prop.

Property Details

Libmsi.SummaryInfo.props.database
Name:

database

Type:

Libmsi.Database

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

database

Libmsi.SummaryInfo.props.update_count
Name:

update-count

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

update-count