changed logs
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@182168 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
913cfdc407
commit
79aa6ab336
|
@ -70,7 +70,7 @@ public class NotificationStorageHubUtil {
|
||||||
logger.trace("The notifies sent correctly");
|
logger.trace("The notifies sent correctly");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
logger.warn("Notifies added item: "+workspaceItem+ "to share doesn't sent because "+destinationSharedFolder+" is not istance of WorkspaceSharedFolder");
|
logger.warn("Notifies added item: "+workspaceItem+ "to share doesn't sent because "+destinationSharedFolder+" is not a folder and shared");
|
||||||
// np.notifyAddedItemToSharing(listContacts, (WorkspaceFolder) folderDestinationItem);
|
// np.notifyAddedItemToSharing(listContacts, (WorkspaceFolder) folderDestinationItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,7 @@ public class NotificationStorageHubUtil {
|
||||||
np.notifyMovedItemToSharing(workspace, listContacts, sourceItem, (WorkspaceFolder) sourceRootSharedFolder);
|
np.notifyMovedItemToSharing(workspace, listContacts, sourceItem, (WorkspaceFolder) sourceRootSharedFolder);
|
||||||
logger.trace("The notifies was sent correctly");
|
logger.trace("The notifies was sent correctly");
|
||||||
}else
|
}else
|
||||||
logger.warn("Notifies moved item: "+sourceItem+ "from share doesn't sent because "+sourceRootSharedFolder+" is not istance of WorkspaceSharedFolder");
|
logger.warn("Notifies moved item: "+sourceItem+ "from share doesn't sent because "+sourceRootSharedFolder+" is not a folder and shared");
|
||||||
}
|
}
|
||||||
|
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
|
@ -221,7 +221,7 @@ public class NotificationStorageHubUtil {
|
||||||
//Notify Removed Item To Sharing?
|
//Notify Removed Item To Sharing?
|
||||||
if(!isRootFolderShared){
|
if(!isRootFolderShared){
|
||||||
//if(isFolderAndShared(sourceSharedFolder)){
|
//if(isFolderAndShared(sourceSharedFolder)){
|
||||||
np.notifyRemovedItemToSharing(listContacts, oldItemName, (org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceSharedFolder) sourceSharedFolder);
|
np.notifyRemovedItemToSharing(listContacts, oldItemName, (org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceFolder) sourceSharedFolder);
|
||||||
logger.debug("Notification was sent correctly");
|
logger.debug("Notification was sent correctly");
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
|
|
Loading…
Reference in New Issue