001/* 002 * Copyright 2026 Anyware Services 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017package org.ametys.plugins.odfsync.apogee; 018 019import java.util.List; 020import java.util.Map; 021 022/** 023 * Data access to Apogée statistics. 024 */ 025public class ApogeeStatistiquesDAO extends AbstractApogeeDAO 026{ 027 /** Avalon ROLE */ 028 public static final String ROLE = ApogeeStatistiquesDAO.class.getName(); 029 030 /** 031 * Get statistics on general baccalaureate. 032 * @param dataSourceId The id of data source. Can not be null. 033 * @param sccParams the parameters values of the synchronizable collection 034 * @param params The parameters for search criteria: List of steps 035 * @return The number of groups in the course part for the given year 036 */ 037 public List<Map<String, Object>> getStatistiquesBacGeneral(String dataSourceId, Map<String, Object> sccParams, Map<String, Object> params) 038 { 039 return _executeSearch(dataSourceId, sccParams, params, "ApogeeStatistiques.getStatistiquesBacGeneral"); 040 } 041}