简体   繁体   中英

retrieving contents from liferay cms using java

I have upload some files using Document and Media portlet in Liferay,Now want to download that particular contents from web service what should i do? I have no idea what would be the url hierarchy of retrieving that particular file? What api should i use? After Googling i found some libraries but that doesn't clear my concept.

http://docs.liferay.com/portal/6.0/javadocs/com/liferay/portlet/journal/service/JournalArticleLocalServiceUtil.html http://liferaypower.blogspot.com/2013/04/getting-images-from-document-and-media.html

Liferay exposes most of its functionality via WebServices. It supports both SOAP and REST+JSON style services. The choice is yours as to which way to go.

Here are links to Liferay documentation which should help you get started:

  1. JSON: https://www.liferay.com/community/wiki/-/wiki/Main/JSON+Web+Services
  2. SOAP: https://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/soap-web-services

Hope this helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM