Package com.logicaldoc.syndication
Class SyndicationCrawler
java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.syndication.SyndicationCrawler
- All Implemented Interfaces:
Runnable
public class SyndicationCrawler
extends com.logicaldoc.core.task.Task
This component crawls the syndications
- Since:
- 8.1.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 TypeMethodDescriptionvoid
Uploads all new files from all syndicationsvoid
com.logicaldoc.core.document.DocumentDAO
long
long
int
org.slf4j.Logger
getLog()
int
long
boolean
boolean
void
setAttributeOptionDao
(com.logicaldoc.core.metadata.AttributeOptionDAO attributeOptionDao) void
setAttributeSetDao
(com.logicaldoc.core.metadata.AttributeSetDAO attributeSetDao) void
setCacheManager
(SyndicationCacheManager cacheManager) void
setDocumentDao
(com.logicaldoc.core.document.DocumentDAO documentDao) void
setErrors
(long errors) void
setFolderDao
(com.logicaldoc.core.folder.FolderDAO folderDao) void
setImported
(long imported) void
setStore
(com.logicaldoc.core.store.Store store) void
setSyndicationDao
(SyndicationDAO syndicationDao) void
setTemplateDao
(com.logicaldoc.core.metadata.TemplateDAO templateDao) void
setUpdated
(long updated) 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
-
SyndicationCrawler
public SyndicationCrawler()
-
-
Method Details
-
getDocumentDao
public com.logicaldoc.core.document.DocumentDAO getDocumentDao() -
setDocumentDao
public void setDocumentDao(com.logicaldoc.core.document.DocumentDAO documentDao) -
setTemplateDao
public void setTemplateDao(com.logicaldoc.core.metadata.TemplateDAO templateDao) -
crawlSyndications
public void crawlSyndications()Uploads all new files from all syndications -
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
-
getRemoteCount
public int getRemoteCount() -
getLocalCount
public int getLocalCount() -
getExported
public long getExported() -
getUpdated
public long getUpdated() -
getErrors
public long getErrors() -
setImported
public void setImported(long imported) -
setUpdated
public void setUpdated(long updated) -
setErrors
public void setErrors(long errors) -
following
public void following() -
getLog
public org.slf4j.Logger getLog() -
setAttributeSetDao
public void setAttributeSetDao(com.logicaldoc.core.metadata.AttributeSetDAO attributeSetDao) -
setAttributeOptionDao
public void setAttributeOptionDao(com.logicaldoc.core.metadata.AttributeOptionDAO attributeOptionDao) -
setSyndicationDao
-
setFolderDao
public void setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao) -
setStore
public void setStore(com.logicaldoc.core.store.Store store) -
setCacheManager
-