All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.fragment.contributor.FragmentCollectionContributorRegistry Maven / Gradle / Ivy

There is a newer version: 50.0.0
Show newest version
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.fragment.contributor;

import com.liferay.fragment.model.FragmentComposition;
import com.liferay.fragment.model.FragmentEntry;
import com.liferay.portal.kernel.resource.bundle.ResourceBundleLoader;

import java.util.List;
import java.util.Locale;
import java.util.Map;

import org.osgi.annotation.versioning.ProviderType;

/**
 * @author Jürgen Kappler
 */
@ProviderType
public interface FragmentCollectionContributorRegistry {

	public FragmentCollectionContributor getFragmentCollectionContributor(
		String fragmentCollectionKey);

	public List
		getFragmentCollectionContributors();

	public FragmentComposition getFragmentComposition(
		String fragmentCompositionKey);

	public Map getFragmentEntries();

	public default Map getFragmentEntries(
		Locale locale) {

		return getFragmentEntries();
	}

	public FragmentEntry getFragmentEntry(String fragmentEntryKey);

	public ResourceBundleLoader getResourceBundleLoader();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy