com.liferay.fragment.processor.PortletRegistry Maven / Gradle / Ivy
/**
* 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.processor;
import com.liferay.fragment.model.FragmentEntryLink;
import com.liferay.portal.kernel.exception.PortalException;
import java.util.Collections;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.jsoup.nodes.Document;
/**
* @author Lance Ji
*/
public interface PortletRegistry {
public List getFragmentEntryLinkPortletIds(
Document document, FragmentEntryLink fragmentEntryLink);
public default List getFragmentEntryLinkPortletIds(
FragmentEntryLink fragmentEntryLink) {
return Collections.emptyList();
}
public List getPortletAliases();
public String getPortletName(String alias);
public void registerAlias(String alias, String portletName);
public void unregisterAlias(String alias);
public void writePortletPaths(
FragmentEntryLink fragmentEntryLink,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
throws PortalException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy