1 | .. _import_processors: |
---|
2 | |
---|
3 | Batch Processors |
---|
4 | **************** |
---|
5 | |
---|
6 | .. seealso:: |
---|
7 | |
---|
8 | :ref:`Batch Processing Doctests (The Caveman Story) <batching_txt>` |
---|
9 | |
---|
10 | :ref:`Batch Processing via Browser Doctests <batchprocessing_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. |
---|
31 | |
---|
32 | Regular Processors |
---|
33 | ================== |
---|
34 | |
---|
35 | User Processor |
---|
36 | -------------- |
---|
37 | |
---|
38 | .. autoclass:: waeup.kofa.authentication.UserProcessor() |
---|
39 | :noindex: |
---|
40 | |
---|
41 | Faculty Processor |
---|
42 | ----------------- |
---|
43 | |
---|
44 | .. autoclass:: waeup.kofa.university.batching.FacultyProcessor() |
---|
45 | :noindex: |
---|
46 | |
---|
47 | Department Processor |
---|
48 | -------------------- |
---|
49 | |
---|
50 | .. autoclass:: waeup.kofa.university.batching.DepartmentProcessor() |
---|
51 | :noindex: |
---|
52 | |
---|
53 | Certificate Processor |
---|
54 | --------------------- |
---|
55 | |
---|
56 | .. autoclass:: waeup.kofa.university.batching.CertificateProcessor() |
---|
57 | :noindex: |
---|
58 | |
---|
59 | Course Processor |
---|
60 | ---------------- |
---|
61 | |
---|
62 | .. autoclass:: waeup.kofa.university.batching.CourseProcessor() |
---|
63 | :noindex: |
---|
64 | |
---|
65 | Certificate Course Processor |
---|
66 | ---------------------------- |
---|
67 | |
---|
68 | .. autoclass:: waeup.kofa.university.batching.CertificateCourseProcessor() |
---|
69 | :noindex: |
---|
70 | |
---|
71 | Access Code Batch Processor |
---|
72 | --------------------------- |
---|
73 | |
---|
74 | .. autoclass:: waeup.kofa.accesscodes.batching.AccessCodeBatchProcessor() |
---|
75 | :noindex: |
---|
76 | |
---|
77 | Access Code Processor |
---|
78 | --------------------- |
---|
79 | |
---|
80 | .. autoclass:: waeup.kofa.accesscodes.batching.AccessCodeProcessor() |
---|
81 | :noindex: |
---|
82 | |
---|
83 | Hostel Processor |
---|
84 | ---------------- |
---|
85 | |
---|
86 | .. autoclass:: waeup.kofa.hostels.batching.HostelProcessor() |
---|
87 | :noindex: |
---|
88 | |
---|
89 | Application Data Processors |
---|
90 | =========================== |
---|
91 | |
---|
92 | Applicants Container Processor |
---|
93 | ------------------------------ |
---|
94 | |
---|
95 | .. autoclass:: waeup.kofa.applicants.batching.ApplicantsContainerProcessor() |
---|
96 | :noindex: |
---|
97 | |
---|
98 | Applicant Processor |
---|
99 | ------------------- |
---|
100 | |
---|
101 | .. autoclass:: waeup.kofa.applicants.batching.ApplicantProcessor() |
---|
102 | :noindex: |
---|
103 | |
---|
104 | Student Data Processors |
---|
105 | ======================= |
---|
106 | |
---|
107 | Student Processor |
---|
108 | ----------------- |
---|
109 | |
---|
110 | .. autoclass:: waeup.kofa.students.batching.StudentProcessor() |
---|
111 | :noindex: |
---|
112 | |
---|
113 | Student Study Course Processor |
---|
114 | ------------------------------ |
---|
115 | |
---|
116 | .. autoclass:: waeup.kofa.students.batching.StudentStudyCourseProcessor() |
---|
117 | :noindex: |
---|
118 | |
---|
119 | Student Study Level Processor |
---|
120 | ----------------------------- |
---|
121 | |
---|
122 | .. autoclass:: waeup.kofa.students.batching.StudentStudyLevelProcessor() |
---|
123 | :noindex: |
---|
124 | |
---|
125 | .. note:: |
---|
126 | |
---|
127 | The student data processors described so far are mainly intended for |
---|
128 | restoring data. If the portal is operated correctly and without |
---|
129 | interruption and students follow the workflow from their first to the |
---|
130 | final study year, there is no need to use the above batch processors |
---|
131 | to maintain the data. The processors are not part of the student |
---|
132 | registration management. The following processors can or sometimes |
---|
133 | even must be integrated into the regular management of student data. |
---|
134 | Scores have to be imported, new payment tickets have to created, the |
---|
135 | verdicts have to be set or workflow transitions have to be triggered. |
---|
136 | |
---|
137 | Course Ticket Processor |
---|
138 | ----------------------- |
---|
139 | |
---|
140 | .. autoclass:: waeup.kofa.students.batching.CourseTicketProcessor() |
---|
141 | :noindex: |
---|
142 | |
---|
143 | Student Online Payment Processor |
---|
144 | -------------------------------- |
---|
145 | |
---|
146 | .. autoclass:: waeup.kofa.students.batching.StudentOnlinePaymentProcessor() |
---|
147 | :noindex: |
---|
148 | |
---|
149 | Verdict Processor |
---|
150 | ----------------- |
---|
151 | |
---|
152 | .. autoclass:: waeup.kofa.students.batching.StudentVerdictProcessor() |
---|
153 | :noindex: |
---|