Package conduit :: Module Synchronization :: Class DeletedData
[hide private]

Class DeletedData

source code


Simple wrapper around a deleted item. If an item has been deleted then we can no longer rely on its open_URI, and we must fall back to a plain string object

Instance Methods [hide private]
 
__init__(self, UID, **kwargs) source code
 
get_UID(self)
Returns the UID of the datatype
source code
 
get_rid(self)
Returns: The record identifier (Rid) for this data
source code
 
get_snippet(self)
Returns a small representation of the data that may be shown to the user.
source code
 
get_open_URI(self)
Returns: The URI that can be opened through gnome-open (or None)
source code
 
__str__(self)
str(x)
source code

Inherited from datatypes.DataType.DataType: __getstate__, __setstate__, compare, get_hash, get_mtime, get_tags, get_type, set_UID, set_mtime, set_open_URI, set_tags

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables [hide private]

Inherited from datatypes.DataType.DataType: _name_

Instance Variables [hide private]

Inherited from datatypes.DataType.DataType: UID, URI

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, UID, **kwargs)
(Constructor)

source code 
Overrides: datatypes.DataType.DataType.__init__

get_UID(self)

source code 
Returns the UID of the datatype
Overrides: datatypes.DataType.DataType.get_UID
(inherited documentation)

get_rid(self)

source code 
Returns:
The record identifier (Rid) for this data
Overrides: datatypes.DataType.DataType.get_rid
(inherited documentation)

get_snippet(self)

source code 
Returns a small representation of the data that may be shown to the user. Derived types may override this function.
Overrides: datatypes.DataType.DataType.get_snippet
(inherited documentation)

get_open_URI(self)

source code 
Returns:
The URI that can be opened through gnome-open (or None)
Overrides: datatypes.DataType.DataType.get_open_URI
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)