Fórum

DocumentLibrary question - Liferay 4.3.4

Jan Kot, modificado 16 Anos atrás.

DocumentLibrary question - Liferay 4.3.4

New Member Postagens: 3 Data de Entrada: 17/11/07 Postagens Recentes
Hi
I'am trying to create a portlet that iterates (and process) all files in all repositories.
To process a single file I need to read its content. In order to call getFileAsStream (DLLocalServiceImpl) I need three parameters:
(long) companyId, (long) repositoryId and (String) fileName. How can I get a list of all filenames (fileName) in all repositories (repositoryId) ?

Regards
JanK
thumbnail
Roman Hoyenko, modificado 16 Anos atrás.

RE: DocumentLibrary question - Liferay 4.3.4

Liferay Master Postagens: 878 Data de Entrada: 08/10/07 Postagens Recentes
You can look at the database to see the DL entries. Or use Liferay interface (just look what Document Library portlet does).

I don't have a db handy to tell you the exact table name, but I can look tomorrow.