Class BulkDeletionJob

java.lang.Object
ch.tocco.nice2.tasks.api.quartz.AbstractJob
ch.tocco.nice2.entityoperation.impl.bulkdeletion.BulkDeletionJob
All Implemented Interfaces:
org.quartz.Job

public class BulkDeletionJob extends AbstractJob
Deletes a Bulk_deletion using the cascadingDeleteService and tracks the status on the corresponding Bulk_deletion and Deletion entities. If single Deletions can not be processed (e.g. there are dependencies that can not be cascading deleted) the Deletion_status of this Deletion will be set to "failed". All other Deletions will still be processed. This is achieved by creating a new Context for each Deletion.