|
|
|
@ -208,18 +208,20 @@ export class EpService { |
|
|
|
|
* @param idBUs liste des ids des BU auxquelles les données sont rattachées |
|
|
|
|
* @param asc Indique si les données sont récupérées dans l'ordre croissant ou non |
|
|
|
|
* @param numPage Numéro de la page du tableau à afficher |
|
|
|
|
* @param parPAge Nombre d’élément maximum à afficher dans le tableau |
|
|
|
|
* @param parPage Nombre d’élément maximum à afficher dans le tableau |
|
|
|
|
* @param texte Texte permettant de filtrer les données |
|
|
|
|
* @param epObligatoire Récupérer la liste des EP obligatoires |
|
|
|
|
* @param tri Colonne du tableau sur lequel le tri devra être effectué |
|
|
|
|
* @param dateDebut Date à partir de laquelle les données son récupérées |
|
|
|
|
* @param dateFin Date jusqu'à laquelle les données sont récupérées |
|
|
|
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. |
|
|
|
|
* @param reportProgress flag to report request and response progress. |
|
|
|
|
*/ |
|
|
|
|
public getEPEnCours(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<EpInformationDTO>>; |
|
|
|
|
public getEPEnCours(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EpInformationDTO>>>; |
|
|
|
|
public getEPEnCours(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EpInformationDTO>>>; |
|
|
|
|
public getEPEnCours(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> { |
|
|
|
|
public getEPEnCours(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, epObligatoire?: boolean, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<EpInformationDTO>>; |
|
|
|
|
public getEPEnCours(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, epObligatoire?: boolean, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EpInformationDTO>>>; |
|
|
|
|
public getEPEnCours(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, epObligatoire?: boolean, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EpInformationDTO>>>; |
|
|
|
|
public getEPEnCours(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, epObligatoire?: boolean, tri?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -241,12 +243,15 @@ export class EpService { |
|
|
|
|
if (numPage !== undefined && numPage !== null) { |
|
|
|
|
queryParameters = queryParameters.set('numPage', <any>numPage); |
|
|
|
|
} |
|
|
|
|
if (parPAge !== undefined && parPAge !== null) { |
|
|
|
|
queryParameters = queryParameters.set('parPAge', <any>parPAge); |
|
|
|
|
if (parPage !== undefined && parPage !== null) { |
|
|
|
|
queryParameters = queryParameters.set('parPage', <any>parPage); |
|
|
|
|
} |
|
|
|
|
if (texte !== undefined && texte !== null) { |
|
|
|
|
queryParameters = queryParameters.set('texte', <any>texte); |
|
|
|
|
} |
|
|
|
|
if (epObligatoire !== undefined && epObligatoire !== null) { |
|
|
|
|
queryParameters = queryParameters.set('epObligatoire', <any>epObligatoire); |
|
|
|
|
} |
|
|
|
|
if (tri !== undefined && tri !== null) { |
|
|
|
|
queryParameters = queryParameters.set('tri', <any>tri); |
|
|
|
|
} |
|
|
|
@ -390,23 +395,17 @@ export class EpService { |
|
|
|
|
*
|
|
|
|
|
* Récupérer le nombre total d’EP en cours. |
|
|
|
|
* @param idBUs liste des ids des BU auxquelles les données sont rattachées |
|
|
|
|
* @param asc Indique si les données sont récupérées dans l'ordre croissant ou non |
|
|
|
|
* @param numPage Numéro de la page du tableau à afficher |
|
|
|
|
* @param parPAge Nombre d’élément maximum à afficher dans le tableau |
|
|
|
|
* @param texte Texte permettant de filtrer les données |
|
|
|
|
* @param tri Colonne du tableau sur lequel le tri devra être effectué |
|
|
|
|
* @param epObligatoire Récupérer la liste des EP obligatoires |
|
|
|
|
* @param dateDebut Date à partir de laquelle les données son récupérées |
|
|
|
|
* @param dateFin Date jusqu'à laquelle les données sont récupérées |
|
|
|
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. |
|
|
|
|
* @param reportProgress flag to report request and response progress. |
|
|
|
|
*/ |
|
|
|
|
public getEPEnCoursCount(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>; |
|
|
|
|
public getEPEnCoursCount(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>; |
|
|
|
|
public getEPEnCoursCount(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>; |
|
|
|
|
public getEPEnCoursCount(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public getEPEnCoursCount(idBUs?: Array<number>, texte?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>; |
|
|
|
|
public getEPEnCoursCount(idBUs?: Array<number>, texte?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>; |
|
|
|
|
public getEPEnCoursCount(idBUs?: Array<number>, texte?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>; |
|
|
|
|
public getEPEnCoursCount(idBUs?: Array<number>, texte?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -419,20 +418,11 @@ export class EpService { |
|
|
|
|
queryParameters = queryParameters.append('idBUs', <any>element); |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
if (asc !== undefined && asc !== null) { |
|
|
|
|
queryParameters = queryParameters.set('asc', <any>asc); |
|
|
|
|
} |
|
|
|
|
if (numPage !== undefined && numPage !== null) { |
|
|
|
|
queryParameters = queryParameters.set('numPage', <any>numPage); |
|
|
|
|
} |
|
|
|
|
if (parPAge !== undefined && parPAge !== null) { |
|
|
|
|
queryParameters = queryParameters.set('parPAge', <any>parPAge); |
|
|
|
|
} |
|
|
|
|
if (texte !== undefined && texte !== null) { |
|
|
|
|
queryParameters = queryParameters.set('texte', <any>texte); |
|
|
|
|
} |
|
|
|
|
if (tri !== undefined && tri !== null) { |
|
|
|
|
queryParameters = queryParameters.set('tri', <any>tri); |
|
|
|
|
if (epObligatoire !== undefined && epObligatoire !== null) { |
|
|
|
|
queryParameters = queryParameters.set('epObligatoire', <any>epObligatoire); |
|
|
|
|
} |
|
|
|
|
if (dateDebut !== undefined && dateDebut !== null) { |
|
|
|
|
queryParameters = queryParameters.set('dateDebut', <any>dateDebut.toISOString()); |
|
|
|
|