Class QualificationDeleteService
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.services.QualificationDeleteService
-
Constructor Summary
ConstructorsConstructorDescriptionQualificationDeleteService(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 passedInputentity and allInputDatas,Exams andRatings related to it, if it'sInputDatas are all empty. Otherwise returns a set containing theDefaultDisplayof theInputto be used for exception handling.- Parameters:
inputEntity- theInputentity to inspect and delete.- Returns:
- an empty set if successful, otherwise a set containing the
DefaultDisplayof theInput
-