Massimiliano Assante 2012-12-07 17:02:20 +00:00
parent c894286954
commit 560c63f94a
2 changed files with 32 additions and 25 deletions

View File

@ -25,27 +25,14 @@ public class AslNewsManager implements NewsManager {
}
/**
* use to share an update from your application
*
* @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
* {@inheritDoc}
*/
@Override
public boolean shareApplicationUpdate(Class<?> applicationClass, String description, String uri) {
return true;
}
/**
* use to share an update from your application with a link preview
*
* @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
* {@inheritDoc}
*/
@Override
public boolean shareApplicationUpdate(Class<?> applicationClass, String description, String uri, String previewTitle, String previewDescription, String previewThumbnailUrl) {

View File

@ -24,52 +24,72 @@ public class AslNotificationManager implements NotificationManager {
public AslNotificationManager(ASLSession session) {
this.session = session;
}
/**
* {@inheritDoc}
*/
@Override
public boolean notifyFolderSharing(String userIdToNotify, WorkspaceFolder sharedFolder) {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean notifyFolderAddedUser(String userIdToNotify, WorkspaceFolder sharedFolder, String newAddedUserId) {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean notifyFolderRemovedUser(String userIdToNotify, WorkspaceFolder sharedFolder, String removedUserId) {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean notifyAddedItem(String userIdToNotify, WorkspaceItem newItem) {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean notifyRemovedItem(String userIdToNotify, WorkspaceItem removedItem) {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean notifyUpdatedItem(String userIdToNotify, WorkspaceItem updatedItem) {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean notifyMessageReceived(String userIdToNotify, WorkspaceMessage message) {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean notifyOwnCommentReply(String userIdToNotify, Comment comment) {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean notifyCommentReply(String userIdToNotify, Comment comment) {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean notifyLikedFeed(String userIdToNotify, Feed likedFeed) {
return true;