Class RetentionPoliciesProcessor

java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.retention.RetentionPoliciesProcessor
All Implemented Interfaces:
Runnable

@Component("retentionProcessor") public class RetentionPoliciesProcessor extends com.logicaldoc.core.task.Task
The component processes the retention policies.
Since:
7.2
Author:
Marco Meschieri - LogicalDOC
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com.logicaldoc.core.task.Task

    STATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    boolean
     
    void
    setDocumentDao(com.logicaldoc.core.document.DocumentDAO documentDao)
     
    void
    setDocumentManager(com.logicaldoc.core.document.DocumentManager documentManager)
     
    void
    setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao)
     
    void
     
    void
    setTenantDao(com.logicaldoc.core.security.TenantDAO tenantDao)
     

    Methods inherited from class com.logicaldoc.core.task.Task

    addTaskListener, getCompletionPercentage, getConfig, getName, getProgress, getReportRecipients, getScheduling, getSize, getStatus, interrupt, isInterrupted, isInterruptRequested, isRunning, isSendActivityReport, notifyReport, removeTaskListener, run, save, saveWork, setReportRecipients, setSendActivityReport, setSize

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • RetentionPoliciesProcessor

      public RetentionPoliciesProcessor()
  • Method Details

    • isIndeterminate

      public boolean isIndeterminate()
      Specified by:
      isIndeterminate in class com.logicaldoc.core.task.Task
    • isConcurrent

      public boolean isConcurrent()
      Specified by:
      isConcurrent in class com.logicaldoc.core.task.Task
    • setTenantDao

      public void setTenantDao(com.logicaldoc.core.security.TenantDAO tenantDao)
    • getRetentionPolicyDao

      public RetentionPolicyDAO getRetentionPolicyDao()
    • setRetentionPolicyDao

      public void setRetentionPolicyDao(RetentionPolicyDAO retentionPolicyDao)
    • setDocumentManager

      public void setDocumentManager(com.logicaldoc.core.document.DocumentManager documentManager)
    • setDocumentDao

      public void setDocumentDao(com.logicaldoc.core.document.DocumentDAO documentDao)
    • setFolderDao

      public void setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao)