com.liferay.journal.web.internal.portlet.JournalEditPortletProvider 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.journal.web.internal.portlet;
import com.liferay.journal.constants.JournalPortletKeys;
import com.liferay.portal.kernel.portlet.BasePortletProvider;
import com.liferay.portal.kernel.portlet.PortletProvider;
import org.osgi.service.component.annotations.Component;
/**
* @author Eduardo García
*/
@Component(
property = "model.class.name=com.liferay.journal.model.JournalArticle",
service = PortletProvider.class
)
public class JournalEditPortletProvider extends BasePortletProvider {
@Override
public String getPortletName() {
return JournalPortletKeys.JOURNAL;
}
@Override
public Action[] getSupportedActions() {
return _supportedActions;
}
private final Action[] _supportedActions = {Action.EDIT};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy