public class SetupFragments extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
setupFragments(List<eu.lundegaard.liferay.db.setup.domain.FragmentCollection> fragmentCollections,
long userId,
long groupId,
long companyId)
Sets up the fragments based on the list of
FragmentCollection objects
provided. |
public static void setupFragments(List<eu.lundegaard.liferay.db.setup.domain.FragmentCollection> fragmentCollections, long userId, long groupId, long companyId)
FragmentCollection objects
provided. The setup action for each fragment collection can be set as CREATE,
UPDATE, or DELETE, and the appropriate action is taken.fragmentCollections - The list of FragmentCollection objects.userId - The ID of the user who created the collection.groupId - The ID of the group to which the collection belongs.companyId - The ID of the company.IllegalArgumentException - if the setup action is set to anything other
than CREATE, UPDATE, or DELETE.Copyright © 2016–2023 Lundegaard a.s.. All rights reserved.