Mise à jour globalement sur les paramètres des counts

develop
Yanaël GRETTE 4 years ago
parent c0097aac86
commit 68017679e1
  1. 2
      src/app/home/home-collaborateur/home-collaborateur.component.ts
  2. 2
      src/app/home/home-commercial/home-commercial.component.ts
  3. 2
      src/app/notes/notes.component.ts
  4. 2
      src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.ts
  5. 84
      src/app/shared/api-swagger/api/collaborateurs.service.ts
  6. 42
      src/app/shared/api-swagger/api/demandesformation.service.ts
  7. 64
      src/app/shared/api-swagger/api/engagements.service.ts
  8. 178
      src/app/shared/api-swagger/api/ep.service.ts
  9. 42
      src/app/shared/api-swagger/api/formations.service.ts
  10. 42
      src/app/shared/api-swagger/api/notes.service.ts
  11. 38
      src/app/shared/api-swagger/api/participationsFormations.service.ts
  12. 2
      src/app/shared/api-swagger/model/saisieDTO.ts
  13. 2
      src/app/shared/api-swagger/model/statutEp.ts
  14. 4
      src/app/shared/mat-tables/collaborateurs-table/collaborateurs.table.ts
  15. 4
      src/app/shared/mat-tables/engagements-table/engagements-table.ts
  16. 10
      src/app/shared/mat-tables/ep-table/ep-table.ts
  17. 2
      src/app/shared/mat-tables/formations-table/formations.table.ts

@ -63,7 +63,7 @@ export class HomeCollaborateurComponent implements OnInit {
}
checkEPReferent() {
this.countEPReferent = this.epService.getEPEnCoursReferentCount(this.collaborateurConnecte.id, true, 1, 15, "", "", true, undefined, undefined).subscribe(
this.countEPReferent = this.epService.getEPEnCoursReferentCount(this.collaborateurConnecte.id, "", undefined, undefined).subscribe(
count => this.estReferentEPEnCours = count > 0,
err => console.log(err)
);

@ -45,7 +45,7 @@ export class HomeCommercialComponent implements OnInit {
}
checkEPReferent() {
this.countEPReferent = this.epService.getEPEnCoursReferentCount(this.collaborateurConnecte.id, true, 1, 15, "", "", true, undefined, undefined).subscribe(
this.countEPReferent = this.epService.getEPEnCoursReferentCount(this.collaborateurConnecte.id,"", undefined, undefined).subscribe(
count => this.estReferentEPEnCours = count > 0,
err => console.log(err)
);

@ -70,7 +70,7 @@ export class NotesComponent implements OnInit {
err => console.log(err)
);
this.notesCountSubscriber = this.notesService.getNotesAuteurCount(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri).subscribe(
this.notesCountSubscriber = this.notesService.getNotesAuteurCount(this.idCollaborateur, this.search).subscribe(
count => this.taille = count,
err => console.log(err)
);

@ -46,7 +46,7 @@ export class AffichageDetailsCollaborateurComponent implements OnInit{
err => console.log(err)
);
this.participationFormationSubscription = this.participationFormationService.getParticipationByCollaborateur(this.idCollaborateur).subscribe(
this.participationFormationSubscription = this.participationFormationService.getParticipationsByCollaborateur(this.idCollaborateur).subscribe(
participationsFormation => this.participationsFormation = participationsFormation,
err => console.log(err)
);

@ -159,7 +159,7 @@ export class CollaborateursService {
* @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 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
@ -167,10 +167,10 @@ export class CollaborateursService {
* @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 getCollaborateurs(roles?: Array<string>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<CollaborateurDTO>>;
public getCollaborateurs(roles?: Array<string>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<CollaborateurDTO>>>;
public getCollaborateurs(roles?: Array<string>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<CollaborateurDTO>>>;
public getCollaborateurs(roles?: Array<string>, 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 getCollaborateurs(roles?: Array<string>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<CollaborateurDTO>>;
public getCollaborateurs(roles?: Array<string>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<CollaborateurDTO>>>;
public getCollaborateurs(roles?: Array<string>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<CollaborateurDTO>>>;
public getCollaborateurs(roles?: Array<string>, 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> {
@ -198,8 +198,8 @@ export class CollaborateursService {
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);
@ -253,16 +253,16 @@ export class CollaborateursService {
* @param idReferent Id d&#x27;un référent
* @param asc Indique si les données sont récupérées dans l&#x27;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 tri Colonne du tableau sur lequel le tri devra être effectué
* @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 getCollaborateursByReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'body', reportProgress?: boolean): Observable<Array<CollaborateurDTO>>;
public getCollaborateursByReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<CollaborateurDTO>>>;
public getCollaborateursByReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<CollaborateurDTO>>>;
public getCollaborateursByReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getCollaborateursByReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe?: 'body', reportProgress?: boolean): Observable<Array<CollaborateurDTO>>;
public getCollaborateursByReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<CollaborateurDTO>>>;
public getCollaborateursByReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<CollaborateurDTO>>>;
public getCollaborateursByReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idReferent === null || idReferent === undefined) {
throw new Error('Required parameter idReferent was null or undefined when calling getCollaborateursByReferent.');
@ -280,8 +280,8 @@ export class CollaborateursService {
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);
@ -327,44 +327,24 @@ export class CollaborateursService {
*
* Récupérer le nombre total de collaborateurs dun référent.
* @param idReferent Id d&#x27;un référent
* @param asc Indique si les données sont récupérées dans l&#x27;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 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 getCollaborateursByReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getCollaborateursByReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getCollaborateursByReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getCollaborateursByReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getCollaborateursByReferentCount(idReferent: string, texte?: string, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getCollaborateursByReferentCount(idReferent: string, texte?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getCollaborateursByReferentCount(idReferent: string, texte?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getCollaborateursByReferentCount(idReferent: string, texte?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idReferent === null || idReferent === undefined) {
throw new Error('Required parameter idReferent was null or undefined when calling getCollaborateursByReferentCount.');
}
let queryParameters = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});
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);
}
let headers = this.defaultHeaders;
@ -404,24 +384,16 @@ export class CollaborateursService {
* Récupérer le nombre total de collaborateurs.
* @param roles Liste des rôles auquels appartiennent les collaborateurs (e.g [CP, Commerciaux,RA])
* @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&#x27;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 dateDebut Date à partir de laquelle les données son récupérées
* @param dateFin Date jusqu&#x27;à 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 getCollaborateursCount(roles?: Array<string>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getCollaborateursCount(roles?: Array<string>, 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 getCollaborateursCount(roles?: Array<string>, 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 getCollaborateursCount(roles?: Array<string>, 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 getCollaborateursCount(roles?: Array<string>, idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getCollaborateursCount(roles?: Array<string>, idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getCollaborateursCount(roles?: Array<string>, idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getCollaborateursCount(roles?: Array<string>, idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
@ -439,21 +411,9 @@ export class CollaborateursService {
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 (dateDebut !== undefined && dateDebut !== null) {
queryParameters = queryParameters.set('dateDebut', <any>dateDebut.toISOString());
}

@ -167,7 +167,7 @@ export class DemandesFormationService {
* @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&#x27;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 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
@ -175,10 +175,10 @@ export class DemandesFormationService {
* @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 getDemandesFormation(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<DemandeFormationDTO>>;
public getDemandesFormation(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<DemandeFormationDTO>>>;
public getDemandesFormation(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<DemandeFormationDTO>>>;
public getDemandesFormation(etatsDemande?: Array<EtatDemande>, 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 getDemandesFormation(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<DemandeFormationDTO>>;
public getDemandesFormation(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<DemandeFormationDTO>>>;
public getDemandesFormation(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<DemandeFormationDTO>>>;
public getDemandesFormation(etatsDemande?: Array<EtatDemande>, 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> {
@ -206,8 +206,8 @@ export class DemandesFormationService {
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);
@ -260,24 +260,16 @@ export class DemandesFormationService {
* Récupérer le nombre total de demandes de formation.
* @param etatsDemande Liste des états des demandes à afficher
* @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&#x27;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 dateDebut Date à partir de laquelle les données son récupérées
* @param dateFin Date jusqu&#x27;à 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 getDemandesFormationCount(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getDemandesFormationCount(etatsDemande?: Array<EtatDemande>, 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 getDemandesFormationCount(etatsDemande?: Array<EtatDemande>, 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 getDemandesFormationCount(etatsDemande?: Array<EtatDemande>, 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 getDemandesFormationCount(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getDemandesFormationCount(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getDemandesFormationCount(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getDemandesFormationCount(etatsDemande?: Array<EtatDemande>, idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
@ -295,21 +287,9 @@ export class DemandesFormationService {
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 (dateDebut !== undefined && dateDebut !== null) {
queryParameters = queryParameters.set('dateDebut', <any>dateDebut.toISOString());
}

@ -60,20 +60,20 @@ export class EngagementsService {
/**
*
* Récupérer la liste des engagements.
* @param etatsEngagement Etats de l&#x27;engagement
* @param idBUs liste des ids des BU auxquelles les données sont rattachées
* @param etatsEngagement Etats de l&#x27;engagement
* @param asc Indique si les données sont récupérées dans l&#x27;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 tri Colonne du tableau sur lequel le tri devra être effectué
* @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 getEngagements(etatsEngagement?: Array<EtatEngagement>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'body', reportProgress?: boolean): Observable<Array<EngagementDTO>>;
public getEngagements(etatsEngagement?: Array<EtatEngagement>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EngagementDTO>>>;
public getEngagements(etatsEngagement?: Array<EtatEngagement>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EngagementDTO>>>;
public getEngagements(etatsEngagement?: Array<EtatEngagement>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getEngagements(idBUs?: Array<number>, etatsEngagement?: Array<EtatEngagement>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe?: 'body', reportProgress?: boolean): Observable<Array<EngagementDTO>>;
public getEngagements(idBUs?: Array<number>, etatsEngagement?: Array<EtatEngagement>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EngagementDTO>>>;
public getEngagements(idBUs?: Array<number>, etatsEngagement?: Array<EtatEngagement>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EngagementDTO>>>;
public getEngagements(idBUs?: Array<number>, etatsEngagement?: Array<EtatEngagement>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
@ -83,24 +83,24 @@ export class EngagementsService {
let queryParameters = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});
if (etatsEngagement) {
etatsEngagement.forEach((element) => {
queryParameters = queryParameters.append('etatsEngagement', <any>element);
})
}
if (idBUs) {
idBUs.forEach((element) => {
queryParameters = queryParameters.append('idBUs', <any>element);
})
}
if (etatsEngagement) {
etatsEngagement.forEach((element) => {
queryParameters = queryParameters.append('etatsEngagement', <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 (parPage !== undefined && parPage !== null) {
queryParameters = queryParameters.set('parPage', <any>parPage);
}
if (texte !== undefined && texte !== null) {
queryParameters = queryParameters.set('texte', <any>texte);
@ -145,54 +145,34 @@ export class EngagementsService {
/**
*
* Récupérer le nombre total dengagements.
* @param etatsEngagement Etats de l&#x27;engagement
* @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&#x27;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 etatsEngagement Etats de l&#x27;engagement
* @param texte Texte permettant de filtrer les données
* @param tri Colonne du tableau sur lequel le tri devra être effectué
* @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 getEngagementsCount(etatsEngagement?: Array<EtatEngagement>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getEngagementsCount(etatsEngagement?: Array<EtatEngagement>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getEngagementsCount(etatsEngagement?: Array<EtatEngagement>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getEngagementsCount(etatsEngagement?: Array<EtatEngagement>, idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getEngagementsCount(idBUs?: Array<number>, etatsEngagement?: Array<EtatEngagement>, texte?: string, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getEngagementsCount(idBUs?: Array<number>, etatsEngagement?: Array<EtatEngagement>, texte?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getEngagementsCount(idBUs?: Array<number>, etatsEngagement?: Array<EtatEngagement>, texte?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getEngagementsCount(idBUs?: Array<number>, etatsEngagement?: Array<EtatEngagement>, texte?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
let queryParameters = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});
if (etatsEngagement) {
etatsEngagement.forEach((element) => {
queryParameters = queryParameters.append('etatsEngagement', <any>element);
})
}
if (idBUs) {
idBUs.forEach((element) => {
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 (etatsEngagement) {
etatsEngagement.forEach((element) => {
queryParameters = queryParameters.append('etatsEngagement', <any>element);
})
}
if (texte !== undefined && texte !== null) {
queryParameters = queryParameters.set('texte', <any>texte);
}
if (tri !== undefined && tri !== null) {
queryParameters = queryParameters.set('tri', <any>tri);
}
let headers = this.defaultHeaders;

@ -208,7 +208,7 @@ 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&#x27;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 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
@ -216,10 +216,10 @@ export class EpService {
* @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, 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> {
@ -241,8 +241,8 @@ 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);
@ -390,24 +390,16 @@ export class EpService {
*
* Récupérer le nombre total dEP 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&#x27;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 dateDebut Date à partir de laquelle les données son récupérées
* @param dateFin Date jusqu&#x27;à 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, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getEPEnCoursCount(idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getEPEnCoursCount(idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getEPEnCoursCount(idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
@ -419,21 +411,9 @@ 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 (dateDebut !== undefined && dateDebut !== null) {
queryParameters = queryParameters.set('dateDebut', <any>dateDebut.toISOString());
}
@ -480,19 +460,18 @@ export class EpService {
* @param idReferent Id d&#x27;un référent
* @param asc Indique si les données sont récupérées dans l&#x27;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 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&#x27;à 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 getEPEnCoursReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<EpInformationDTO>>;
public getEPEnCoursReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EpInformationDTO>>>;
public getEPEnCoursReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EpInformationDTO>>>;
public getEPEnCoursReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getEPEnCoursReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<EpInformationDTO>>;
public getEPEnCoursReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EpInformationDTO>>>;
public getEPEnCoursReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EpInformationDTO>>>;
public getEPEnCoursReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idReferent === null || idReferent === undefined) {
throw new Error('Required parameter idReferent was null or undefined when calling getEPEnCoursReferent.');
@ -505,7 +484,6 @@ export class EpService {
let queryParameters = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});
if (asc !== undefined && asc !== null) {
queryParameters = queryParameters.set('asc', <any>asc);
@ -513,8 +491,8 @@ 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);
@ -522,9 +500,6 @@ export class EpService {
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());
}
@ -569,21 +544,16 @@ export class EpService {
*
* Récupérer le nombre total de prochains EP dun référent.
* @param idReferent Id d&#x27;un référent
* @param asc Indique si les données sont récupérées dans l&#x27;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&#x27;à 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 getEPEnCoursReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getEPEnCoursReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getEPEnCoursReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getEPEnCoursReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, epObligatoire?: boolean, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getEPEnCoursReferentCount(idReferent: string, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getEPEnCoursReferentCount(idReferent: string, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getEPEnCoursReferentCount(idReferent: string, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getEPEnCoursReferentCount(idReferent: string, texte?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idReferent === null || idReferent === undefined) {
throw new Error('Required parameter idReferent was null or undefined when calling getEPEnCoursReferentCount.');
@ -592,30 +562,10 @@ export class EpService {
let queryParameters = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});
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());
}
@ -758,7 +708,7 @@ 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&#x27;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 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
@ -766,10 +716,10 @@ export class EpService {
* @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 getEPSignes(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 getEPSignes(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 getEPSignes(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 getEPSignes(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 getEPSignes(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 getEPSignes(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 getEPSignes(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 getEPSignes(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> {
@ -791,8 +741,8 @@ 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);
@ -892,24 +842,16 @@ export class EpService {
*
* Récupérer le nombre total dEP signés.
* @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&#x27;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 dateDebut Date à partir de laquelle les données son récupérées
* @param dateFin Date jusqu&#x27;à 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 getEPSignesCount(idBUs?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getEPSignesCount(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 getEPSignesCount(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 getEPSignesCount(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 getEPSignesCount(idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getEPSignesCount(idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getEPSignesCount(idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getEPSignesCount(idBUs?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
@ -921,21 +863,9 @@ 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 (dateDebut !== undefined && dateDebut !== null) {
queryParameters = queryParameters.set('dateDebut', <any>dateDebut.toISOString());
}
@ -982,7 +912,7 @@ export class EpService {
* @param idReferent Id d&#x27;un référent
* @param asc Indique si les données sont récupérées dans l&#x27;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 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
@ -990,10 +920,10 @@ export class EpService {
* @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 getEPSignesReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<EpInformationDTO>>;
public getEPSignesReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EpInformationDTO>>>;
public getEPSignesReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EpInformationDTO>>>;
public getEPSignesReferent(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getEPSignesReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<EpInformationDTO>>;
public getEPSignesReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<EpInformationDTO>>>;
public getEPSignesReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<EpInformationDTO>>>;
public getEPSignesReferent(idReferent: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idReferent === null || idReferent === undefined) {
throw new Error('Required parameter idReferent was null or undefined when calling getEPSignesReferent.');
@ -1013,8 +943,8 @@ 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);
@ -1066,20 +996,16 @@ export class EpService {
*
* Récupérer le nombre total dEP signés quun référent à fait passer.
* @param idReferent Id d&#x27;un référent
* @param asc Indique si les données sont récupérées dans l&#x27;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 dateDebut Date à partir de laquelle les données son récupérées
* @param dateFin Date jusqu&#x27;à 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 getEPSignesReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getEPSignesReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getEPSignesReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getEPSignesReferentCount(idReferent: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getEPSignesReferentCount(idReferent: string, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getEPSignesReferentCount(idReferent: string, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getEPSignesReferentCount(idReferent: string, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getEPSignesReferentCount(idReferent: string, texte?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idReferent === null || idReferent === undefined) {
throw new Error('Required parameter idReferent was null or undefined when calling getEPSignesReferentCount.');
@ -1088,26 +1014,10 @@ export class EpService {
let queryParameters = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});
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 (dateDebut !== undefined && dateDebut !== null) {
queryParameters = queryParameters.set('dateDebut', <any>dateDebut.toISOString());
}

@ -218,7 +218,7 @@ export class FormationsService {
* @param idStatuts liste des ids des statuts des formations à récupérer
* @param asc Indique si les données sont récupérées dans l&#x27;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 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
@ -226,10 +226,10 @@ export class FormationsService {
* @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 getFormations(idAgence?: number, idStatuts?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<FormationDetailsDTO>>;
public getFormations(idAgence?: number, idStatuts?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<FormationDetailsDTO>>>;
public getFormations(idAgence?: number, idStatuts?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<FormationDetailsDTO>>>;
public getFormations(idAgence?: number, idStatuts?: 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 getFormations(idAgence?: number, idStatuts?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<Array<FormationDetailsDTO>>;
public getFormations(idAgence?: number, idStatuts?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<FormationDetailsDTO>>>;
public getFormations(idAgence?: number, idStatuts?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<FormationDetailsDTO>>>;
public getFormations(idAgence?: number, idStatuts?: Array<number>, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
@ -255,8 +255,8 @@ export class FormationsService {
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);
@ -309,24 +309,16 @@ export class FormationsService {
* Récupérer le nombre total de formations.
* @param idAgence id de l&#x27;agence à laquelle sont rattachées les données à récupérer
* @param idStatuts liste des ids des statuts des formations à récupérer
* @param asc Indique si les données sont récupérées dans l&#x27;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 dateDebut Date à partir de laquelle les données son récupérées
* @param dateFin Date jusqu&#x27;à 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 getFormationsCount(idAgence?: number, idStatuts?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getFormationsCount(idAgence?: number, idStatuts?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getFormationsCount(idAgence?: number, idStatuts?: Array<number>, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getFormationsCount(idAgence?: number, idStatuts?: 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 getFormationsCount(idAgence?: number, idStatuts?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getFormationsCount(idAgence?: number, idStatuts?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getFormationsCount(idAgence?: number, idStatuts?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getFormationsCount(idAgence?: number, idStatuts?: Array<number>, texte?: string, dateDebut?: Date, dateFin?: Date, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
@ -342,21 +334,9 @@ export class FormationsService {
queryParameters = queryParameters.append('idStatuts', <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 (dateDebut !== undefined && dateDebut !== null) {
queryParameters = queryParameters.set('dateDebut', <any>dateDebut.toISOString());
}

@ -213,16 +213,16 @@ export class NotesService {
* @param idAuteur Id de l&#x27;auteur
* @param asc Indique si les données sont récupérées dans l&#x27;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 tri Colonne du tableau sur lequel le tri devra être effectué
* @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 getNotesAuteur(idAuteur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'body', reportProgress?: boolean): Observable<Array<AffichageNoteDTO>>;
public getNotesAuteur(idAuteur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<AffichageNoteDTO>>>;
public getNotesAuteur(idAuteur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<AffichageNoteDTO>>>;
public getNotesAuteur(idAuteur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getNotesAuteur(idAuteur: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe?: 'body', reportProgress?: boolean): Observable<Array<AffichageNoteDTO>>;
public getNotesAuteur(idAuteur: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<AffichageNoteDTO>>>;
public getNotesAuteur(idAuteur: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<AffichageNoteDTO>>>;
public getNotesAuteur(idAuteur: string, asc?: boolean, numPage?: number, parPage?: number, texte?: string, tri?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idAuteur === null || idAuteur === undefined) {
throw new Error('Required parameter idAuteur was null or undefined when calling getNotesAuteur.');
@ -240,8 +240,8 @@ export class NotesService {
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);
@ -287,44 +287,24 @@ export class NotesService {
*
* Récupérer le nombre total de notes dun auteur.
* @param idAuteur Id de l&#x27;auteur
* @param asc Indique si les données sont récupérées dans l&#x27;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 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 getNotesAuteurCount(idAuteur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getNotesAuteurCount(idAuteur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getNotesAuteurCount(idAuteur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getNotesAuteurCount(idAuteur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getNotesAuteurCount(idAuteur: string, texte?: string, observe?: 'body', reportProgress?: boolean): Observable<number>;
public getNotesAuteurCount(idAuteur: string, texte?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<number>>;
public getNotesAuteurCount(idAuteur: string, texte?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<number>>;
public getNotesAuteurCount(idAuteur: string, texte?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idAuteur === null || idAuteur === undefined) {
throw new Error('Required parameter idAuteur was null or undefined when calling getNotesAuteurCount.');
}
let queryParameters = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});
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);
}
let headers = this.defaultHeaders;

@ -168,43 +168,16 @@ export class ParticipationsFormationsService {
*
* Récupérer la liste des participations de formation dun collaborateur.
* @param idCollaborateur Id du collaborateur
* @param asc Indique si les données sont récupérées dans l&#x27;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 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 getParticipationByCollaborateur(idCollaborateur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'body', reportProgress?: boolean): Observable<Array<ParticipationFormationDTO>>;
public getParticipationByCollaborateur(idCollaborateur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<ParticipationFormationDTO>>>;
public getParticipationByCollaborateur(idCollaborateur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<ParticipationFormationDTO>>>;
public getParticipationByCollaborateur(idCollaborateur: string, asc?: boolean, numPage?: number, parPAge?: number, texte?: string, tri?: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
public getParticipationsByCollaborateur(idCollaborateur: string, observe?: 'body', reportProgress?: boolean): Observable<Array<ParticipationFormationDTO>>;
public getParticipationsByCollaborateur(idCollaborateur: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<ParticipationFormationDTO>>>;
public getParticipationsByCollaborateur(idCollaborateur: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<ParticipationFormationDTO>>>;
public getParticipationsByCollaborateur(idCollaborateur: string, observe: any = 'body', reportProgress: boolean = false ): Observable<any> {
if (idCollaborateur === null || idCollaborateur === undefined) {
throw new Error('Required parameter idCollaborateur was null or undefined when calling getParticipationByCollaborateur.');
}
let queryParameters = new HttpParams({encoder: new CustomHttpUrlEncodingCodec()});
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);
throw new Error('Required parameter idCollaborateur was null or undefined when calling getParticipationsByCollaborateur.');
}
let headers = this.defaultHeaders;
@ -231,7 +204,6 @@ export class ParticipationsFormationsService {
return this.httpClient.request<Array<ParticipationFormationDTO>>('get',`${this.basePath}/participationsformation/${encodeURIComponent(String(idCollaborateur))}`,
{
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,

@ -19,7 +19,7 @@ export interface SaisieDTO {
/**
* Id de la saisie
*/
id: string;
id: number;
/**
* Note saisie
*/

@ -11,7 +11,7 @@
*/
/**
* Statut ou état dans lequel se trouve lEP au cours du processus EP: * `Cree` - L'EP a été créé en base de données mais n'est pas encore disponible * `Disponible` - L'EP est disponible pour être saisi par le collaborateur * `Saisi` - L'EP a é saisi par le collaborateur * `DatesProposees` - Des dates d'entretiens ont été proposées par le référent * `AttenteEntretien` - Indique qu’il s’agit d’un EPS * `Effectue` - Le référent a marqué l'EP comme étant effectué et peut accéder à sa saisie * `SignatureReferent` - Le référent a complété en signé l'EP * `Signe` - Le collaborateur a signé l'EP * `Rejete` - Le collaborateur n'a pas effectué la saisie dans les temps ou a refusé l'EP * `Annule` - Une assistante ou le référent a annulé l'EP du collaborateur
* Statut ou état dans lequel se trouve lEP au cours du processus EP: * `Cree` - L'EP a été créé en base de données mais n'est pas encore disponible * `Disponible` - L'EP est disponible pour être saisi par le collaborateur * `Saisi` - L'EP a é saisi par le collaborateur * `DatesProposees` - Des dates d'entretiens ont été proposées par le référent * `AttenteEntretien` - Le collaborateur a choisi une date, il ne reste plus qu'à attendre l'entretien * `Effectue` - Le référent a marqué l'EP comme étant effectué et peut accéder à sa saisie * `SignatureReferent` - Le référent a complété en signé l'EP * `Signe` - Le collaborateur a signé l'EP * `Rejete` - Le collaborateur n'a pas effectué la saisie dans les temps ou a refusé l'EP * `Annule` - Une assistante ou le référent a annulé l'EP du collaborateur
*/
export type StatutEp = 'Cree' | 'Disponible' | 'Saisi' | 'DatesProposees' | 'AttenteEntretien' | 'Effectue' | 'SignatureReferent' | 'Signe' | 'Rejete' | 'Annule';

@ -186,7 +186,7 @@ export class CollaborateursTableComponent implements OnInit {
collaborateurs => { console.log(collaborateurs); this.dataSource = new MatTableDataSource(collaborateurs);},
err => console.log(err)
);
this.collaborateursDisponiblesCountSubscription = this.service.getCollaborateursCount(this.roles, this.busIds,this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin).subscribe(
this.collaborateursDisponiblesCountSubscription = this.service.getCollaborateursCount(this.roles, this.busIds,this.search, this.dateDebut, this.dateFin).subscribe(
count => { console.log(count); this.taille=count;},
err => console.log(err)
);
@ -200,7 +200,7 @@ export class CollaborateursTableComponent implements OnInit {
collaborateurs => { console.log(collaborateurs); this.dataSource = new MatTableDataSource(collaborateurs);},
err => console.log(err)
);
this.collaborateursDisponiblesCountSubscription = this.service.getCollaborateursByReferentCount(this.idReferent, this.asc, this.numPage, this.parPage, this.search, this.tri).subscribe(
this.collaborateursDisponiblesCountSubscription = this.service.getCollaborateursByReferentCount(this.idReferent, this.search).subscribe(
count => { console.log(count); this.taille=count;},
err => console.log(err)
);

@ -110,12 +110,12 @@ export class EngagementTableComponent implements OnInit {
this.dataSource = new MatTableDataSource(undefined);
return;
}
this.engagementSubscription = this.engagementService.getEngagements(this.etatsEngagements, this.busIds, this.asc, this.numPage, this.parPage, this.search, this.tri).subscribe(
this.engagementSubscription = this.engagementService.getEngagements(this.busIds, this.etatsEngagements,this.asc, this.numPage, this.parPage, this.search, this.tri).subscribe(
engagements => { console.log(engagements); this.dataSource = new MatTableDataSource(engagements); },
err => console.log(err)
);
this.engagementCountSubscripton = this.engagementService.getEngagementsCount(this.etatsEngagements, this.busIds, this.asc, this.numPage, this.parPage, this.search, this.tri).subscribe(
this.engagementCountSubscripton = this.engagementService.getEngagementsCount(this.busIds, this.etatsEngagements, this.search).subscribe(
count => this.taille = count,
err => console.log(err)
);

@ -126,7 +126,7 @@ export class EpTableComponent implements OnInit{
this.epSubscription = this.epService.getEPSignesReferent(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin).subscribe(
eps => {
this.dataSource = new MatTableDataSource(eps);
this.epCountSubscription = this.epService.getEPSignesReferentCount(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin).subscribe(
this.epCountSubscription = this.epService.getEPSignesReferentCount(this.idCollaborateur, this.search, this.dateDebut, this.dateFin).subscribe(
count => this.taille = count,
err => console.log(err)
);
@ -136,10 +136,10 @@ export class EpTableComponent implements OnInit{
}
getEPEnCoursReferent() {
this.epSubscription = this.epService.getEPEnCoursReferent(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri, true, this.dateDebut, this.dateFin ).subscribe(
this.epSubscription = this.epService.getEPEnCoursReferent(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin ).subscribe(
eps => {
this.dataSource = new MatTableDataSource(eps);
this.epCountSubscription = this.epService.getEPSignesReferentCount(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin ).subscribe(
this.epCountSubscription = this.epService.getEPSignesReferentCount(this.idCollaborateur, this.search, this.dateDebut, this.dateFin ).subscribe(
count => this.taille = count,
err => console.log(err)
);
@ -152,7 +152,7 @@ export class EpTableComponent implements OnInit{
this.epSubscription = this.epService.getEPEnCours(this.busIds, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin).subscribe(
eps => {
this.dataSource = new MatTableDataSource(eps);
this.epCountSubscription = this.epService.getEPEnCoursCount(this.busIds, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin).subscribe(
this.epCountSubscription = this.epService.getEPEnCoursCount(this.busIds, this.search, this.dateDebut, this.dateFin).subscribe(
count => {
console.log(count);
this.taille = count
@ -177,7 +177,7 @@ export class EpTableComponent implements OnInit{
eps => {
console.log(eps);
this.dataSource = new MatTableDataSource(eps);
this.epCountSubscription = this.epService.getEPSignesCount(this.busIds, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin).subscribe(
this.epCountSubscription = this.epService.getEPSignesCount(this.busIds, this.search, this.dateDebut, this.dateFin).subscribe(
count => this.taille = count,
err => console.log(err)
);

@ -136,7 +136,7 @@ export class FormationsTableComponent implements OnInit {
err => console.log(err)
)
this.formationsDisponiblesCountSubscription = this.formationsService.getFormationsCount(this.idAgence,this.idStatuts,this.asc, this.numPage, this.parPage, this.search, this.tri).subscribe(
this.formationsDisponiblesCountSubscription = this.formationsService.getFormationsCount(this.idAgence,this.idStatuts, this.search).subscribe(
count => this.taille=count,
err => console.log(err)
);

Loading…
Cancel
Save