com.liferay.youtube.web.internal.portlet.YouTubePortlet 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.youtube.web.internal.portlet;
import com.liferay.portal.kernel.model.Release;
import com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet;
import com.liferay.youtube.web.internal.constants.YouTubePortletKeys;
import javax.portlet.Portlet;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
/**
* @author Peter Fellwock
*/
@Component(
immediate = true,
property = {
"com.liferay.portlet.css-class-wrapper=youtube-portlet",
"com.liferay.portlet.display-category=category.entertainment",
"com.liferay.portlet.icon=/icons/youtube.png",
"com.liferay.portlet.use-default-template=true",
"javax.portlet.display-name=YouTube",
"javax.portlet.expiration-cache=0",
"javax.portlet.init-param.template-path=/META-INF/resources/",
"javax.portlet.init-param.view-template=/view.jsp",
"javax.portlet.name=" + YouTubePortletKeys.YOUTUBE,
"javax.portlet.portlet-info.keywords=YouTube",
"javax.portlet.portlet-info.short-title=YouTube",
"javax.portlet.portlet-info.title=YouTube",
"javax.portlet.resource-bundle=content.Language",
"javax.portlet.security-role-ref=administrator,guest,power-user,user"
},
service = Portlet.class
)
public class YouTubePortlet extends MVCPortlet {
@Reference(
target = "(&(release.bundle.symbolic.name=com.liferay.youtube.web)(&(release.schema.version>=1.0.0)(!(release.schema.version>=2.0.0))))",
unbind = "-"
)
protected void setRelease(Release release) {
}
}