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 | Application Data Processors |
---|
91 | =========================== |
---|
92 | |
---|
93 | Applicants Container Processor |
---|
94 | ------------------------------ |
---|
95 | |
---|
96 | .. autoclass:: waeup.kofa.applicants.batching.ApplicantsContainerProcessor() |
---|
97 | :noindex: |
---|
98 | |
---|
99 | Applicant Processor |
---|
100 | ------------------- |
---|
101 | |
---|
102 | .. autoclass:: waeup.kofa.applicants.batching.ApplicantProcessor() |
---|
103 | :noindex: |
---|
104 | |
---|
105 | Student Data Processors |
---|
106 | ======================= |
---|
107 | |
---|
108 | Student Processor |
---|
109 | ----------------- |
---|
110 | |
---|
111 | .. autoclass:: waeup.kofa.students.batching.StudentProcessor() |
---|
112 | :noindex: |
---|
113 | |
---|
114 | Student Study Course Processor |
---|
115 | ------------------------------ |
---|
116 | |
---|
117 | .. autoclass:: waeup.kofa.students.batching.StudentStudyCourseProcessor() |
---|
118 | :noindex: |
---|
119 | |
---|
120 | Student Study Level Processor |
---|
121 | ----------------------------- |
---|
122 | |
---|
123 | .. autoclass:: waeup.kofa.students.batching.StudentStudyLevelProcessor() |
---|
124 | :noindex: |
---|
125 | |
---|
126 | .. note:: |
---|
127 | |
---|
128 | The student data processors described so far are mainly intended for |
---|
129 | restoring data. If the portal is operated correctly and without |
---|
130 | interruption and students follow the workflow from their first to the |
---|
131 | final study year, there is no need to use the above batch processors |
---|
132 | to maintain the data. The processors are not part of the student |
---|
133 | registration management. The following processors can or sometimes |
---|
134 | even must be integrated into the regular management of student data. |
---|
135 | Scores have to be imported, new payment tickets have to created, the |
---|
136 | verdicts have to be set or workflow transitions have to be triggered. |
---|
137 | |
---|
138 | Course Ticket Processor |
---|
139 | ----------------------- |
---|
140 | |
---|
141 | .. autoclass:: waeup.kofa.students.batching.CourseTicketProcessor() |
---|
142 | :noindex: |
---|
143 | |
---|
144 | Student Online Payment Processor |
---|
145 | -------------------------------- |
---|
146 | |
---|
147 | .. autoclass:: waeup.kofa.students.batching.StudentOnlinePaymentProcessor() |
---|
148 | :noindex: |
---|
149 | |
---|
150 | Verdict Processor |
---|
151 | ----------------- |
---|
152 | |
---|
153 | .. autoclass:: waeup.kofa.students.batching.StudentVerdictProcessor() |
---|
154 | :noindex: |
---|