source: main/waeup.uniben/trunk/src/waeup/uniben/students/interfaces.py @ 8865

Last change on this file since 8865 was 8865, checked in by Henrik Bettermann, 12 years ago

Derive payments and students interfaces from interface classes in kofacustom.nigeria.

  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1## $Id: interfaces.py 8865 2012-07-01 17:16:25Z henrik $
2##
3## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
4## This program is free software; you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; either version 2 of the License, or
7## (at your option) any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program; if not, write to the Free Software
16## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17##
18
19from kofacustom.nigeria.students.interfaces import (
20    INigeriaStudentBase, INigeriaUGStudentClearance, INigeriaPGStudentClearance,
21    INigeriaStudentPersonal, INigeriaStudentStudyLevel,
22    INigeriaStudentStudyCourse, INigeriaCourseTicket,
23    INigeriaStudentUpdateByRegNo, INigeriaStudentUpdateByMatricNo,
24    INigeriaStudentOnlinePayment
25    )
26
27class ICustomStudentBase(INigeriaStudentBase):
28    """Representation of student base data.
29
30    """
31
32class ICustomStudentPersonal(INigeriaStudentPersonal):
33    """Student personal data.
34
35    """
36
37class ICustomUGStudentClearance(INigeriaUGStudentClearance):
38    """Representation of ug student clearance data.
39
40    """
41
42class ICustomPGStudentClearance(INigeriaPGStudentClearance):
43    """Representation of pg student clearance data.
44
45    """
46
47
48class ICustomStudent(ICustomStudentBase,ICustomUGStudentClearance,
49    ICustomPGStudentClearance,ICustomStudentPersonal):
50    """Representation of a student.
51
52    """
53
54class ICustomStudentStudyCourse(INigeriaStudentStudyCourse):
55    """A container for student study levels.
56
57    """
58
59class ICustomStudentStudyLevel(INigeriaStudentStudyLevel):
60    """A container for course tickets.
61
62    """
63
64class ICustomStudentOnlinePayment(INigeriaStudentOnlinePayment):
65    """A student payment via payment gateways.
66
67    """
68
69class ICustomCourseTicket(INigeriaCourseTicket):
70    """A course ticket.
71
72    """
73
74class ICustomStudentUpdateByRegNo(INigeriaStudentUpdateByRegNo):
75    """Representation of a student. Skip regular reg_number validation.
76
77    """
78
79class ICustomStudentUpdateByMatricNo(INigeriaStudentUpdateByMatricNo):
80    """Representation of a student. Skip regular matric_number validation.
81
82    """
Note: See TracBrowser for help on using the repository browser.