Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SicherungskategorieApp
Please create a React-JS application for the SicherungskategorieModule. The application has to offer the following views for the user interface: 1. BahnuebergangUeberwachungView 2. FlughafenuebergangView 3. GeschwindigkeitsregelView 4. SicherungskategorieView 5. UeberwachungsartView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The BahnuebergangUeberwachungView must contain the following fields: - name: Bahnuebergang type: Bahnuebergang - name: Ueberwachungsart type: Ueberwachungsart The data source for the [Bahnuebergang] select control should be loaded from the relative URL: "/BahnuebergangService/bahnuebergang" (HTTP-GET) The data source for the [Ueberwachungsart] select control should be loaded from the relative URL: "/SicherungskategorieService/ueberwachungsart" (HTTP-GET) An existing BahnuebergangUeberwachung entity should be loaded from the relative URL: "/SicherungskategorieService/bahnuebergangueberwachung/{id}" (HTTP-GET) If a new BahnuebergangUeberwachung entity has been created, the new entity should be posted to the relative URL: "/SicherungskategorieService/bahnuebergangueberwachung" (HTTP-POST) If an existing BahnuebergangUeberwachung entity has been updated, the modified entity should be sent to the relative URL: "/SicherungskategorieService/bahnuebergangueberwachung/{id}" (HTTP-PUT) If an existing BahnuebergangUeberwachung entity has to be deleted, the following relative URL should be called: "/SicherungskategorieService/bahnuebergangueberwachung/{id}" (HTTP-DELETE) 2. The FlughafenuebergangView must contain the following fields: - name: Bahnuebergang type: Bahnuebergang - name: FlughafenName type: STRING - name: HaltSignaleFuerZuege type: BOOL - name: Oberleitungsluecke type: BOOL - name: StartbahnKennung type: STRING The data source for the [Bahnuebergang] select control should be loaded from the relative URL: "/BahnuebergangService/bahnuebergang" (HTTP-GET) An existing Flughafenuebergang entity should be loaded from the relative URL: "/SicherungskategorieService/flughafenuebergang/{id}" (HTTP-GET) If a new Flughafenuebergang entity has been created, the new entity should be posted to the relative URL: "/SicherungskategorieService/flughafenuebergang" (HTTP-POST) If an existing Flughafenuebergang entity has been updated, the modified entity should be sent to the relative URL: "/SicherungskategorieService/flughafenuebergang/{id}" (HTTP-PUT) If an existing Flughafenuebergang entity has to be deleted, the following relative URL should be called: "/SicherungskategorieService/flughafenuebergang/{id}" (HTTP-DELETE) 3. The GeschwindigkeitsregelView must contain the following fields: - name: Beschreibung type: STRING - name: ErfordertKeinenBahnuebergang type: BOOL - name: ErfordertTechnischeSicherung type: BOOL - name: Land type: Land - name: MaxBahnGeschwindigkeit type: LONG - name: MaxStrassenGeschwindigkeit type: LONG The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Geschwindigkeitsregel entity should be loaded from the relative URL: "/SicherungskategorieService/geschwindigkeitsregel/{id}" (HTTP-GET) If a new Geschwindigkeitsregel entity has been created, the new entity should be posted to the relative URL: "/SicherungskategorieService/geschwindigkeitsregel" (HTTP-POST) If an existing Geschwindigkeitsregel entity has been updated, the modified entity should be sent to the relative URL: "/SicherungskategorieService/geschwindigkeitsregel/{id}" (HTTP-PUT) If an existing Geschwindigkeitsregel entity has to be deleted, the following relative URL should be called: "/SicherungskategorieService/geschwindigkeitsregel/{id}" (HTTP-DELETE) 4. The SicherungskategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Sicherungskategorie entity should be loaded from the relative URL: "/SicherungskategorieService/sicherungskategorie/{id}" (HTTP-GET) If a new Sicherungskategorie entity has been created, the new entity should be posted to the relative URL: "/SicherungskategorieService/sicherungskategorie" (HTTP-POST) If an existing Sicherungskategorie entity has been updated, the modified entity should be sent to the relative URL: "/SicherungskategorieService/sicherungskategorie/{id}" (HTTP-PUT) If an existing Sicherungskategorie entity has to be deleted, the following relative URL should be called: "/SicherungskategorieService/sicherungskategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bahnuebergang columns: - column: Strasse - column: Beschreibung - column: AlternativeUeberOderUnterfuehrung - column: MaxBahnGeschwindigkeit - column: Sicherungskategorie - column: Bahnstrecke - column: AnzahlGleise - column: TechnischGesichert - column: Elektrifiziert - column: Uebergangsart - column: MaxStrassenGeschwindigkeit - column: Name - column: Neubau - column: Breitengrad - column: Land - column: Laengengrad The table should have the title "Bahnuebergangs" und the data must be loaded from the server with the following relative URL: "/BahnuebergangService/bahnuebergang/sicherungskategorie/{id}" 5. The UeberwachungsartView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Ueberwachungsart entity should be loaded from the relative URL: "/SicherungskategorieService/ueberwachungsart/{id}" (HTTP-GET) If a new Ueberwachungsart entity has been created, the new entity should be posted to the relative URL: "/SicherungskategorieService/ueberwachungsart" (HTTP-POST) If an existing Ueberwachungsart entity has been updated, the modified entity should be sent to the relative URL: "/SicherungskategorieService/ueberwachungsart/{id}" (HTTP-PUT) If an existing Ueberwachungsart entity has to be deleted, the following relative URL should be called: "/SicherungskategorieService/ueberwachungsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BahnuebergangUeberwachung columns: - column: Bahnuebergang - column: Ueberwachungsart The table should have the title "BahnuebergangUeberwachungs" und the data must be loaded from the server with the following relative URL: "/SicherungskategorieService/bahnuebergangueberwachung/ueberwachungsart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum