Klasse JobHandlerRebuildIndex

java.lang.Object
org.imixs.workflow.engine.adminp.JobHandlerRebuildIndex
Alle implementierten Schnittstellen:
JobHandler

@DeclareRoles("org.imixs.ACCESSLEVEL.MANAGERACCESS") @RunAs("org.imixs.ACCESSLEVEL.MANAGERACCESS") public class JobHandlerRebuildIndex extends Object implements JobHandler
JobHandler to rebuild the lucene fulltext index. The job starts at 1970/01/01 and reads documents in sequence.
Autor:
rsoika
  • Felddetails

  • Konstruktordetails

    • JobHandlerRebuildIndex

      public JobHandlerRebuildIndex()
  • Methodendetails

    • run

      public ItemCollection run(ItemCollection adminp) throws AdminPException
      This method runs the RebuildLuceneIndexJob. The job starts at creation date 1970/01/01 and reads single documents in sequence.

      After the run method is finished, the properties numIndex, numUpdates and numProcessed are updated.

      The method runs in an isolated new transaction because the method flushes the local persistence manager.

      Angegeben von:
      run in Schnittstelle JobHandler
      Parameter:
      adminp -
      Gibt zurück:
      true when finished
      Löst aus:
      AccessDeniedException
      PluginException
      AdminPException