com.liferay.portal.service
Class LayoutTemplateLocalServiceUtil
java.lang.Object
com.liferay.portal.service.LayoutTemplateLocalServiceUtil
public class LayoutTemplateLocalServiceUtil
- extends Object
This class provides static methods for the
LayoutTemplateLocalService bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- See Also:
LayoutTemplateLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static String |
getContent(String layoutTemplateId,
boolean standard,
String themeId)
|
static LayoutTemplate |
getLayoutTemplate(String layoutTemplateId,
boolean standard,
String themeId)
|
static List<LayoutTemplate> |
getLayoutTemplates()
|
static List<LayoutTemplate> |
getLayoutTemplates(String themeId)
|
static LayoutTemplateLocalService |
getService()
|
static String |
getWapContent(String layoutTemplateId,
boolean standard,
String themeId)
|
static List<ObjectValuePair<String,Boolean>> |
init(javax.servlet.ServletContext servletContext,
String[] xmls,
PluginPackage pluginPackage)
|
static List<ObjectValuePair<String,Boolean>> |
init(String servletContextName,
javax.servlet.ServletContext servletContext,
String[] xmls,
PluginPackage pluginPackage)
|
static void |
readLayoutTemplate(String servletContextName,
javax.servlet.ServletContext servletContext,
Set<ObjectValuePair<String,Boolean>> layoutTemplateIds,
Element el,
boolean standard,
String themeId,
PluginPackage pluginPackage)
|
void |
setService(LayoutTemplateLocalService service)
|
static void |
uninstallLayoutTemplate(String layoutTemplateId,
boolean standard)
|
static void |
uninstallLayoutTemplates(String themeId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutTemplateLocalServiceUtil
public LayoutTemplateLocalServiceUtil()
getContent
public static String getContent(String layoutTemplateId,
boolean standard,
String themeId)
throws SystemException
- Throws:
SystemException
getLayoutTemplate
public static LayoutTemplate getLayoutTemplate(String layoutTemplateId,
boolean standard,
String themeId)
getLayoutTemplates
public static List<LayoutTemplate> getLayoutTemplates()
getLayoutTemplates
public static List<LayoutTemplate> getLayoutTemplates(String themeId)
getWapContent
public static String getWapContent(String layoutTemplateId,
boolean standard,
String themeId)
throws SystemException
- Throws:
SystemException
init
public static List<ObjectValuePair<String,Boolean>> init(javax.servlet.ServletContext servletContext,
String[] xmls,
PluginPackage pluginPackage)
init
public static List<ObjectValuePair<String,Boolean>> init(String servletContextName,
javax.servlet.ServletContext servletContext,
String[] xmls,
PluginPackage pluginPackage)
readLayoutTemplate
public static void readLayoutTemplate(String servletContextName,
javax.servlet.ServletContext servletContext,
Set<ObjectValuePair<String,Boolean>> layoutTemplateIds,
Element el,
boolean standard,
String themeId,
PluginPackage pluginPackage)
uninstallLayoutTemplate
public static void uninstallLayoutTemplate(String layoutTemplateId,
boolean standard)
uninstallLayoutTemplates
public static void uninstallLayoutTemplates(String themeId)
getService
public static LayoutTemplateLocalService getService()
setService
public void setService(LayoutTemplateLocalService service)