org.gcube.portal.custom.scopemanager.scopehelper
Class ScopeHelper

java.lang.Object
  extended by org.gcube.portal.custom.scopemanager.scopehelper.ScopeHelper

public class ScopeHelper
extends Object


Field Summary
static String CURR_ORG
           
static String MAIL
           
static String ROOT_ORG
           
static String USER_AVATAR_ID_ATTRIBUTE
           
static String USER_EMAIL_ATTRIBUTE
           
static String USER_FULL_NAME_ATTRIBUTE
           
static String USER_GENDER_ATTRIBUTE
           
static String USERNAME_ATTRIBUTE
           
 
Constructor Summary
ScopeHelper()
           
 
Method Summary
static String getRootConfigFromGCore()
          return the infrastructure name
static String getSupportMainlingListAddr()
          read the root VO name from a property file and retuns it
static void setContext(javax.portlet.RenderRequest request)
           
static void setContext(javax.portlet.RenderRequest request, String username_attr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USERNAME_ATTRIBUTE

public static final String USERNAME_ATTRIBUTE
See Also:
Constant Field Values

USER_FULL_NAME_ATTRIBUTE

public static final String USER_FULL_NAME_ATTRIBUTE
See Also:
Constant Field Values

USER_EMAIL_ATTRIBUTE

public static final String USER_EMAIL_ATTRIBUTE
See Also:
Constant Field Values

USER_AVATAR_ID_ATTRIBUTE

public static final String USER_AVATAR_ID_ATTRIBUTE
See Also:
Constant Field Values

USER_GENDER_ATTRIBUTE

public static final String USER_GENDER_ATTRIBUTE
See Also:
Constant Field Values

ROOT_ORG

public static final String ROOT_ORG
See Also:
Constant Field Values

CURR_ORG

public static final String CURR_ORG
See Also:
Constant Field Values

MAIL

public static final String MAIL
See Also:
Constant Field Values
Constructor Detail

ScopeHelper

public ScopeHelper()
Method Detail

setContext

public static void setContext(javax.portlet.RenderRequest request)

setContext

public static void setContext(javax.portlet.RenderRequest request,
                              String username_attr)
Parameters:
session - the session

getSupportMainlingListAddr

public static String getSupportMainlingListAddr()
read the root VO name from a property file and retuns it


getRootConfigFromGCore

public static String getRootConfigFromGCore()
return the infrastructure name



Copyright © 2013. All Rights Reserved.