Package org.saidone.collectors
Class DbTreeCollector
java.lang.Object
org.saidone.component.BaseComponent
org.saidone.collectors.AbstractNodeCollector
org.saidone.collectors.DbTreeCollector
- All Implemented Interfaces:
NodeCollector,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
Collects node identifiers by querying the Alfresco database directly.
This collector uses a recursive SQL query to traverse the folder hierarchy starting from a specified root node and collects all content nodes within that tree. The collected node UUIDs are enqueued for processing.
Required configuration arguments:
root-node-id- UUID of the root folder nodedb-url- JDBC connection URL to the Alfresco databasedb-user- Database usernamedb-password- Database password
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectNodes(CollectorConfig config) Implementation specific node collection logic.voidextractUuidsByFolder(String rootUuid, String dbUrl, String user, String password) Methods inherited from class org.saidone.collectors.AbstractNodeCollector
collectMethods inherited from class org.saidone.component.BaseComponent
setApplicationContext, shutDown, start, stop
-
Constructor Details
-
DbTreeCollector
public DbTreeCollector()
-
-
Method Details
-
collectNodes
Description copied from interface:NodeCollectorImplementation specific node collection logic.- Parameters:
config- collector configuration
-
extractUuidsByFolder
-