org.gcube.portlets.user.results.server.servlet
Class NewresultsetServiceUtil

java.lang.Object
  extended by org.gcube.portlets.user.results.server.servlet.NewresultsetServiceUtil

public class NewresultsetServiceUtil
extends Object


Constructor Summary
NewresultsetServiceUtil()
           
 
Method Summary
protected static TreeNode fillWorkspaceTree(org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder folder)
           
protected static List<BasketModelItem> getBasketContent(NewresultsetServiceImpl caller, String basketId)
          Return a List given a basketid it uses the hobe library and store the read basket in the session
static org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder getBasketInstance(NewresultsetServiceImpl caller, String basketId)
          Return an instance of the Baslet given a basketid
protected static String getDisplayableQuery(QueryDescriptor qd)
          Constructs a String representation of the query given a QueryDescriptor
protected static boolean saveBasket(NewresultsetServiceImpl caller)
          Calls the home library to save the current basket in session permanently *
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewresultsetServiceUtil

public NewresultsetServiceUtil()
Method Detail

getBasketContent

protected static List<BasketModelItem> getBasketContent(NewresultsetServiceImpl caller,
                                                        String basketId)
Return a List given a basketid it uses the hobe library and store the read basket in the session


saveBasket

protected static boolean saveBasket(NewresultsetServiceImpl caller)
Calls the home library to save the current basket in session permanently *


getBasketInstance

public static org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder getBasketInstance(NewresultsetServiceImpl caller,
                                                                                                   String basketId)
Return an instance of the Baslet given a basketid

Parameters:
basketId -
Returns:

fillWorkspaceTree

protected static TreeNode fillWorkspaceTree(org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder folder)
                                     throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
Parameters:
folder -
Returns:
Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException

getDisplayableQuery

protected static String getDisplayableQuery(QueryDescriptor qd)
Constructs a String representation of the query given a QueryDescriptor

Parameters:
qd - the QueryDescriptor
Returns:
a String representation of the query


Copyright © 2013. All Rights Reserved.