added the application updates manager
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerSocial@62112 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
90a7b07439
commit
e0c70eb60c
|
@ -0,0 +1,30 @@
|
|||
package org.gcube.applicationsupportlayer.social;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Massimiliano Assante, ISTI-CNR
|
||||
* @version 0.1 Dec 2012
|
||||
*
|
||||
*/
|
||||
public interface AslApplicationUpdatesManager {
|
||||
/**
|
||||
*
|
||||
* @param applicationClass your servlet class name will be used ad unique identifier for your application
|
||||
* @param description add a description for the update you are sharing
|
||||
* @param uri the link to which the subject of this update is available
|
||||
* @return true if the update is correctly delivered, false otherwise
|
||||
*/
|
||||
boolean shareApplicationUpdate(Class<?> applicationClass, String description, String uri);
|
||||
/**
|
||||
*
|
||||
* @param applicationClass your servlet class name will be used ad unique identifier for your application with a link preview
|
||||
* @param description add a description for the update you are sharing
|
||||
* @param uri the link to which the subject of this update is available
|
||||
* @param previewTitle the title to show in the preview
|
||||
* @param previewDescription the description to show in the preview
|
||||
* @param previewThumbnailUrl the image url to show in the preview
|
||||
* @return true if the update is correctly delivered, false otherwise
|
||||
*/
|
||||
boolean shareApplicationUpdateWithPreview(Class<?> applicationClass, String description, String uri, String previewTitle, String previewDescription, String previewThumbnailUrl);
|
||||
}
|
Loading…
Reference in New Issue