org.gcube.portlets.user.workspaceapplicationhandler
Class WorkspaceOpenApplicationHandler

java.lang.Object
  extended by org.gcube.portlets.user.workspaceapplicationhandler.WorkspaceOpenApplicationHandler

public class WorkspaceOpenApplicationHandler
extends Object

Author:
Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it

Field Summary
static org.apache.log4j.Logger logger
           
 
Method Summary
 void addOpenObjectHandler(String objectType, String scope, String applicationUrl)
           
static WorkspaceOpenApplicationHandler getInstance()
           
 ApplicationEndPoint getUrlApplicationEndPoint(String objectType, String scope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static org.apache.log4j.Logger logger
Method Detail

getInstance

public static WorkspaceOpenApplicationHandler getInstance()

addOpenObjectHandler

public void addOpenObjectHandler(String objectType,
                                 String scope,
                                 String applicationUrl)
                          throws PropertyNotFoundException
Parameters:
objectType - - the object type to manage
scope - - the scope where the object is defined
applicationUrl - - the relative (portal) url to redirect
Throws:
PropertyNotFoundException

getUrlApplicationEndPoint

public ApplicationEndPoint getUrlApplicationEndPoint(String objectType,
                                                     String scope)
                                              throws PropertyNotFoundException,
                                                     ObjectTypeNotFoundException,
                                                     ApplicationEndPointFoundException
Throws:
PropertyNotFoundException
ObjectTypeNotFoundException
ApplicationEndPointFoundException


Copyright © 2014. All Rights Reserved.