Groups (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/LuisAMoralesA/tallerIngles-UAEMEcatepec/llms.txt
Use this file to discover all available pages before exploring further.
grupos table) are the core organizational unit of the TEI. Each group has a proficiency level, age category, classroom, and a teacher assigned to it. Students are linked to teachers, which implicitly assigns them to a group. The group list is accessible at /view/listas/listaGrupos.jsp from the admin lateral menu.
Crear un grupo
Navigate to Agregar Grupo
From the admin lateral menu, click Grupos to open the group list, then click the Agregar Grupo button. This navigates to
/view/add/agregarInformacion.jsp?add=4.Fill the group form
Complete all required fields. The form reads exactly three parameters via
request.getParameter():- Nivel (
grade) — proficiency level selected from thegradecatalog:Básico(id: 1)Intermedio(id: 2)Avanzado(id: 3)
- Nivel del 1 al 3 (
level) — integer subgroup number within the chosen level (minimum 1, maximum 3) - Categoría (
category) — age category selected from thecategorycatalog:Niños(id: 1)Adolescentes(id: 2)
classroom_group column is initialized to "null" by the servlet and cannot be set at creation time.Submit the form
The form submits via
POST to the addGroup servlet (/tallerDeInglesUAEM/addGroup), which:- Parses the
grade,level, andcategoryinteger parameters from the request - Creates a
Gruposobject withclassroom_grouphardcoded to"null"and inserts it into thegrupostable viabase.insertarGrupos(grupo)
Estructura de un grupo
| Campo | Tipo | Descripción |
|---|---|---|
id_group | INT (PK) | Identificador único del grupo |
id_grade | INT (FK) | Nivel: Básico (1), Intermedio (2), Avanzado (3) |
level_group | INT | Número de subgrupo dentro del nivel (1–3) |
id_category_group | INT (FK) | Categoría: Niños (1), Adolescentes (2) |
classroom_group | VARCHAR | Salón de clases asignado |
id_grade and id_category_group values are foreign keys resolved from the grade and category catalog tables respectively. Their human-readable labels are fetched at runtime using base.obtenerNivel() and base.obtenerCategorias() in the JSP layer.
Asignar profesor a un grupo
Assigning a teacher to a group is done through the teacher’s profile, not the group form. Theteachers table stores the group association via the id_group_teacher field.
To assign or change a teacher’s group:
- Open the teacher edit form via the pen icon in the teacher list.
- Select the desired group from the Grupo asignado dropdown.
- Submit — the
updateInfoservlet (POST /tallerDeInglesUAEM/updateInfowithrango=PROFESOR) updatesid_group_teacheron theteachersrecord.
id_group_teacher = NULL if they are not currently assigned to any group.
Eliminar un grupo
The group list (/view/listas/listaGrupos.jsp) exposes only a delete action — there is no inline edit button for groups. To change a group’s level or category, delete the old record and create a new one with the correct values.
Delete a group by clicking the delete icon in the group list, which submits a form to POST /tallerDeInglesUAEM/deleteInformation with parameters rango=g and the group’s id. The servlet executes the following sequence:
Desvincular profesores
Calls
bd.desvincularProfesores(id_group) — sets id_group_teacher = NULL for all teachers currently assigned to this group.Students are linked to teachers, not directly to groups. Deleting a group does not remove student records or their teacher assignments, but it will remove the teacher’s group association. After deleting a group, re-create the group and reassign the affected teacher to restore the full class structure.
Cambiar periodo semestral
The TEI system supports two academic payment periods: Periodo A and Periodo B. Switching between them updates the payment calendar visible to all users. The period toggle is performed viaPOST /tallerDeInglesUAEM/updatePeriodo, which updates all rows in the pay_simbology table — excluding entries with a Cualquiera (any-period) designation. Each invocation flips the active period from A to B or from B to A, updating the payment schedule displayed in /view/pagos/calendario.jsp.