Package com.logicaldoc.retention
Class RetentionPoliciesProcessor
java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.retention.RetentionPoliciesProcessor
- All Implemented Interfaces:
Runnable
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 inherited from class com.logicaldoc.core.task.Task
STATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setDocumentDao
(com.logicaldoc.core.document.dao.DocumentDAO documentDao) void
setDocumentManager
(com.logicaldoc.core.document.DocumentManager documentManager) void
setFolderDao
(com.logicaldoc.core.folder.FolderDAO folderDao) void
setRetentionPolicyDao
(RetentionPolicyDAO retentionPolicyDao) void
setTenantDao
(com.logicaldoc.core.security.dao.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, setConfig, setLockManager, setReportRecipients, setSendActivityReport, setSender, setSize, setSystemLoadMonitor, setUserDao
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
RetentionPoliciesProcessor
public RetentionPoliciesProcessor()
-
-
Method Details
-
isIndeterminate
public boolean isIndeterminate()- Specified by:
isIndeterminate
in classcom.logicaldoc.core.task.Task
-
isConcurrent
public boolean isConcurrent()- Specified by:
isConcurrent
in classcom.logicaldoc.core.task.Task
-
setTenantDao
public void setTenantDao(com.logicaldoc.core.security.dao.TenantDAO tenantDao) -
getRetentionPolicyDao
-
setRetentionPolicyDao
-
setDocumentManager
public void setDocumentManager(com.logicaldoc.core.document.DocumentManager documentManager) -
setDocumentDao
public void setDocumentDao(com.logicaldoc.core.document.dao.DocumentDAO documentDao) -
setFolderDao
public void setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao)
-