Example usage for com.liferay.portal.kernel.portlet PortletLayoutListener interface-usage

List of usage examples for com.liferay.portal.kernel.portlet PortletLayoutListener interface-usage

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.portlet PortletLayoutListener interface-usage.

Usage

From source file com.liferay.asset.publisher.web.AssetPublisherPortletLayoutListener.java

/**
 * Provides the implementation of <code>PortletLayoutListener</code> (in
 * <code>com.liferay.portal.kernel</code>) for the Asset Publisher portlet so
 * email subscriptions can be removed when the Asset Publisher is removed from
 * the page.
 *

From source file com.liferay.asset.publisher.web.internal.portlet.layout.listener.AssetPublisherPortletLayoutListener.java

/**
 * Provides the implementation of <code>PortletLayoutListener</code> (in
 * <code>com.liferay.portal.kernel</code>) for the Asset Publisher portlet so
 * email subscriptions can be removed when the Asset Publisher is removed from
 * the page.
 *

From source file com.liferay.journal.content.web.internal.JournalContentPortletLayoutListener.java

/**
 * @author Brian Wing Shun Chan
 * @author Raymond Aug
 */
@Component(immediate = true, property = {
        "javax.portlet.name=" + JournalContentPortletKeys.JOURNAL_CONTENT }, service = PortletLayoutListener.class)

From source file com.liferay.portlet.journalcontent.JournalContentPortletLayoutListener.java

/**
 * @author Brian Wing Shun Chan
 */
public class JournalContentPortletLayoutListener implements PortletLayoutListener {

    public void onAddToLayout(String portletId, long plid) throws PortletLayoutListenerException {