com.liferay.portal.util
Class DefaultLayoutPrototypesUtil
java.lang.Object
com.liferay.portal.util.DefaultLayoutPrototypesUtil
public class DefaultLayoutPrototypesUtil
- extends Object
|
Method Summary |
static Layout |
addLayout(LayoutSet layoutSet,
String nameKey,
String friendlyURL,
String layouteTemplateId)
|
static Layout |
addLayoutPrototype(long companyId,
long defaultUserId,
String nameKey,
String descriptionKey,
String layouteTemplateId,
List<LayoutPrototype> layoutPrototypes,
ClassLoader classLoader)
|
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLayoutPrototypesUtil
public DefaultLayoutPrototypesUtil()
addLayout
public static Layout addLayout(LayoutSet layoutSet,
String nameKey,
String friendlyURL,
String layouteTemplateId)
throws Exception
- Throws:
Exception
addLayoutPrototype
public static Layout addLayoutPrototype(long companyId,
long defaultUserId,
String nameKey,
String descriptionKey,
String layouteTemplateId,
List<LayoutPrototype> layoutPrototypes,
ClassLoader classLoader)
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
protected static void addResourcePermissions(Layout layout,
String portletId)
throws Exception
- Throws:
Exception
updateLayout
protected static void updateLayout(Layout layout)
throws Exception
- Throws:
Exception