public class GroupTestUtil
extends Object
Constructor and Description |
---|
GroupTestUtil() |
Modifier and Type | Method and Description |
---|---|
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 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 |
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) |
public static com.liferay.portal.kernel.model.Group addGroup() throws Exception
Exception
public static com.liferay.portal.kernel.model.Group addGroup(long parentGroupId) throws Exception
Exception
public static com.liferay.portal.kernel.model.Group addGroup(long userId, com.liferay.portal.kernel.model.Layout layout) throws Exception
Exception
public static com.liferay.portal.kernel.model.Group addGroup(long userId, long parentGroupId, com.liferay.portal.kernel.model.Layout layout) throws Exception
Exception
public static com.liferay.portal.kernel.model.Group addGroup(long companyId, long userId, long parentGroupId) throws Exception
Exception
public static com.liferay.portal.kernel.model.Group addGroup(long parentGroupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
Exception
public static com.liferay.portal.kernel.model.Group addGroup(long parentGroupId, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
Exception
public static com.liferay.portal.kernel.model.Group deleteGroup(com.liferay.portal.kernel.model.Group group) throws Exception
Exception
public static void enableLocalStaging(com.liferay.portal.kernel.model.Group group) throws Exception
Exception
public static void enableLocalStaging(com.liferay.portal.kernel.model.Group group, long userId) throws Exception
Exception
public static com.liferay.portal.kernel.model.Group updateDisplaySettings(long groupId, Collection<Locale> availableLocales, Locale defaultLocale) throws Exception
Exception