Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tab CRUD

Delete Tab


Create tab

Image Modified

The crewmember makes a call in the front end to the back-end. The TabResource receives this call end sends it to the service, since the resource should only send something back and should not contain any logic. Tabresource does however receive a username from the clearToken method. This needs to happen, because the service should only delegate the function to the DAO and to succesfully add a tab, an username is required to see where the tab needs to be added. The TabDAO makes a call to the database to execute the update with a query and parameters set up in de class. This call eventually creates the tab in the database.

...