Class GroupTestUtil

Object
com.liferay.portal.kernel.test.util.GroupTestUtil

public class GroupTestUtil extends Object
Author:
Manuel de la Peña
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.liferay.portal.kernel.model.Group
     
    static com.liferay.portal.kernel.model.Group
    addGroup(long parentGroupId)
     
    static com.liferay.portal.kernel.model.Group
    addGroup(long companyId, long userId, long parentGroupId)
     
    static com.liferay.portal.kernel.model.Group
    addGroup(long companyId, long userId, long parentGroupId, String groupKey)
     
    static com.liferay.portal.kernel.model.Group
    addGroup(long userId, long parentGroupId, com.liferay.portal.kernel.model.Layout layout)
     
    static com.liferay.portal.kernel.model.Group
    addGroup(long userId, com.liferay.portal.kernel.model.Layout layout)
     
    static com.liferay.portal.kernel.model.Group
    addGroup(long parentGroupId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.portal.kernel.model.Group
    addGroup(long parentGroupId, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.portal.kernel.model.Group
    addGroupToCompany(long companyId)
     
    static com.liferay.portal.kernel.model.Group
    addGroupToCompany(long companyId, long parentGroupId)
     
    static void
    addLayoutSetVirtualHost(com.liferay.portal.kernel.model.Group group, boolean privateLayout)
     
    static void
    addLayoutSetVirtualHosts(com.liferay.portal.kernel.model.Group group)
     
    static com.liferay.portal.kernel.model.Group
    deleteGroup(com.liferay.portal.kernel.model.Group group)
     
    static void
    enableLocalStaging(com.liferay.portal.kernel.model.Group group)
     
    static void
    enableLocalStaging(com.liferay.portal.kernel.model.Group group, long userId)
     
    static com.liferay.portal.kernel.model.Group
    updateDisplaySettings(long groupId, Collection<Locale> availableLocales, Locale defaultLocale)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GroupTestUtil

      public GroupTestUtil()
  • Method Details

    • addGroup

      public static com.liferay.portal.kernel.model.Group addGroup() throws Exception
      Throws:
      Exception
    • addGroup

      public static com.liferay.portal.kernel.model.Group addGroup(long parentGroupId) throws Exception
      Throws:
      Exception
    • addGroup

      public static com.liferay.portal.kernel.model.Group addGroup(long userId, com.liferay.portal.kernel.model.Layout layout) throws Exception
      Throws:
      Exception
    • addGroup

      public static com.liferay.portal.kernel.model.Group addGroup(long userId, long parentGroupId, com.liferay.portal.kernel.model.Layout layout) throws Exception
      Throws:
      Exception
    • addGroup

      public static com.liferay.portal.kernel.model.Group addGroup(long companyId, long userId, long parentGroupId) throws Exception
      Throws:
      Exception
    • addGroup

      public static com.liferay.portal.kernel.model.Group addGroup(long companyId, long userId, long parentGroupId, String groupKey) throws Exception
      Throws:
      Exception
    • addGroup

      public static com.liferay.portal.kernel.model.Group addGroup(long parentGroupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
      Throws:
      Exception
    • addGroup

      public static com.liferay.portal.kernel.model.Group addGroup(long parentGroupId, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
      Throws:
      Exception
    • addGroupToCompany

      public static com.liferay.portal.kernel.model.Group addGroupToCompany(long companyId) throws Exception
      Throws:
      Exception
    • addGroupToCompany

      public static com.liferay.portal.kernel.model.Group addGroupToCompany(long companyId, long parentGroupId) throws Exception
      Throws:
      Exception
    • addLayoutSetVirtualHost

      public static void addLayoutSetVirtualHost(com.liferay.portal.kernel.model.Group group, boolean privateLayout) throws Exception
      Throws:
      Exception
    • addLayoutSetVirtualHosts

      public static void addLayoutSetVirtualHosts(com.liferay.portal.kernel.model.Group group) throws Exception
      Throws:
      Exception
    • deleteGroup

      public static com.liferay.portal.kernel.model.Group deleteGroup(com.liferay.portal.kernel.model.Group group) throws Exception
      Throws:
      Exception
    • enableLocalStaging

      public static void enableLocalStaging(com.liferay.portal.kernel.model.Group group) throws Exception
      Throws:
      Exception
    • enableLocalStaging

      public static void enableLocalStaging(com.liferay.portal.kernel.model.Group group, long userId) throws Exception
      Throws:
      Exception
    • updateDisplaySettings

      public static com.liferay.portal.kernel.model.Group updateDisplaySettings(long groupId, Collection<Locale> availableLocales, Locale defaultLocale) throws Exception
      Throws:
      Exception