com.liferay.portal.service
Class LayoutSetLocalServiceUtil

java.lang.Object
  extended bycom.liferay.portal.service.LayoutSetLocalServiceUtil

public class LayoutSetLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portal.service.LayoutSetLocalService 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.

com.liferay.portal.service.LayoutSetLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
LayoutSetLocalService, LayoutSetLocalServiceFactory

Constructor Summary
LayoutSetLocalServiceUtil()
           
 
Method Summary
static LayoutSet addLayoutSet(LayoutSet model)
           
static LayoutSet addLayoutSet(long groupId, boolean privateLayout)
           
static void deleteLayoutSet(long groupId, boolean privateLayout)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static LayoutSet getLayoutSet(long groupId, boolean privateLayout)
           
static LayoutSet getLayoutSet(java.lang.String virtualHost)
           
static LayoutSet updateLayoutSet(LayoutSet model)
           
static void updateLogo(long groupId, boolean privateLayout, boolean logo, java.io.File file)
           
static LayoutSet updateLookAndFeel(long groupId, boolean privateLayout, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
           
static LayoutSet updatePageCount(long groupId, boolean privateLayout)
           
static LayoutSet updateVirtualHost(long groupId, boolean privateLayout, java.lang.String virtualHost)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutSetLocalServiceUtil

public LayoutSetLocalServiceUtil()
Method Detail

addLayoutSet

public static LayoutSet addLayoutSet(LayoutSet model)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                          int begin,
                                          int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateLayoutSet

public static LayoutSet updateLayoutSet(LayoutSet model)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addLayoutSet

public static LayoutSet addLayoutSet(long groupId,
                                     boolean privateLayout)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteLayoutSet

public static void deleteLayoutSet(long groupId,
                                   boolean privateLayout)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLayoutSet

public static LayoutSet getLayoutSet(long groupId,
                                     boolean privateLayout)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLayoutSet

public static LayoutSet getLayoutSet(java.lang.String virtualHost)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLogo

public static void updateLogo(long groupId,
                              boolean privateLayout,
                              boolean logo,
                              java.io.File file)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateLookAndFeel

public static LayoutSet updateLookAndFeel(long groupId,
                                          boolean privateLayout,
                                          java.lang.String themeId,
                                          java.lang.String colorSchemeId,
                                          java.lang.String css,
                                          boolean wapTheme)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updatePageCount

public static LayoutSet updatePageCount(long groupId,
                                        boolean privateLayout)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateVirtualHost

public static LayoutSet updateVirtualHost(long groupId,
                                          boolean privateLayout,
                                          java.lang.String virtualHost)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException