git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerSocial@62116 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c894286954
commit
560c63f94a
|
@ -25,27 +25,14 @@ public class AslNewsManager implements NewsManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* use to share an update from your application
|
* {@inheritDoc}
|
||||||
*
|
|
||||||
* @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
|
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean shareApplicationUpdate(Class<?> applicationClass, String description, String uri) {
|
public boolean shareApplicationUpdate(Class<?> applicationClass, String description, String uri) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* use to share an update from your application with a link preview
|
* {@inheritDoc}
|
||||||
*
|
|
||||||
* @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
|
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean shareApplicationUpdate(Class<?> applicationClass, String description, String uri, String previewTitle, String previewDescription, String previewThumbnailUrl) {
|
public boolean shareApplicationUpdate(Class<?> applicationClass, String description, String uri, String previewTitle, String previewDescription, String previewThumbnailUrl) {
|
||||||
|
|
|
@ -24,52 +24,72 @@ public class AslNotificationManager implements NotificationManager {
|
||||||
public AslNotificationManager(ASLSession session) {
|
public AslNotificationManager(ASLSession session) {
|
||||||
this.session = session;
|
this.session = session;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean notifyFolderSharing(String userIdToNotify, WorkspaceFolder sharedFolder) {
|
public boolean notifyFolderSharing(String userIdToNotify, WorkspaceFolder sharedFolder) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean notifyFolderAddedUser(String userIdToNotify, WorkspaceFolder sharedFolder, String newAddedUserId) {
|
public boolean notifyFolderAddedUser(String userIdToNotify, WorkspaceFolder sharedFolder, String newAddedUserId) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean notifyFolderRemovedUser(String userIdToNotify, WorkspaceFolder sharedFolder, String removedUserId) {
|
public boolean notifyFolderRemovedUser(String userIdToNotify, WorkspaceFolder sharedFolder, String removedUserId) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean notifyAddedItem(String userIdToNotify, WorkspaceItem newItem) {
|
public boolean notifyAddedItem(String userIdToNotify, WorkspaceItem newItem) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean notifyRemovedItem(String userIdToNotify, WorkspaceItem removedItem) {
|
public boolean notifyRemovedItem(String userIdToNotify, WorkspaceItem removedItem) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean notifyUpdatedItem(String userIdToNotify, WorkspaceItem updatedItem) {
|
public boolean notifyUpdatedItem(String userIdToNotify, WorkspaceItem updatedItem) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean notifyMessageReceived(String userIdToNotify, WorkspaceMessage message) {
|
public boolean notifyMessageReceived(String userIdToNotify, WorkspaceMessage message) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean notifyOwnCommentReply(String userIdToNotify, Comment comment) {
|
public boolean notifyOwnCommentReply(String userIdToNotify, Comment comment) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean notifyCommentReply(String userIdToNotify, Comment comment) {
|
public boolean notifyCommentReply(String userIdToNotify, Comment comment) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean notifyLikedFeed(String userIdToNotify, Feed likedFeed) {
|
public boolean notifyLikedFeed(String userIdToNotify, Feed likedFeed) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue