Class GroupTestUtil
Object
com.liferay.portal.kernel.test.util.GroupTestUtil
- Author:
- Manuel de la Peña
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 companyId, long userId, long parentGroupId) static com.liferay.portal.kernel.model.Group
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)
-
Constructor Details
-
GroupTestUtil
public GroupTestUtil()
-
-
Method Details
-
addGroup
- Throws:
Exception
-
addGroup
- 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
- 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
-