org.gcube.applicationsupportlayer.social
Interface NewsManager
- All Known Implementing Classes:
- AslNewsManager
public interface NewsManager
- Version:
- 0.1 Dec 2012
- Author:
- Massimiliano Assante, ISTI-CNR
shareApplicationUpdate
boolean shareApplicationUpdate(Class<?> applicationClass,
String description,
String uri)
- use to share an update from your application
- Parameters:
applicationClass
- your servlet class name will be used ad unique identifier for your applicationdescription
- add a description for the update you are sharinguri
- the link to which the subject of this update is available
- Returns:
- true if the update is correctly delivered, false otherwise
shareApplicationUpdate
boolean shareApplicationUpdate(Class<?> applicationClass,
String description,
String uri,
String previewTitle,
String previewDescription,
String previewThumbnailUrl)
- use to share an update from your application with a link preview
- Parameters:
applicationClass
- your servlet class name will be used ad unique identifier for your application with a link previewdescription
- add a description for the update you are sharinguri
- the link to which the subject of this update is availablepreviewTitle
- the title to show in the previewpreviewDescription
- the description to show in the previewpreviewThumbnailUrl
- the image url to show in the preview
- Returns:
- true if the update is correctly delivered, false otherwise
Copyright © 2012. All Rights Reserved.