Overview
Summary
Contact
Donate
Imprint
Prompt for the
TechnologyComponentApp
Please create a React-JS application for the TechnologyComponentModule. The application has to offer the following views for the user interface: 1. CompanyTechnologyUsageView 2. TechnologyComponentView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The CompanyTechnologyUsageView must contain the following fields: - name: Company type: Company - name: EndYear type: LONG - name: StartYear type: LONG - name: TechnologyComponent type: TechnologyComponent - name: UsageDescription type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [TechnologyComponent] select control should be loaded from the relative URL: "/TechnologyComponentService/technologycomponent" (HTTP-GET) An existing CompanyTechnologyUsage entity should be loaded from the relative URL: "/TechnologyComponentService/companytechnologyusage/{id}" (HTTP-GET) If a new CompanyTechnologyUsage entity has been created, the new entity should be posted to the relative URL: "/TechnologyComponentService/companytechnologyusage" (HTTP-POST) If an existing CompanyTechnologyUsage entity has been updated, the modified entity should be sent to the relative URL: "/TechnologyComponentService/companytechnologyusage/{id}" (HTTP-PUT) If an existing CompanyTechnologyUsage entity has to be deleted, the following relative URL should be called: "/TechnologyComponentService/companytechnologyusage/{id}" (HTTP-DELETE) 2. The TechnologyComponentView must contain the following fields: - name: Category type: STRING - name: Description type: STRING - name: InitialAdoptionYear type: LONG - name: Name type: STRING An existing TechnologyComponent entity should be loaded from the relative URL: "/TechnologyComponentService/technologycomponent/{id}" (HTTP-GET) If a new TechnologyComponent entity has been created, the new entity should be posted to the relative URL: "/TechnologyComponentService/technologycomponent" (HTTP-POST) If an existing TechnologyComponent entity has been updated, the modified entity should be sent to the relative URL: "/TechnologyComponentService/technologycomponent/{id}" (HTTP-PUT) If an existing TechnologyComponent entity has to be deleted, the following relative URL should be called: "/TechnologyComponentService/technologycomponent/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CompanyTechnologyUsage columns: - column: StartYear - column: Company - column: UsageDescription - column: TechnologyComponent - column: EndYear The table should have the title "CompanyTechnologyUsages" und the data must be loaded from the server with the following relative URL: "/TechnologyComponentService/companytechnologyusage/technologycomponent/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint