Class GCubeSiteManagerImpl


  • public class GCubeSiteManagerImpl
    extends SiteManagerUtil
    Author:
    Massimiliano Assante, massimiliano.assante@isti.cnr.it
    • Constructor Detail

      • GCubeSiteManagerImpl

        public GCubeSiteManagerImpl()
    • Method Detail

      • createVO

        public static long createVO​(String username,
                                    String voName,
                                    String voDesc,
                                    long parentid,
                                    GCUBESiteLayout siteLayout,
                                    String themeid)
        Parameters:
        rootVoName - the voName
        voDesc - -
        Returns:
        the organizationid of the created VO
      • createRootVO

        public static long createRootVO​(String username,
                                        String voName,
                                        String voDesc,
                                        GCUBESiteLayout siteLayout,
                                        String themeid)
        create a VO with no parent (root VO)
        Parameters:
        voName - the voName
        voDesc - -
        Returns:
        the id of the created VO
      • createVRE

        public static long createVRE​(String username,
                                     String vreName,
                                     String voDesc,
                                     long parentid,
                                     GCUBESiteLayout siteLayout,
                                     String themeid)
        Parameters:
        rootVoName - the voName
        voDesc - -
        Returns:
        the organizationid of the created VO
      • getBaseLayout

        public static GCUBESiteLayout getBaseLayout​(String voName,
                                                    boolean isVO,
                                                    String username)
                                             throws com.liferay.portal.kernel.exception.PortalException,
                                                    com.liferay.portal.kernel.exception.SystemException
        Returns:
        the built layout of a rootVO
        Throws:
        com.liferay.portal.kernel.exception.SystemException - .
        com.liferay.portal.kernel.exception.PortalException - .