CommunityManager (Custom Portal Handler 1.3.0-SNAPSHOT API)
Date: 2014-02-27

org.gcube.portal.custom.communitymanager

## Interface CommunityManager

- All Known Implementing Classes:
    CommunityManagerImpl

      public interface CommunityManager

  Version:
    1.0 - Jan 4 2012
  Author:
    Massimiliano Assante, massimiliano.assante@isti.cnr.it

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `createCommunity(String communityName, String communityDesc, long parentID)`
    `long` | `createCommunity(String usernameCreator, String communityName, String communityDesc, GCUBESiteLayout siteLayout, long parentID)`
    `List<com.liferay.portal.model.Portlet>` | `getGCubePortlets(String communityName)`

- - ### Method Detail

    - #### createCommunity

          long createCommunity(String communityName,
                             String communityDesc,
                             long parentID)

      Parameters:
        `communityName` - .
        `communityDesc` - .
        `parentID` - .
      Returns:
        the newly created CommunityID

    - #### createCommunity

          long createCommunity(String usernameCreator,
                             String communityName,
                             String communityDesc,
                             GCUBESiteLayout siteLayout,
                             long parentID)

      Parameters:
        `usernameCreator` - .
        `communityName` - .
        `communityDesc` - .
        `siteLayout` - .
        `parentID` - -
      Returns:
        the newly created CommunityID

    - #### getGCubePortlets

          List<com.liferay.portal.model.Portlet> getGCubePortlets(String communityName)

      Parameters:
        `communityName` - -
      Returns:
        list of belonging portlet

Copyright © 2014. All Rights Reserved.