public class LoginServiceUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GUEST_COMMUNITY_NAME |
static String |
PUBLIC_LAYOUT_NAME |
static String |
ROOT_ORG |
Constructor and Description |
---|
LoginServiceUtil() |
Modifier and Type | Method and Description |
---|---|
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) |
protected static Boolean |
isEnabled(String username,
com.liferay.portal.model.Organization currOrg,
String attrToCheck) |
static void |
notifyUserAcceptedInvite(String username,
VO rootVO,
String scope,
String portalbasicurl,
String gatewayName,
org.gcube.portal.databook.shared.Invite invite) |
static void |
notifyUserSelfRegistration(String username,
VO rootVO,
String scope,
String portalbasicurl,
String gatewayName) |
protected static void |
setOrgCustomAttribute(String username,
com.liferay.portal.model.Organization currOrg,
String attribute2Set) |
public static final String ROOT_ORG
public static final String PUBLIC_LAYOUT_NAME
public static final String GUEST_COMMUNITY_NAME
protected static boolean checkPending(String screenName, long organizationId)
screenName
- organizatioId
- protected static String getRootOrganizationName()
protected static ArrayList<VO> getFakeVOs()
public static void addMembershipRequest(String username, VO rootVO, String scope, String optionalMessage, String portalbasicurl, String gatewayName)
scope
- .optionalMessage
- .public static void notifyUserSelfRegistration(String username, VO rootVO, String scope, String portalbasicurl, String gatewayName)
scope
- .optionalMessage
- .public static void notifyUserAcceptedInvite(String username, VO rootVO, String scope, String portalbasicurl, String gatewayName, org.gcube.portal.databook.shared.Invite invite)
scope
- .optionalMessage
- .protected static ArrayList<VRE> getVREsFromInfrastructure(String scopename)
scopename
- a stringprotected static Boolean isEnabled(String username, com.liferay.portal.model.Organization currOrg, String attrToCheck)
Copyright © 2015. All Rights Reserved.