Ignore:
Timestamp:
16 Apr 2015, 18:49:08 (9 years ago)
Author:
Henrik Bettermann
Message:

Add more exporter documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/docs/source/userdocs/datacenter.rst

    r12858 r12859  
    2828Regular data exporters (1) collect objects from specific containers, (2) iterate over the collected objects, (3) extract and mangle information from each object, (4) write the information of each object into a row of a CSV file and (5) finally provide the file for download. The CSV file is neither stored in the database nor archived in the filesystem. (3) and (4) means a flattening of the hierarchical data structure, i.e. a mapping of objects to flat relational data to be stored in a CSV table. The extracted information must not necessarily be based only on static attributes of the collected object. The data, finally stored in the CSV file, can also be derived from parent or child objects, or dynamically computed by the object's methods and property attributes. These methods and properties can retrieve information from everywhere in the portal's database.
    2929
    30 In the following we list all exporter classes including the two attributes and a method description. The `fields` attribute contain the column titles of the export file. These are not necessarily only attributes of the exported objects. The `title` attribute unveils the name of the exporter under which this exporter will be displayed in the user interface. The `mangle_value()` method shows how some of fields are being dynamically computed.
     30In the following we list all exporter classes including two attributes and a method description. The `fields` attribute contain the column titles of the export file. These are not necessarily only attributes of the exported objects. The `title` attribute unveils the name of the exporter under which this exporter will be displayed in the user interface. The `mangle_value()` method shows how some of fields are being dynamically computed.
    3131
    32 Academic Section Exporters
    33 --------------------------
     32Regular Exporters
     33-----------------
     34
     35.. autoclass:: waeup.kofa.userscontainer.UserExporter()
     36  :noindex:
     37
     38  .. autoattribute:: waeup.kofa.userscontainer.UserExporter.fields
     39  .. autoattribute:: waeup.kofa.userscontainer.UserExporter.title
     40  .. automethod:: waeup.kofa.userscontainer.UserExporter.mangle_value()
    3441
    3542.. autoclass:: waeup.kofa.university.export.FacultyExporter()
     
    7077
    7178
    72 Application Section Exporters
    73 -----------------------------
     79.. autoclass:: waeup.kofa.applicants.export.ApplicantsContainerExporter()
     80  :noindex:
     81
     82  .. autoattribute:: waeup.kofa.applicants.export.ApplicantsContainerExporter.fields
     83  .. autoattribute:: waeup.kofa.applicants.export.ApplicantsContainerExporter.title
     84
     85.. autoclass:: waeup.kofa.applicants.export.ApplicantExporter()
     86  :noindex:
     87
     88  .. autoattribute:: waeup.kofa.applicants.export.ApplicantExporter.fields
     89  .. autoattribute:: waeup.kofa.applicants.export.ApplicantExporter.title
     90  .. automethod:: waeup.kofa.applicants.export.ApplicantExporter.mangle_value()
     91
     92.. autoclass:: waeup.kofa.accesscodes.export.AccessCodeBatchExporter()
     93  :noindex:
     94
     95  .. autoattribute:: waeup.kofa.accesscodes.export.AccessCodeBatchExporter.fields
     96  .. autoattribute:: waeup.kofa.accesscodes.export.AccessCodeBatchExporter.title
     97
     98.. autoclass:: waeup.kofa.accesscodes.export.AccessCodeExporter()
     99  :noindex:
     100
     101  .. autoattribute:: waeup.kofa.accesscodes.export.AccessCodeExporter.fields
     102  .. autoattribute:: waeup.kofa.accesscodes.export.AccessCodeExporter.title
     103  .. automethod:: waeup.kofa.accesscodes.export.AccessCodeExporter.mangle_value()
     104
     105.. autoclass:: waeup.kofa.hostels.export.HostelExporter()
     106  :noindex:
     107
     108  .. autoattribute:: waeup.kofa.hostels.export.HostelExporter.fields
     109  .. autoattribute:: waeup.kofa.hostels.export.HostelExporter.title
     110
     111.. autoclass:: waeup.kofa.hostels.export.BedExporter()
     112  :noindex:
     113
     114  .. autoattribute:: waeup.kofa.hostels.export.BedExporter.fields
     115  .. autoattribute:: waeup.kofa.hostels.export.BedExporter.title
    74116
    75117
    76 Student Section Exporters
    77 -------------------------
     118Student Data Exporters
     119----------------------
    78120
    79121
Note: See TracChangeset for help on using the changeset viewer.