| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
|
|||
bool
|
|
||
|
|||
|
|||
|
|||
|
|||
| conduit.DataType.DataType |
|
||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
_category_ = DataProviderCategory.DataProviderCategory("Files
|
|||
_module_type_ = "twoway"
|
|||
_in_type_ = "file"
|
|||
_out_type_ = "file"
|
|||
_icon_ = "folder"
|
|||
|
Inherited from |
|||
|
|||
|
Called when the module is loaded by the module loader. It is called in the main thread so should NOT block. It should perform simple tests to determine whether the dataprovider is applicable to the user and whether is should be presented to them. For example it may check if a specific piece of hardware is loaded, or check if a user has the specific piece of software installed with which it synchronizes.
|
|
Performs any (conduit.logging in, etc) which must be undertaken on the dataprovider prior to calling get_all(). Should gather all information so a subsequent call to get_all() can return the uids of all the data this dataprovider holds This function may be called multiple times so derived classes should be aware of this. Derived classes should call this function to ensure the dataprovider status is updated.
|
Puts vfsFile at the correct location. There are three scenarios
1) File came from a foreign DP like tomboy
2) File came from another file dp
Behaviour:
1) The foreign DP should have encoded enough information (such as
the filename) so that we can go ahead and put the file in the dir
2) First we see if the file has a group attribute.
a) If so, and the group matches the groupName here then we
put the files into the directory.
b) If not we put the file in a subdir by the name of the group
We always retain the relative path for the files
|
|
Returns data with the specified LUID. This function must be overridden by the appropriate dataprovider. Derived classes should call this function to ensure the dataprovider status is updated.
|
|
|
|
|
|||
_category_
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat Aug 2 22:18:19 2008 | http://epydoc.sourceforge.net |