Changeset 12861 for main/waeup.kofa/trunk/docs
- Timestamp:
- 17 Apr 2015, 14:43:42 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/docs/source/userdocs/datacenter.rst
r12859 r12861 28 28 Regular 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. 29 29 30 In 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. 30 In 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. 31 32 .. note:: 33 34 The list of exported columns usually underlies heavy customizations. In the Kofa base package only very fiew columns are being exported. In some Kofa custom packages tons of data are being gathered from applicants and students and the number of columns increase accordingly. 35 36 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. 31 37 32 38 Regular Exporters … … 77 83 78 84 79 .. autoclass:: waeup.kofa.applicants.export.ApplicantsContainerExporter()80 :noindex:81 82 .. autoattribute:: waeup.kofa.applicants.export.ApplicantsContainerExporter.fields83 .. autoattribute:: waeup.kofa.applicants.export.ApplicantsContainerExporter.title84 85 .. autoclass:: waeup.kofa.applicants.export.ApplicantExporter()86 :noindex:87 88 .. autoattribute:: waeup.kofa.applicants.export.ApplicantExporter.fields89 .. autoattribute:: waeup.kofa.applicants.export.ApplicantExporter.title90 .. automethod:: waeup.kofa.applicants.export.ApplicantExporter.mangle_value()91 92 85 .. autoclass:: waeup.kofa.accesscodes.export.AccessCodeBatchExporter() 93 86 :noindex: … … 115 108 .. autoattribute:: waeup.kofa.hostels.export.BedExporter.title 116 109 110 Application Data Exporters 111 -------------------------- 112 113 .. autoclass:: waeup.kofa.applicants.export.ApplicantsContainerExporter() 114 :noindex: 115 116 .. autoattribute:: waeup.kofa.applicants.export.ApplicantsContainerExporter.fields 117 .. autoattribute:: waeup.kofa.applicants.export.ApplicantsContainerExporter.title 118 119 .. autoclass:: waeup.kofa.applicants.export.ApplicantExporter() 120 :noindex: 121 122 .. autoattribute:: waeup.kofa.applicants.export.ApplicantExporter.fields 123 .. autoattribute:: waeup.kofa.applicants.export.ApplicantExporter.title 124 .. automethod:: waeup.kofa.applicants.export.ApplicantExporter.mangle_value() 117 125 118 126 Student Data Exporters 119 127 ---------------------- 120 128 129 When starting a Student Data Exporter in the Data Center all student records will be taken into consideration, no matter what or where a student is studying. The exporter can also be started 'locally' at various levels in the academic section. Starting one of the exporters e.g. at faculty or department level means that only the data of students are exported who study in this faculty or department respectively. The exporter can also be started at certificate level. Then only the data of students, who are studying the named study course, will be taken into account. At course level the data of those students are being exported who have attended or taken this specific course. 130 131 Student Data Exporter can be further configured through a configuration page. Search parameters like the student's current level, current session and current study mode can be set to filter sets of students in order to decrease the size of the export file. The set of filter parameters varies and depends on the 'locatation' from where the exporter is called. A completely different set of filter parameters is provided for courses. In this case the session and level can be selected when the course was taken by the student. 132 133 .. autoclass:: waeup.kofa.students.export.StudentExporter() 134 :noindex: 135 136 .. autoattribute:: waeup.kofa.students.export.StudentExporter.fields 137 .. autoattribute:: waeup.kofa.students.export.StudentExporter.title 138 .. automethod:: waeup.kofa.students.export.StudentExporter.mangle_value() 139 140 .. autoclass:: waeup.kofa.students.export.StudentStudyCourseExporter() 141 :noindex: 142 143 .. autoattribute:: waeup.kofa.students.export.StudentStudyCourseExporter.fields 144 .. autoattribute:: waeup.kofa.students.export.StudentStudyCourseExporter.title 145 .. automethod:: waeup.kofa.students.export.StudentStudyCourseExporter.mangle_value() 146 147 .. autoclass:: waeup.kofa.students.export.StudentStudyLevelExporter() 148 :noindex: 149 150 .. autoattribute:: waeup.kofa.students.export.StudentStudyLevelExporter.fields 151 .. autoattribute:: waeup.kofa.students.export.StudentStudyLevelExporter.title 152 .. automethod:: waeup.kofa.students.export.StudentStudyLevelExporter.mangle_value() 153 154 .. autoclass:: waeup.kofa.students.export.CourseTicketExporter() 155 :noindex: 156 157 .. autoattribute:: waeup.kofa.students.export.CourseTicketExporter.fields 158 .. autoattribute:: waeup.kofa.students.export.CourseTicketExporter.title 159 .. automethod:: waeup.kofa.students.export.CourseTicketExporter.mangle_value() 121 160 122 161 Data Import
Note: See TracChangeset for help on using the changeset viewer.