Home | Trees | Indices | Help |
---|
|
This is the base class for all sync plugins.
|
|||
|
|||
bool |
|
||
|
|||
bool |
|
||
bool |
|
||
|
|||
string |
|
||
string |
|
||
Stats |
|
||
int |
|
||
bool |
|
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
datetime |
_from_date = LAST_QUERY_DEFAULT The date to start the query from. |
||
string |
_url = None The URL that is the starting point for the data acquisition. |
||
string |
_intermediate_temp_filename = None The temporary file to which all data from the queries will be written. |
||
string |
_temp_filename = None The temporary file to which all data from the queries will be written. |
||
string |
_intermediate_xml_filename = None The filename of the intermediate consolidated XML data. |
||
string |
_xml_filename = None The filename of the consolidated XML data. |
||
list of XMLEntry |
_entries = None A temporary storage for XMLEntry instances. |
||
int |
_entries_written = -1 Overall number of elements written. |
||
Stats |
_stats = None The statistics for the plugin, |
||
bool |
_NO_NET = None Should we actually get the data from the net, or should we use the data from the previous run? |
||
string |
_base_url = None Stores the url up to the location part. |
||
Inherited from |
|
Initialize the plugin. If temporary data exists and
|
Should be overwritten by the individual plugin's implementation. All data has to be written to _intermediate_temp_filename.
|
Should be overwritten by the individual plugin's implementation if a consolidation of the data is necessary. This function copies the temporary data from _temp_filename to _xml_filename . |
Should be overwritten by the individual plugin's implementation if it makes use of a state variable like e.g. the portal plugin.
|
Should be overwritten by the individual plugin's implementation if it makes use of a state variable like e.g. the portal plugin.
|
Get the sources name.
|
Get the URL of the plugin.
|
Get the statistics of the plugin.
|
Get the overall number of written entries.
|
Will be called by the controlling script. Procedure:
If one of these points fail return This function should normally not be overridden.
|
|
_intermediate_temp_filenameThe temporary file to which all data from the queries will be written. This file is necessary, to prevent destruction of useful data from a previous run if an error in _getData() should occurr.
|
_intermediate_xml_filenameThe filename of the intermediate consolidated XML data. Necessary, because errors during consolidation would destruct usable existing data.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Sep 16 13:42:04 2010 | http://epydoc.sourceforge.net |