Exercises

Implement the ProjectServiceImpl and UserServiceImpl interfaces as required by their interface definitions. Business logic to consider when implementing the UserServiceImpl are as follows:

  • Only an admin user may modify data
  • The email address may not be empty
  • The password may not be zero length
  • The adminRole flag must be either Y or N
  • Users are not allowed to delete themselves
  • Users cannot be deleted if they have task logs assigned

Confirm your UserServiceImpl implementation by executing the UserServiceTest test case.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.75.165