org.gcube.portlets.user.joinnew.server
Class LoginServiceUtil

java.lang.Object
  extended by org.gcube.portlets.user.joinnew.server.LoginServiceUtil

public class LoginServiceUtil
extends Object

Version:
2.0 Jan 10th 2012
Author:
Massimiliano Assante ISTI-CNR

Field Summary
static String GUEST_COMMUNITY_NAME
           
static String PUBLIC_LAYOUT_NAME
           
static String ROOT_ORG
           
 
Constructor Summary
LoginServiceUtil()
           
 
Method Summary
static void addMembershipRequest(String username, VO rootVO, String scope, String optionalMessage, String portalbasicurl, String gatewayName)
           
protected static boolean checkPending(String screenName, long organizationId)
           
protected static ArrayList<String> getAdministratorsEmails(String scope)
           
protected static ArrayList<VO> getFakeVOs()
          simply returns fake VOS for debugging purpose
protected static String getRootOrganizationName()
          read the root VO name from a property file and retuns it
protected static ArrayList<VRE> getVREsFromInfrastructure(String scopename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_ORG

public static final String ROOT_ORG
See Also:
Constant Field Values

PUBLIC_LAYOUT_NAME

public static final String PUBLIC_LAYOUT_NAME
See Also:
Constant Field Values

GUEST_COMMUNITY_NAME

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

LoginServiceUtil

public LoginServiceUtil()
Method Detail

checkPending

protected static boolean checkPending(String screenName,
                                      long organizationId)
Parameters:
screenName -
organizatioId -
Returns:

getRootOrganizationName

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


getFakeVOs

protected static ArrayList<VO> getFakeVOs()
simply returns fake VOS for debugging purpose

Returns:

getAdministratorsEmails

protected static ArrayList<String> getAdministratorsEmails(String scope)

addMembershipRequest

public static void addMembershipRequest(String username,
                                        VO rootVO,
                                        String scope,
                                        String optionalMessage,
                                        String portalbasicurl,
                                        String gatewayName)
Parameters:
scope - .
optionalMessage - .

getVREsFromInfrastructure

protected static ArrayList<VRE> getVREsFromInfrastructure(String scopename)
Parameters:
scopename - a string
Returns:
an arraylist of VRE with just name and description filled


Copyright © 2013. All Rights Reserved.