public class OrganizationManagerImpl extends OrganizationsUtil implements OrganizationManager
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ORGANIZATION_DEFAULT_LOGO
FIXME public as generic resource
|
DEFAULT_COMPANY_WEB_ID, ROOT_ORG| Modifier and Type | Method and Description |
|---|---|
long |
createVO(String voName,
String voDesc,
GCUBESiteLayout siteLayout,
String themeid)
create a VO with no parent (root VO)
|
long |
createVO(String voName,
String voDesc,
long parentid,
GCUBESiteLayout siteLayout,
String themeid) |
long |
createVRE(String voName,
String voDesc,
long parentid,
GCUBESiteLayout siteLayout,
String themeid) |
static OrganizationManagerImpl |
get() |
static GCUBESiteLayout |
getBaseLayout(String voName,
OrganizationManagerImpl orgManager,
boolean isVO,
String username) |
static OrganizationManagerImpl |
getInstance(org.gcube.application.framework.core.session.ASLSession session) |
addManagerRole, addManagerRole, addUserToGroup, createLayout, createRole, getCompany, getDefaultCompanyWebId, getDefaultPortlets, getgCubeThemeId, getRootOrganizationName, getTomcatFolder, getVREBelongingPortlets, validateUserprotected static final String ORGANIZATION_DEFAULT_LOGO
public static OrganizationManagerImpl get()
public static OrganizationManagerImpl getInstance(org.gcube.application.framework.core.session.ASLSession session)
session - the sessionpublic long createVO(String voName, String voDesc, long parentid, GCUBESiteLayout siteLayout, String themeid)
createVO in interface OrganizationManagerrootVoName - the voNamevoDesc - -public long createVO(String voName, String voDesc, GCUBESiteLayout siteLayout, String themeid)
createVO in interface OrganizationManagervoName - the voNamevoDesc - -public long createVRE(String voName, String voDesc, long parentid, GCUBESiteLayout siteLayout, String themeid)
createVRE in interface OrganizationManagerrootVoName - the voNamevoDesc - -public static GCUBESiteLayout getBaseLayout(String voName, OrganizationManagerImpl orgManager, boolean isVO, String username) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException - .com.liferay.portal.kernel.exception.PortalException - .Copyright © 2015. All Rights Reserved.