Package conduit :: Package modules :: Module TestModule :: Class TestFolderTwoWay
[hide private]

Class TestFolderTwoWay

source code


Instance Methods [hide private]
 
__init__(self, *args)
All sync functionality should be provided by derived classes
source code
string
get_UID(self)
Returns a UID that represents this dataproviders (locally) unique state and configuration.
source code
 
add(self, LUID)
Adds an item to the datasource according to LUID.
source code

Inherited from dataproviders.File.FolderTwoWay: delete, finish, get, get_all, initialize, is_configured, put, refresh

Inherited from dataproviders.File.FolderTwoWay (private): _transfer_file

Inherited from dataproviders.DataProvider.DataSource: get_changes, get_num_items

Inherited from dataproviders.DataProvider.DataProviderBase: configure, emit, emit_change_detected, get_configuration, get_configuration_xml, get_input_conversion_args, get_input_type, get_name, get_output_conversion_args, get_output_type, get_status, is_busy, set_configuration, set_configuration_xml, set_status, uninitialize

Class Variables [hide private]
  _name_ = "Test Folder Two Way"
  _description_ = "Sync Folders"
  _category_ = DataProviderCategory.DataProviderCategory("Test")
  _module_type_ = "twoway"
  _in_type_ = "file"
  _out_type_ = "file"
  _icon_ = "text-x-generic"

Inherited from dataproviders.DataProvider.DataProviderBase: __gsignals__, _configurable_

Method Details [hide private]

__init__(self, *args)
(Constructor)

source code 
All sync functionality should be provided by derived classes
Overrides: dataproviders.File.FolderTwoWay.__init__

get_UID(self)

source code 

Returns a UID that represents this dataproviders (locally) unique state and configuration. For example the LUID for a gmail dp may be your username and password.

Derived types MUST overwride this function
Returns: string
Overrides: dataproviders.DataProvider.DataProviderBase.get_UID
(inherited documentation)

add(self, LUID)

source code 
Adds an item to the datasource according to LUID. This method is used by the DBus interface
Returns:
True if the data was successfully added
Overrides: dataproviders.File.FolderTwoWay.add