|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NewsManager
Method Summary | |
---|---|
boolean |
shareApplicationUpdate(String feedtext)
use to share an update from your application |
boolean |
shareApplicationUpdate(String feedtext,
String uriGETparams)
use to share an update from your application with a reference to the news object |
boolean |
shareApplicationUpdate(String feedtext,
String uriGETparams,
String previewTitle,
String previewDescription,
InputStream previewThumbnailInputStream,
org.gcube.portal.databook.shared.ImageType imageExtension)
use to share an update from your application with a reference to the news object and with a link preview passing its input stream |
boolean |
shareApplicationUpdate(String feedtext,
String uriGETparams,
String previewTitle,
String previewDescription,
String previewThumbnailUrl)
use to share an update from your application with a reference to the news object and with a link preview |
Method Detail |
---|
boolean shareApplicationUpdate(String feedtext)
feedtext
- add a description for the update you are sharing
boolean shareApplicationUpdate(String feedtext, String uriGETparams)
feedtext
- description for the update you are sharinguriGETparams
- additional parameters if your application supports the direct opening of of this update's object e.g. id=12345&type=foo
boolean shareApplicationUpdate(String feedtext, String uriGETparams, String previewTitle, String previewDescription, String previewThumbnailUrl)
feedtext
- add a description for the update you are sharinguriGETparams
- additional parameters if your application supports the direct opening of of this update's object e.g. id=12345&type=foopreviewTitle
- the title to show in the previewpreviewDescription
- the description to show in the previewpreviewThumbnailUrl
- the image url to show in the preview
boolean shareApplicationUpdate(String feedtext, String uriGETparams, String previewTitle, String previewDescription, InputStream previewThumbnailInputStream, org.gcube.portal.databook.shared.ImageType imageExtension)
feedtext
- add a description for the update you are sharinguriGETparams
- additional parameters if your application supports the direct opening of of this update's object e.g. id=12345&type=foopreviewTitle
- the title to show in the previewpreviewDescription
- the description to show in the previewpreviewThumbnailInputStream
- the image url Input Stream to show in the previewimageExtension
- the image Extension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |