com.liferay.portal.util.test
Class GroupTestUtil
java.lang.Object
com.liferay.portal.util.test.GroupTestUtil
public class GroupTestUtil
- extends Object
|
Method Summary |
static Group |
addGroup()
|
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,
String name,
String description)
|
static Group |
addGroup(long parentGroupId,
String name)
|
static Group |
addGroup(long parentGroupId,
String name,
String description)
|
static Group |
addGroup(String name)
|
static Group |
addGroup(String name,
long parentGroupId,
ServiceContext serviceContext)
|
static void |
enableLocalStaging(Group group)
|
static Group |
updateDisplaySettings(long groupId,
Locale[] availableLocales,
Locale defaultLocale)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupTestUtil
public GroupTestUtil()
addGroup
public static Group addGroup()
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,
String name,
String description)
throws Exception
- Throws:
Exception
addGroup
public static Group addGroup(long parentGroupId,
String name)
throws Exception
- Throws:
Exception
addGroup
public static Group addGroup(long parentGroupId,
String name,
String description)
throws Exception
- Throws:
Exception
addGroup
public static Group addGroup(String name)
throws Exception
- Throws:
Exception
addGroup
public static Group addGroup(String name,
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,
Locale[] availableLocales,
Locale defaultLocale)
throws Exception
- Throws:
Exception