Giancarlo Panichi 5 years ago
parent 07814af5eb
commit a743c5068e

@ -22,7 +22,7 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>

@ -1,6 +1,6 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error

@ -204,7 +204,7 @@
<scope>provided</scope>
</dependency>
<!-- Home Library -->
<!-- Home Library
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>home-library</artifactId>
@ -221,7 +221,7 @@
<groupId>org.gcube.common</groupId>
<artifactId>home-library-model</artifactId>
<scope>provided</scope>
</dependency>
</dependency> -->
<!-- Service Client -->
<dependency>

@ -1,14 +1,11 @@
package org.gcube.portlets.user.td.gwtservice.server.social;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager;
import org.gcube.applicationsupportlayer.social.NotificationsManager;
import org.gcube.applicationsupportlayer.social.shared.SocialNetworkingSite;
import org.gcube.applicationsupportlayer.social.shared.SocialNetworkingUser;
import org.gcube.common.homelibrary.util.WorkspaceUtil;
import org.gcube.portal.databook.shared.NotificationType;
import org.gcube.portlets.user.td.gwtservice.server.util.ServiceCredentials;
import org.gcube.portlets.user.td.gwtservice.shared.share.Contacts;
@ -122,7 +119,7 @@ public class TDMNotifications extends Thread {
for (Contacts contact : shareTabularResource.getContacts()) {
if (contact.isGroup()) {
try {
/*try {
List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin());
for (String member : members) {
try {
@ -143,7 +140,7 @@ public class TDMNotifications extends Thread {
logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): "
+ e.getLocalizedMessage());
e.printStackTrace();
}
}*/
} else {
try {
@ -169,7 +166,7 @@ public class TDMNotifications extends Thread {
for (Contacts contact : shareRule.getContacts()) {
if (contact.isGroup()) {
try {
/*try {
List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin());
for (String member : members) {
try {
@ -189,7 +186,7 @@ public class TDMNotifications extends Thread {
logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): "
+ e.getLocalizedMessage());
e.printStackTrace();
}
}*/
} else {
try {
@ -214,7 +211,7 @@ public class TDMNotifications extends Thread {
for (Contacts contact : shareTemplate.getContacts()) {
if (contact.isGroup()) {
/*
try {
List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin());
for (String member : members) {
@ -235,7 +232,7 @@ public class TDMNotifications extends Thread {
logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): "
+ e.getLocalizedMessage());
e.printStackTrace();
}
}*/
} else {
try {

Loading…
Cancel
Save