Overview
Summary
Contact
Donate
Imprint
Prompt for the
PersonView
Please create a React-JS view called "PersonView" for the fields of the Person entity. The PersonView must contain the following fields: - name: Biography type: STRING - name: BirthYear type: LONG - name: FirstName type: STRING - name: FullName 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 ProgramParticipation columns: - column: EndDate - column: StartDate - column: ParticipantCompany - column: ParticipantPerson - column: Program - column: Role - column: Outcome The table should have the title "ProgramParticipations" und the data must be loaded from the server with the following relative URL: "/CompanyService/programparticipation/participantperson/{id}" Add a HTML table to the view with the following ControversyActor columns: - column: Role - column: Controversy - column: ActorPerson - column: ActorCompany The table should have the title "ControversyActors" und the data must be loaded from the server with the following relative URL: "/ControversyService/controversyactor/actorperson/{id}" Add a HTML table to the view with the following CompanyRole columns: - column: StartDate - column: Title - column: RoleType - column: Company - column: EndDate - column: Person The table should have the title "CompanyRoles" und the data must be loaded from the server with the following relative URL: "/PersonService/companyrole/person/{id}" Add a HTML table to the view with the following LawsuitParty columns: - column: PartyCompany - column: PartyPerson - column: Lawsuit - column: Role The table should have the title "LawsuitPartys" und the data must be loaded from the server with the following relative URL: "/PersonService/lawsuitparty/partyperson/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint