List of usage examples for com.liferay.portal.kernel.model Portlet isStatic
public boolean isStatic();
true
if the portlet is a static portlet that is cannot be moved. From source file:com.liferay.layout.type.controller.test.LayoutTypePortletTest.java
License:Open Source License
@Test public void testGetAllPortletsWithOnlyStaticPortlets() throws Exception { List<Portlet> portlets = _layoutTypePortlet.getAllPortlets(); for (Portlet portlet : portlets) { Assert.assertTrue(portlet + " is not static", portlet.isStatic()); }// w w w . j a va2s. c o m }