1 | .. _import_processors: |
---|
2 | |
---|
3 | Batch Processors |
---|
4 | **************** |
---|
5 | |
---|
6 | .. seealso:: |
---|
7 | |
---|
8 | :ref:`Batch Processing Doctests (The Caveman Story) <batchprocessing_txt>` |
---|
9 | |
---|
10 | :ref:`Batch Processing via Browser Doctests <batchprocessing_browser_txt>` |
---|
11 | |
---|
12 | All batch processors inherit from the |
---|
13 | :py:class:`waeup.kofa.utils.batching.BatchProcessor` base class. The |
---|
14 | `doImport` method, described above, always remains unchanged. All |
---|
15 | processors have a property `available_fields` which defines the set |
---|
16 | of importable data. They correspond with the column titles of the |
---|
17 | import file. Available fields are usually composed of location fields, |
---|
18 | interface fields and additional fields. Overlaps are possible. |
---|
19 | Location fields define the minumum set of fields which are necessary |
---|
20 | to locate an existing object in order to update or remove it. |
---|
21 | Interface fields (schema fields) are the fields defined in the |
---|
22 | interface of the data entity. Additional fields are additionally |
---|
23 | needed for data processing. We further distinguish between required |
---|
24 | and optional fields or between schema and non-schema fields. |
---|
25 | |
---|
26 | In the following we list all available processors of the Kofa base |
---|
27 | package including some important methods which describe them best. We |
---|
28 | do not list available fields of each processor here. Available fields |
---|
29 | are shown in the browser user interface on the upload page of the |
---|
30 | portal. The processors of the Kofa base package can be viewed |
---|
31 | `here <http://kofa-demo.waeup.org/processors>`_. |
---|
32 | |
---|
33 | Regular Processors |
---|
34 | ================== |
---|
35 | |
---|
36 | User Processor |
---|
37 | -------------- |
---|
38 | |
---|
39 | .. autoclass:: waeup.kofa.authentication.UserProcessor() |
---|
40 | :noindex: |
---|
41 | |
---|
42 | Faculty Processor |
---|
43 | ----------------- |
---|
44 | |
---|
45 | .. autoclass:: waeup.kofa.university.batching.FacultyProcessor() |
---|
46 | :noindex: |
---|
47 | |
---|
48 | Department Processor |
---|
49 | -------------------- |
---|
50 | |
---|
51 | .. autoclass:: waeup.kofa.university.batching.DepartmentProcessor() |
---|
52 | :noindex: |
---|
53 | |
---|
54 | Certificate Processor |
---|
55 | --------------------- |
---|
56 | |
---|
57 | .. autoclass:: waeup.kofa.university.batching.CertificateProcessor() |
---|
58 | :noindex: |
---|
59 | |
---|
60 | Course Processor |
---|
61 | ---------------- |
---|
62 | |
---|
63 | .. autoclass:: waeup.kofa.university.batching.CourseProcessor() |
---|
64 | :noindex: |
---|
65 | |
---|
66 | Certificate Course Processor |
---|
67 | ---------------------------- |
---|
68 | |
---|
69 | .. autoclass:: waeup.kofa.university.batching.CertificateCourseProcessor() |
---|
70 | :noindex: |
---|
71 | |
---|
72 | Access Code Batch Processor |
---|
73 | --------------------------- |
---|
74 | |
---|
75 | .. autoclass:: waeup.kofa.accesscodes.batching.AccessCodeBatchProcessor() |
---|
76 | :noindex: |
---|
77 | |
---|
78 | Access Code Processor |
---|
79 | --------------------- |
---|
80 | |
---|
81 | .. autoclass:: waeup.kofa.accesscodes.batching.AccessCodeProcessor() |
---|
82 | :noindex: |
---|
83 | |
---|
84 | Hostel Processor |
---|
85 | ---------------- |
---|
86 | |
---|
87 | .. autoclass:: waeup.kofa.hostels.batching.HostelProcessor() |
---|
88 | :noindex: |
---|
89 | |
---|
90 | Document Processor |
---|
91 | ------------------ |
---|
92 | |
---|
93 | .. autoclass:: waeup.kofa.documents.batching.DocumentProcessorBase() |
---|
94 | :noindex: |
---|
95 | |
---|
96 | Application Data Processors |
---|
97 | =========================== |
---|
98 | |
---|
99 | Applicants Container Processor |
---|
100 | ------------------------------ |
---|
101 | |
---|
102 | .. autoclass:: waeup.kofa.applicants.batching.ApplicantsContainerProcessor() |
---|
103 | :noindex: |
---|
104 | |
---|
105 | Applicant Processor |
---|
106 | ------------------- |
---|
107 | |
---|
108 | .. autoclass:: waeup.kofa.applicants.batching.ApplicantProcessor() |
---|
109 | :noindex: |
---|
110 | |
---|
111 | Student Data Processors |
---|
112 | ======================= |
---|
113 | |
---|
114 | Student Processor |
---|
115 | ----------------- |
---|
116 | |
---|
117 | .. autoclass:: waeup.kofa.students.batching.StudentProcessor() |
---|
118 | :noindex: |
---|
119 | |
---|
120 | Student Study Course Processor |
---|
121 | ------------------------------ |
---|
122 | |
---|
123 | .. autoclass:: waeup.kofa.students.batching.StudentStudyCourseProcessor() |
---|
124 | :noindex: |
---|
125 | |
---|
126 | Student Study Level Processor |
---|
127 | ----------------------------- |
---|
128 | |
---|
129 | .. autoclass:: waeup.kofa.students.batching.StudentStudyLevelProcessor() |
---|
130 | :noindex: |
---|
131 | |
---|
132 | .. note:: |
---|
133 | |
---|
134 | The student data processors described so far are mainly intended for |
---|
135 | restoring data. If the portal is operated correctly and without |
---|
136 | interruption and students follow the workflow from their first to the |
---|
137 | final study year, there is no need to use the above batch processors |
---|
138 | to maintain the data. The processors are not part of the student |
---|
139 | registration management. The following processors can or sometimes |
---|
140 | even must be integrated into the regular management of student data. |
---|
141 | Scores have to be imported, new payment tickets have to created, the |
---|
142 | verdicts have to be set or workflow transitions have to be triggered. |
---|
143 | |
---|
144 | .. _course_ticket_processor: |
---|
145 | |
---|
146 | Course Ticket Processor |
---|
147 | ----------------------- |
---|
148 | |
---|
149 | .. autoclass:: waeup.kofa.students.batching.CourseTicketProcessor() |
---|
150 | :noindex: |
---|
151 | |
---|
152 | Student Online Payment Processor |
---|
153 | -------------------------------- |
---|
154 | |
---|
155 | .. autoclass:: waeup.kofa.students.batching.StudentOnlinePaymentProcessor() |
---|
156 | :noindex: |
---|
157 | |
---|
158 | Verdict Processor |
---|
159 | ----------------- |
---|
160 | |
---|
161 | .. autoclass:: waeup.kofa.students.batching.StudentVerdictProcessor() |
---|
162 | :noindex: |
---|