Package com.logicaldoc.retention
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 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.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.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
-
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.TenantDAO tenantDao) -
getRetentionPolicyDao
-
setRetentionPolicyDao
-
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)
-