commented the methods of NotificationsProducer

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-sharing-widget@96137 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2014-05-27 15:34:34 +00:00
parent c26f757e76
commit 3ba896a024
1 changed files with 16 additions and 13 deletions

View File

@ -59,14 +59,13 @@ public class NotificationsProducer {
return aslSession; return aslSession;
} }
/** /**
* Runs a new thread to notify the contacts passed in input * Runs a new thread to notify the contacts passed in input
* @param listContacts * @param listContacts
* @param sharedFolder * @param sharedFolder
*/ */
public void notifyFolderSharing(final List<InfoContactModel> listContacts, final WorkspaceFolder sharedFolder) { public void notifyFolderSharing(final List<InfoContactModel> listContacts, final WorkspaceFolder sharedFolder) {
/*
new Thread(){ new Thread(){
@Override @Override
public void run() { public void run() {
@ -99,7 +98,7 @@ public class NotificationsProducer {
} }
}.start(); }.start();
*/
} }
@ -166,7 +165,7 @@ public class NotificationsProducer {
* @param sharedFolder * @param sharedFolder
*/ */
public void notifyItemRenamed(final List<InfoContactModel> listSharedContact, final String previousName, final WorkspaceItem item, final WorkspaceFolder sharedFolder) { public void notifyItemRenamed(final List<InfoContactModel> listSharedContact, final String previousName, final WorkspaceItem item, final WorkspaceFolder sharedFolder) {
/*
new Thread(){ new Thread(){
@Override @Override
public void run() { public void run() {
@ -199,7 +198,7 @@ public class NotificationsProducer {
logger.info("notifies shared item was updated is completed"); logger.info("notifies shared item was updated is completed");
} }
}.start(); }.start();
*/
} }
@ -302,7 +301,7 @@ public class NotificationsProducer {
* @param unSharedFolder * @param unSharedFolder
*/ */
public void notifyFolderUnSharing(final List<InfoContactModel> listContacts, final WorkspaceFolder unSharedFolder) { public void notifyFolderUnSharing(final List<InfoContactModel> listContacts, final WorkspaceFolder unSharedFolder) {
/*
new Thread() { new Thread() {
@Override @Override
@ -337,7 +336,7 @@ public class NotificationsProducer {
} }
}.start(); }.start();
*/
} }
@ -348,7 +347,7 @@ public class NotificationsProducer {
* @param workspaceItem * @param workspaceItem
*/ */
public void notifyAddedItemToSharing(final List<InfoContactModel> listContacts, final WorkspaceItem workspaceItem, final WorkspaceFolder sharedFolder) { public void notifyAddedItemToSharing(final List<InfoContactModel> listContacts, final WorkspaceItem workspaceItem, final WorkspaceFolder sharedFolder) {
/*
new Thread() { new Thread() {
@Override @Override
public void run() { public void run() {
@ -394,6 +393,8 @@ public class NotificationsProducer {
} }
}.start(); }.start();
*/
} }
@ -403,7 +404,7 @@ public class NotificationsProducer {
* @param workspaceItem * @param workspaceItem
*/ */
public void notifyUpdatedItemToSharing(final List<InfoContactModel> listContacts, final WorkspaceItem workspaceItem, final WorkspaceFolder sharedFolder) { public void notifyUpdatedItemToSharing(final List<InfoContactModel> listContacts, final WorkspaceItem workspaceItem, final WorkspaceFolder sharedFolder) {
/*
new Thread() { new Thread() {
@Override @Override
public void run() { public void run() {
@ -449,6 +450,8 @@ public class NotificationsProducer {
} }
}.start(); }.start();
*/
} }
@ -462,7 +465,7 @@ public class NotificationsProducer {
*/ */
public void notifyMovedItemToSharing(final List<InfoContactModel> listContacts, final WorkspaceItem workspaceItem, final WorkspaceFolder sharedFolder) { public void notifyMovedItemToSharing(final List<InfoContactModel> listContacts, final WorkspaceItem workspaceItem, final WorkspaceFolder sharedFolder) {
/*
new Thread() { new Thread() {
@Override @Override
public void run() { public void run() {
@ -521,7 +524,7 @@ public class NotificationsProducer {
}.start(); }.start();
*/
} }
@ -531,7 +534,7 @@ public class NotificationsProducer {
* @param sharedFolder * @param sharedFolder
*/ */
public void notifyRemovedItemToSharing(final List<InfoContactModel> listContacts, final String itemName, final WorkspaceFolder sharedFolder) { public void notifyRemovedItemToSharing(final List<InfoContactModel> listContacts, final String itemName, final WorkspaceFolder sharedFolder) {
/*
new Thread() { new Thread() {
@Override @Override
@ -591,7 +594,7 @@ public class NotificationsProducer {
}.start(); }.start();
*/
} }