Foren

Database tables for contents and documents/files

Radityaputra Rahardjo, geändert vor 12 Jahren.

Database tables for contents and documents/files

New Member Beiträge: 3 Beitrittsdatum: 11.01.12 Neueste Beiträge
Hi guys,

I was wondering, to which table does Liferay portal stores our documents/files and web contents? I need to know because I need to index these files and contents from another web app which is using the Liferay portal repository. And do these tables have a date columns? I need this column to know the last modified date of the files/content. If there isn't a date column, is there any other way to get the last modified date of a file in the database?

Thanks.
thumbnail
Juhi Kumari, geändert vor 12 Jahren.

RE: Database tables for contents and documents/files

Expert Beiträge: 347 Beitrittsdatum: 12.12.11 Neueste Beiträge
Hi Radityaputra,

Liferay portal stores documents library files in following tables
dlfileentry,dlfilerank,dlfileshortcut,dlfileversion,dlfolder
and for web contents
journalarticle,journalarticleimage,journalarticleresource,journalcontentsearch,journalfeed,journalstructure,journaltemplate

You can get modified date of web contents in journalarticle,journalfeed,journalstructure,journaltemplate tables
and for Document library file in dlfileentry,dlfileshortcut,dlfolder tables


Regards
Juhi
thumbnail
Cesar Ramírez, geändert vor 6 Jahren.

RE: Database tables for contents and documents/files

New Member Beiträge: 2 Beitrittsdatum: 15.08.17 Neueste Beiträge
- Documents library files
DLFileEntry
DLFileRank
DLFileShortcut
DLFileVersion
DLFolder

- Web contents
JournalArticle
JournalArticleImage
JournalArticleResource
JournalContentSearch
JournalFeed
JournalStructure
JournalTemplate
thumbnail
Olaf Kock, geändert vor 6 Jahren.

RE: Database tables for contents and documents/files

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
Cesar Ramírez:
- Documents library files
...


This question has been sleeping peacefully since 2012 - are you sure that these match the version that the original question was asked for? And that the content is even in there?

In fact, just these days, there was yet another Database structure discussion. I'm standing by my word there: You shouldn't look at it. At all. Because when you know what's in there, you might be tempted to change it, and that will lead to disaster.

Use the API.