public class DefaultLayoutPrototypesUtil
extends Object
Constructor and Description |
---|
DefaultLayoutPrototypesUtil() |
Modifier and Type | Method and Description |
---|---|
static Layout |
addLayout(LayoutSet layoutSet,
String nameKey,
String friendlyURL,
String layouteTemplateId) |
static Layout |
addLayoutPrototype(long companyId,
long defaultUserId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String layouteTemplateId,
List<LayoutPrototype> layoutPrototypes) |
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 |
updatePortletSetup(Layout layout,
String portletId,
Map<String,String> preferences) |
public static Layout addLayout(LayoutSet layoutSet, String nameKey, String friendlyURL, String layouteTemplateId) throws Exception
Exception
public static Layout addLayoutPrototype(long companyId, long defaultUserId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String layouteTemplateId, List<LayoutPrototype> layoutPrototypes) throws Exception
Exception
public static String addPortletId(Layout layout, String portletId, String columnId) throws Exception
Exception
public static PortletPreferences updatePortletSetup(Layout layout, String portletId, Map<String,String> preferences) throws Exception
Exception
protected static void addResourcePermissions(Layout layout, String portletId) throws Exception
Exception
protected static void updateLayout(Layout layout) throws Exception
Exception