
com.liferay.wiki.web.internal.portlet.WikiPortletLayoutFinder 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.wiki.web.internal.portlet;
import com.liferay.portal.kernel.portlet.BasePortletLayoutFinder;
import com.liferay.portal.kernel.portlet.PortletLayoutFinder;
import com.liferay.wiki.constants.WikiPortletKeys;
import org.osgi.service.component.annotations.Component;
/**
* @author Inácio Nery
*/
@Component(
property = "model.class.name=com.liferay.wiki.model.WikiPage",
service = PortletLayoutFinder.class
)
public class WikiPortletLayoutFinder extends BasePortletLayoutFinder {
@Override
protected String[] getPortletIds() {
return new String[] {
WikiPortletKeys.WIKI_ADMIN, WikiPortletKeys.WIKI,
WikiPortletKeys.WIKI_DISPLAY
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy