public class LoginServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements NewLoginService
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHED_VOS |
String |
SELECTED_THEMEID |
| Constructor and Description |
|---|
LoginServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMembershipRequest(String scope,
String optionalMessage)
addMembershipRequest
|
HashMap<String,ArrayList<CheckResult>> |
checkInfrastructure(String infrastructure,
String startScopes) |
Boolean |
checkVresPresence(String infrastructure,
String startScopes)
check if the vo scope contain VREs
|
String[] |
getInfrastructureConfig()
return the infrastructure name in [0], the scopes in [1]
|
ArrayList<VO> |
getInfrastructureVOs()
first method called by the UI
|
VO |
getRootVO()
return the root org
|
ResearchEnvironment |
getSelectedRE()
return the current selected VRE
|
ArrayList<VO> |
getVresFromInfrastructure(String infrastructure,
String startScopes) |
Boolean |
installPortalEnv(String infrastructure,
String startScopes,
SelectedTheme theme,
boolean automaticRedirect)
this method start the portal installation
|
Boolean |
installVREs(ArrayList<VO> parents)
install the VREs chosen by the end user
|
Boolean |
isLayoutLoaded()
the first method to call
|
void |
loadLayout(String scope,
String URL) |
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String CACHED_VOS
public String SELECTED_THEMEID
public ArrayList<VO> getInfrastructureVOs()
getInfrastructureVOs in interface NewLoginServicepublic void addMembershipRequest(String scope, String optionalMessage)
addMembershipRequest in interface NewLoginServicepublic String[] getInfrastructureConfig()
getInfrastructureConfig in interface NewLoginServicepublic VO getRootVO()
getRootVO in interface NewLoginServicepublic ResearchEnvironment getSelectedRE()
getSelectedRE in interface NewLoginServicepublic Boolean installPortalEnv(String infrastructure, String startScopes, SelectedTheme theme, boolean automaticRedirect)
installPortalEnv in interface NewLoginServiceinfrastructure - the name of the infrastructurestartScopes - the name of the starting scopes, comma separatedpublic Boolean isLayoutLoaded()
isLayoutLoaded in interface NewLoginServicepublic void loadLayout(String scope, String URL)
loadLayout in interface NewLoginServicescope - public HashMap<String,ArrayList<CheckResult>> checkInfrastructure(String infrastructure, String startScopes)
checkInfrastructure in interface NewLoginServiceinfrastructure - the infrastructure name as in GHNConfig.xmlstartScopes - the starting scopes as in GHNConfig.xmlpublic Boolean checkVresPresence(String infrastructure, String startScopes)
checkVresPresence in interface NewLoginServicepublic ArrayList<VO> getVresFromInfrastructure(String infrastructure, String startScopes)
getVresFromInfrastructure in interface NewLoginServiceinfrastructure - the infrastructure namestartScopes - the starting scopespublic Boolean installVREs(ArrayList<VO> parents)
installVREs in interface NewLoginServiceCopyright © 2016. All Rights Reserved.