Package com.liferay.portal.kernel.util
Class DefaultLayoutPrototypesUtil
Object
com.liferay.portal.kernel.util.DefaultLayoutPrototypesUtil
- Author:
- Eudaldo Alonso
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Layout
static String
addPortletId
(Layout layout, String portletId, String columnId) protected static void
addResourcePermissions
(Layout layout, String portletId) protected static void
updateLayout
(Layout layout) static PortletPreferences
-
Constructor Details
-
DefaultLayoutPrototypesUtil
public DefaultLayoutPrototypesUtil()
-
-
Method Details
-
addLayout
public static Layout addLayout(LayoutSet layoutSet, String nameKey, String friendlyURL, String layoutTemplateId) throws Exception - Throws:
Exception
-
addPortletId
public static String addPortletId(Layout layout, String portletId, String columnId) throws Exception - Throws:
Exception
-
updatePortletSetup
public static PortletPreferences updatePortletSetup(Layout layout, String portletId, Map<String, String> preferences) throws Exception- Throws:
Exception
-
addResourcePermissions
- Throws:
Exception
-
updateLayout
- Throws:
Exception
-