com.liferay.portal.kernel.test.util
Class GroupTestUtil
java.lang.Object
com.liferay.portal.kernel.test.util.GroupTestUtil
public class GroupTestUtil
- extends Object
|
Method Summary |
static com.liferay.portal.kernel.model.Group |
addGroup()
|
static com.liferay.portal.kernel.model.Group |
addGroup(long parentGroupId)
|
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 userId,
long parentGroupId,
com.liferay.portal.kernel.model.Layout layout)
|
static com.liferay.portal.kernel.model.Group |
addGroup(long companyId,
long userId,
long parentGroupId)
|
static com.liferay.portal.kernel.model.Group |
addGroup(long parentGroupId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
static void |
enableLocalStaging(com.liferay.portal.kernel.model.Group group)
|
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 |
GroupTestUtil
public GroupTestUtil()
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 parentGroupId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws Exception
- Throws:
Exception
enableLocalStaging
public static void enableLocalStaging(com.liferay.portal.kernel.model.Group group)
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