package ru.systematic.cisstat.portlet;

import ru.systematic.cisstat.constants.VideoNewsPortletKeys;

import com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet;

import java.io.IOException;

import javax.portlet.Portlet;
import javax.portlet.PortletException;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;

import org.osgi.service.component.annotations.Component;

/**
 * @author safiu
 */
@Component(
	immediate = true,
	property = {
		"com.liferay.portlet.display-category=category.highlighted",
		"com.liferay.portlet.instanceable=true",
		"com.liferay.portlet.header-portlet-css=/css/main.css",
		"javax.portlet.display-name=video-news Portlet",
		"javax.portlet.init-param.template-path=/",
		"javax.portlet.init-param.view-template=/view.jsp",
		"javax.portlet.name=" + VideoNewsPortletKeys.VideoNews,
		"javax.portlet.resource-bundle=content.Language",
		"javax.portlet.security-role-ref=power-user,user"
	},
	service = Portlet.class
)
public class VideoNewsPortlet extends MVCPortlet {
	
	public void render(
			RenderRequest renderRequest, RenderResponse renderResponse)
		throws PortletException, IOException {
		
		super.render(renderRequest, renderResponse);
		
	}
	
	
	
	
}