Class QualificationDeleteService
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.services.QualificationDeleteService
-
Constructor Summary
ConstructorDescriptionQualificationDeleteService
(QualificationBeanFactory beanFactory, DefaultDisplayService defaultDisplayService) -
Method Summary
Modifier and TypeMethodDescriptiondeleteEvaluation
(Entity evaluation, boolean deleteExistingGrades) deleteInput
(Entity inputEntity, boolean deleteExistingGrades)
-
Constructor Details
-
QualificationDeleteService
public QualificationDeleteService(QualificationBeanFactory beanFactory, DefaultDisplayService defaultDisplayService)
-
-
Method Details
-
deleteEvaluation
-
deleteInput
Deletes the passedInput
entity and allInputData
s,Exam
s andRating
s related to it, if it'sInputData
s are all empty. Otherwise returns a set containing theDefaultDisplay
of theInput
to be used for exception handling.- Parameters:
inputEntity
- theInput
entity to inspect and delete.- Returns:
- an empty set if successful, otherwise a set containing the
DefaultDisplay
of theInput
-