-
Method Summary
-
Method Details
-
getTrainingPlansByEmail
java.util.Collection<TrainingPlan> getTrainingPlansByEmail(
java.lang.String email)
throws
java.io.IOException,
java.util.concurrent.ExecutionException,
java.lang.InterruptedException
This method extracts training plans into database.
- Parameters:
email - of the customer
- Returns:
- List of customer's training plan.
- Throws:
java.io.IOException
java.util.concurrent.ExecutionException
java.lang.InterruptedException
-
insertTrainingPlan
boolean insertTrainingPlan(
TrainingPlan tp)
throws
java.io.IOException
This method adds a new TrainingPlan.
- Parameters:
tp -
- Returns:
- boolean
- Throws:
java.io.IOException
-
deleteTrainingPlan
boolean deleteTrainingPlan(java.lang.String email)
throws java.io.IOException,
java.util.concurrent.ExecutionException,
java.lang.InterruptedException
This method deletes a TrainingPlan.
- Parameters:
email -
- Returns:
- boolean
- Throws:
java.io.IOException
java.util.concurrent.ExecutionException
java.lang.InterruptedException