留言板

DLApp Liferay Json Web Service GetFileEntry

Aymane Chakour El Alami,修改在6 年前。

DLApp Liferay Json Web Service GetFileEntry

New Member 帖子: 9 加入日期: 17-5-16 最近的帖子
Hello,

I am new to liferay in general, and i'm trying to consume the json webservices offered by liferay, in particular the DLApp service, i want to get the content of a file in the document library, so the method to use is /dlapp/get-file-entry, but does anyone have an idea or an example how to map the reponse of this method to a java object in order to get the content of the file. In a portlet deployed in liferay we can simply do :

DLFileEntryLocalServiceUtil.getFileAsStream(companyId, userId, folderId, name)


but i don't have any idea how to get the content using the json webservices, Please Help me !

Regard,
Aymane
Aymane Chakour El Alami,修改在6 年前。

RE: DLApp Liferay Json Web Service GetFileEntry

New Member 帖子: 9 加入日期: 17-5-16 最近的帖子
Please Help, no one have ever faced this problem ?