Liferay 7.0-ce-b4

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

java.lang.Object
  extended by com.liferay.portal.kernel.test.util.GroupTestUtil

public class GroupTestUtil
extends Object


Constructor Summary
GroupTestUtil()
           
 
Method Summary
static Group addGroup()
           
static Group addGroup(long parentGroupId)
           
static Group addGroup(long userId, Layout layout)
           
static Group addGroup(long userId, long parentGroupId, Layout layout)
           
static Group addGroup(long companyId, long userId, long parentGroupId)
           
static Group addGroup(long parentGroupId, ServiceContext serviceContext)
           
static void enableLocalStaging(Group group)
           
static 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 Detail

GroupTestUtil

public GroupTestUtil()
Method Detail

addGroup

public static Group addGroup()
                      throws Exception
Throws:
Exception

addGroup

public static Group addGroup(long parentGroupId)
                      throws Exception
Throws:
Exception

addGroup

public static Group addGroup(long userId,
                             Layout layout)
                      throws Exception
Throws:
Exception

addGroup

public static Group addGroup(long userId,
                             long parentGroupId,
                             Layout layout)
                      throws Exception
Throws:
Exception

addGroup

public static Group addGroup(long companyId,
                             long userId,
                             long parentGroupId)
                      throws Exception
Throws:
Exception

addGroup

public static Group addGroup(long parentGroupId,
                             ServiceContext serviceContext)
                      throws Exception
Throws:
Exception

enableLocalStaging

public static void enableLocalStaging(Group group)
                               throws Exception
Throws:
Exception

updateDisplaySettings

public static Group updateDisplaySettings(long groupId,
                                          Collection<Locale> availableLocales,
                                          Locale defaultLocale)
                                   throws Exception
Throws:
Exception

Liferay 7.0-ce-b4