메소드 | 설명 | |
---|---|---|
addFullIncident ( int ticket_ID, int student_ID, int teacher_ID, System.DateTime arrival, String comment, System.DateTime leave ) : System.Boolean |
Adds an Complete incident to the database.
|
|
addIncident ( int ticket_ID, int student_ID, int teacher_ID, System.DateTime arrival, String comment ) : System.Boolean |
Adds an incident to the database.
|
|
getAllIncidents ( ) : List |
||
getClass ( String className ) : |
Gets a class object by ClassName.
|
|
getClass ( int class_ID ) : |
Gets a class object by Class_ID.
|
|
getClassTable ( ) : List |
Gets the class table for export.
|
|
getClassTeacher ( String className ) : |
Gets a teacher object by className.
|
|
getClasses ( ) : List |
Gets a list of all classes.
|
|
getCommentTable ( ) : List |
||
getExportData ( ) : List |
Gets all incidents combined with related data for export.
|
|
getIncident ( int incident_ID ) : |
Gets an incident object by Incident_ID.
|
|
getIncidentTable ( ) : List |
Gets the incident table for export.
|
|
getMaxTicket_ID ( ) : String |
Gets the maximum ticket_ identifier.
|
|
getOpenIncidents ( ) : List |
Gets a list of the open incidents.
|
|
getOpenIncidents ( List |
||
getReturnerTicketID ( int StudentID ) : int |
Gets the teacher table for export.
|
|
getStudent ( int student_ID ) : |
Gets a student object.
|
|
getStudent ( string givenName, string surname ) : |
Gets a student object by givenName and surname of the student.
|
|
getStudentFilter ( string name ) : List |
||
getStudentIncidents ( int student_ID ) : List |
||
getStudentTable ( ) : List |
Gets the student table for export.
|
|
getStudents ( int class_ID ) : List |
Gets the students of a class by Class_ID.
|
|
getStudents ( string className ) : List |
Gets a list of student objects by the name of the class.
|
|
getTeacher ( String initials ) : |
Gets a teacher objectby the initials.
|
|
getTeacher ( String givenName, String surname ) : |
Gets a teacher objectby the full name.
|
|
getTeacher ( int teacher_ID ) : |
Gets a teacher object by Teacher_ID.
|
|
getTeacherFilter ( String filter ) : List |
||
getTeacherTable ( ) : List |
||
incidentIsOpen ( int inc_id ) : System.Boolean | ||
setAdminPassword ( String pass ) : System.Boolean |
Set Admin-Password in DB
|
|
setLeaveTime ( |
Sets the leave time of an incident to the current time.
|
|
validateAdmin ( String pass ) : System.Boolean |
Validate Admin-Password
|
메소드 | 설명 | |
---|---|---|
closeconnection ( ) : void |
Closes the connection to the database.
|
|
openconnection ( ) : void |
Opens the connection to the database.
|
public static addFullIncident ( int ticket_ID, int student_ID, int teacher_ID, System.DateTime arrival, String comment, System.DateTime leave ) : System.Boolean | ||
ticket_ID | int | The ticket identifier. |
student_ID | int | The student identifier. |
teacher_ID | int | The teacher identifier. |
arrival | System.DateTime | The arrival time. |
comment | String | The comment. |
leave | System.DateTime | |
리턴 | System.Boolean |
public static addIncident ( int ticket_ID, int student_ID, int teacher_ID, System.DateTime arrival, String comment ) : System.Boolean | ||
ticket_ID | int | The ticket identifier. |
student_ID | int | The student identifier. |
teacher_ID | int | The teacher identifier. |
arrival | System.DateTime | The arrival time. |
comment | String | The comment. |
리턴 | System.Boolean |
public static getClass ( String className ) : |
||
className | String | The Name of the class. |
리턴 |
public static getClassTeacher ( String className ) : |
||
className | String | The name of the class. |
리턴 |
public static getIncident ( int incident_ID ) : |
||
incident_ID | int | The incident identifier. |
리턴 |
public static getOpenIncidents ( List |
||
StudentIDs | List |
|
TeacherIDs | List |
|
TicketID | int | |
리턴 | List |
public static getReturnerTicketID ( int StudentID ) : int | ||
StudentID | int | |
리턴 | int |
public static getStudent ( int student_ID ) : |
||
student_ID | int | The identifier of the student. |
리턴 |
public static getStudent ( string givenName, string surname ) : |
||
givenName | string | The given name of the student. |
surname | string | The surname of the student. |
리턴 |
public static getStudentFilter ( string name ) : List |
||
name | string | |
리턴 | List |
public static getStudentIncidents ( int student_ID ) : List |
||
student_ID | int | The student identifier. |
리턴 | List |
public static getStudents ( int class_ID ) : List |
||
class_ID | int | The class identifier. |
리턴 | List |
public static getStudents ( string className ) : List |
||
className | string | Name of the class. |
리턴 | List |
public static getTeacher ( String initials ) : |
||
initials | String | The Initials of the teacher. |
리턴 |
public static getTeacher ( String givenName, String surname ) : |
||
givenName | String | The given Name of the teacher. |
surname | String | The Surname of the teacher. |
리턴 |
public static getTeacher ( int teacher_ID ) : |
||
teacher_ID | int | The identifier of the teacher. |
리턴 |
public static getTeacherFilter ( String filter ) : List |
||
filter | String | |
리턴 | List |
public static incidentIsOpen ( int inc_id ) : System.Boolean | ||
inc_id | int | |
리턴 | System.Boolean |
public static setAdminPassword ( String pass ) : System.Boolean | ||
pass | String | The new Password |
리턴 | System.Boolean |
public static setLeaveTime ( |
||
i | The incident which leave time should be set. | |
리턴 | System.Boolean |
public static validateAdmin ( String pass ) : System.Boolean | ||
pass | String | The Password |
리턴 | System.Boolean |