@Override public PortletURL getURLView( LiferayPortletResponse liferayPortletResponse, WindowState windowState) throws Exception { AssetRendererFactory assetRendererFactory = getAssetRendererFactory(); PortletURL portletURL = assetRendererFactory.getURLView(liferayPortletResponse, windowState); portletURL.setParameter("struts_action", "/bookmarks/view_entry"); portletURL.setParameter("entryId", String.valueOf(_entry.getEntryId())); portletURL.setWindowState(windowState); return portletURL; }
@Override public PortletURL getURLView( LiferayPortletResponse liferayPortletResponse, WindowState windowState) throws Exception { AssetRendererFactory assetRendererFactory = getAssetRendererFactory(); PortletURL portletURL = assetRendererFactory.getURLView(liferayPortletResponse, windowState); portletURL.setParameter("struts_action", "/message_boards/view_message"); portletURL.setParameter("messageId", String.valueOf(_message.getMessageId())); portletURL.setWindowState(windowState); return portletURL; }
@Override public PortletURL getURLView( LiferayPortletResponse liferayPortletResponse, WindowState windowState) throws Exception { AssetRendererFactory assetRendererFactory = getAssetRendererFactory(); PortletURL portletURL = assetRendererFactory.getURLView(liferayPortletResponse, windowState); portletURL.setParameter("mvcRenderCommandName", "/document_library/view_file_entry"); portletURL.setParameter("fileEntryId", String.valueOf(_fileEntry.getFileEntryId())); portletURL.setWindowState(windowState); return portletURL; }
@Override public PortletURL getURLView( LiferayPortletResponse liferayPortletResponse, WindowState windowState) throws Exception { AssetRendererFactory<WorkflowableComment> assetRendererFactory = getAssetRendererFactory(); PortletURL portletURL = assetRendererFactory.getURLView(liferayPortletResponse, windowState); portletURL.setParameter("mvcPath", "/view_comment.jsp"); portletURL.setParameter("commentId", String.valueOf(_workflowableComment.getCommentId())); portletURL.setWindowState(windowState); return portletURL; }