com.liferay.comment.web.internal.portlet.CommentViewPortletProvider Maven / Gradle / Ivy
The 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.comment.web.internal.portlet;
import com.liferay.comment.web.internal.constants.CommentPortletKeys;
import com.liferay.portal.kernel.portlet.BasePortletProvider;
import com.liferay.portal.kernel.portlet.PortletProvider;
import org.osgi.service.component.annotations.Component;
/**
* @author Adolfo Pérez
*/
@Component(
property = "model.class.name=com.liferay.portal.kernel.comment.Comment",
service = PortletProvider.class
)
public class CommentViewPortletProvider extends BasePortletProvider {
@Override
public String getPortletName() {
return CommentPortletKeys.COMMENT;
}
@Override
public Action[] getSupportedActions() {
return _supportedActions;
}
private final Action[] _supportedActions = {Action.VIEW};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy