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>
</dependency>
<dependency>
<groupId>org.gcube.dvos</groupId>
<artifactId>usermanagement-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gcube.portlets.user</groupId>
<artifactId>gcube-widgets</artifactId>

View File

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

View File

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