Class EntityReportJob

java.lang.Object
org.springframework.scheduling.quartz.QuartzJobBean
org.alfresco.schedule.AbstractScheduledLockedJob
fr.becpg.repo.report.entity.EntityReportJob
All Implemented Interfaces:
org.quartz.Job

@PersistJobDataAfterExecution @DisallowConcurrentExecution public class EntityReportJob extends org.alfresco.schedule.AbstractScheduledLockedJob implements org.quartz.Job

EntityReportJob class.

Version:
$Id: $Id
Author:
valentin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int
    Constant MAX_RESULTS=50
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for EntityReportJob.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    executeJob(org.quartz.JobExecutionContext context)
    private int
    generatePendingReports(org.alfresco.service.cmr.repository.NodeService nodeService, EntityVersionService entityVersionService, EntityReportService entityReportService, BatchQueueService batchQueueService, BatchPriority priority, int maxResults)
    generatePendingReports.

    Methods inherited from class org.alfresco.schedule.AbstractScheduledLockedJob

    executeInternal

    Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean

    execute

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.quartz.Job

    execute
  • Field Details

    • MAX_RESULTS

      private static final int MAX_RESULTS
      Constant MAX_RESULTS=50
      See Also:
  • Constructor Details

    • EntityReportJob

      public EntityReportJob()

      Constructor for EntityReportJob.

  • Method Details

    • executeJob

      public void executeJob(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
      Specified by:
      executeJob in class org.alfresco.schedule.AbstractScheduledLockedJob
      Throws:
      org.quartz.JobExecutionException
    • generatePendingReports

      private int generatePendingReports(org.alfresco.service.cmr.repository.NodeService nodeService, EntityVersionService entityVersionService, EntityReportService entityReportService, BatchQueueService batchQueueService, BatchPriority priority, int maxResults)

      generatePendingReports.

      Parameters:
      nodeService - a NodeService object
      entityVersionService - a EntityVersionService object
      entityReportService - a EntityReportService object
      batchQueueService - a BatchQueueService object
      priority - a BatchPriority object
      maxResults - a int
      Returns:
      a int