package org.gcube.portal.custom.communitymanager; import org.gcube.portal.custom.communitymanager.components.GCUBESiteLayout; /** * * @author Massimiliano Assante, massimiliano.assante@isti.cnr.it * @version 1.0 - Jan 4 2012 * */ public interface OrganizationManager { /** * * @param rootVoName the voName * @param voDesc - * @return the id of the created VO */ long createVO(String rootVoName, String voDesc, GCUBESiteLayout siteLayout, String themeid); /** * * @param voName the voName * @param voDesc - * @return the id of the created VO */ long createVO(String voName, String voDesc, long parentID, GCUBESiteLayout siteLayout, String themeid); /** * * @param rootVoName the voName * @param voDesc - * @return the organizationid of the created VO */ long createVRE(String voName, String voDesc, long parentid, GCUBESiteLayout siteLayout, String themeid); }