RE: How the Document Library Works?

thumbnail
1385473, modified 17 Years ago. Junior Member Posts: 76 Join Date: 10/6/08 Recent Posts
Hi,

I have been trying to understand the Document Library portlet, and I have some questions.
When I set dl.hook.impl=com.liferay.documentlibrary.util.FileSystemHook I tought that the contents must have been stored on the file system, but only references are stored, and the documents are stored on the Data Base.

So, are the files always stored on the data base independient of the hook set?
Are there any way to store the files on the File System or another system?
If I set the hook to JackRabbit, the documents are stored on the Data Base too?

I need to make an application that store the contents on Alfresco, and I need to know if is possible to do that from the Document Library adding a new Hook.


Thanks,

Tony
thumbnail
25796, modified 17 Years ago. Liferay Master Posts: 603 Join Date: 5/14/07 Recent Posts
Hi Tony, I never used FileSystemHook myself, but looking at its source code, I see that it stores the contents in a folder set in portal.properties: dl.hook.file.system.root.dir. The meta-data is always stored in the database, hooks are responsible for storing the actual content.
thumbnail
1385473, modified 17 Years ago. Junior Member Posts: 76 Join Date: 10/6/08 Recent Posts
Thanks Bruno,

now I see clearer. Is the fisrt time I work with a ECM or CMS and I don´t know its operation.

Tony