Overview
Summary
Contact
Donate
Imprint
Prompt for the
PersonApp
Please create a React-JS application for the PersonModule. The application has to offer the following views for the user interface: 1. AuthorView 2. PersonView 3. PersonRoleOrganizationView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The AuthorView must contain the following fields: - name: AuthorOrder type: LONG - name: Person type: Person - name: Publication type: Publication The data source for the [Publication] select control should be loaded from the relative URL: "/PublicationService/publication" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing Author entity should be loaded from the relative URL: "/PersonService/author/{id}" (HTTP-GET) If a new Author entity has been created, the new entity should be posted to the relative URL: "/PersonService/author" (HTTP-POST) If an existing Author entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/author/{id}" (HTTP-PUT) If an existing Author entity has to be deleted, the following relative URL should be called: "/PersonService/author/{id}" (HTTP-DELETE) 2. The PersonView must contain the following fields: - name: Biography type: STRING - name: BirthYear type: LONG - name: DeathYear type: LONG - name: FirstName type: STRING - name: LastName type: STRING An existing Person entity should be loaded from the relative URL: "/PersonService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/PersonService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/PersonService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Author columns: - column: Person - column: AuthorOrder - column: Publication The table should have the title "Authors" und the data must be loaded from the server with the following relative URL: "/PersonService/author/person/{id}" Add a HTML table to the view with the following PersonRoleOrganization columns: - column: Organization - column: RoleName - column: StartDate - column: EndDate - column: Person The table should have the title "PersonRoleOrganizations" und the data must be loaded from the server with the following relative URL: "/PersonService/personroleorganization/person/{id}" Add a HTML table to the view with the following Criticism columns: - column: RiskType - column: Description - column: Person - column: Publication - column: Title - column: SeverityAssessment - column: AladdinSystem The table should have the title "Criticisms" und the data must be loaded from the server with the following relative URL: "/PublicationService/criticism/person/{id}" 3. The PersonRoleOrganizationView must contain the following fields: - name: EndDate type: DATE - name: Organization type: Organization - name: Person type: Person - name: RoleName type: STRING - name: StartDate type: DATE The data source for the [Organization] select control should be loaded from the relative URL: "/OrganizationService/organization" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing PersonRoleOrganization entity should be loaded from the relative URL: "/PersonService/personroleorganization/{id}" (HTTP-GET) If a new PersonRoleOrganization entity has been created, the new entity should be posted to the relative URL: "/PersonService/personroleorganization" (HTTP-POST) If an existing PersonRoleOrganization entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/personroleorganization/{id}" (HTTP-PUT) If an existing PersonRoleOrganization entity has to be deleted, the following relative URL should be called: "/PersonService/personroleorganization/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint