Added basic constructor for PortalContextInfo

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@134836 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-11-25 15:30:38 +00:00
parent 181965e694
commit 27d24dffaf
3 changed files with 7 additions and 18 deletions

View File

@ -116,12 +116,6 @@
<artifactId>common-encryption</artifactId> <artifactId>common-encryption</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.gcube.dvos</groupId>
<artifactId>usermanagement-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>org.gcube.portlets.user</groupId> <groupId>org.gcube.portlets.user</groupId>
<artifactId>gcube-widgets</artifactId> <artifactId>gcube-widgets</artifactId>

View File

@ -28,6 +28,13 @@ public class PortalContextInfo implements Serializable{
private long currGroupId; private long currGroupId;
/**
*
*/
public PortalContextInfo() {
}
/** /**
* Instantiates a new portal context info. * Instantiates a new portal context info.
* *
@ -52,8 +59,6 @@ public class PortalContextInfo implements Serializable{
} }
/** /**
* @return the username * @return the username
*/ */
@ -62,8 +67,6 @@ public class PortalContextInfo implements Serializable{
return username; return username;
} }
/** /**
* @return the userFullName * @return the userFullName
*/ */

View File

@ -144,8 +144,6 @@ public class WsUtil {
Workspace workspace = HomeLibrary.getUserWorkspace(info.getUsername()); Workspace workspace = HomeLibrary.getUserWorkspace(info.getUsername());
return workspace; return workspace;
} }
@ -244,10 +242,7 @@ public class WsUtil {
notifProducer = new NotificationsProducer(httpServletRequest); notifProducer = new NotificationsProducer(httpServletRequest);
session.setAttribute(NOTIFICATION_PRODUCER, notifProducer); session.setAttribute(NOTIFICATION_PRODUCER, notifProducer);
} }
return notifProducer; return notifProducer;
//return new NotificationsProducer(session, request);
} }
@ -263,8 +258,6 @@ public class WsUtil {
return info.getUsername(); return info.getUsername();
} }
/** /**
* Checks if is vre. * Checks if is vre.
* *
@ -285,7 +278,6 @@ public class WsUtil {
} }
/** /**
* Gets the scope util filter. * Gets the scope util filter.
* *