com.liferay.portal.service
Class LayoutPrototypeLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.LayoutPrototypeLocalServiceUtil

public class LayoutPrototypeLocalServiceUtil
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 LayoutPrototypeLocalService 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.

Author:
Brian Wing Shun Chan
See Also:
LayoutPrototypeLocalService
Generated:

Constructor Summary
LayoutPrototypeLocalServiceUtil()
           
 
Method Summary
static LayoutPrototype addLayoutPrototype(LayoutPrototype layoutPrototype)
           
static LayoutPrototype addLayoutPrototype(long userId, long companyId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String description, boolean active)
           
static LayoutPrototype createLayoutPrototype(long layoutPrototypeId)
           
static void deleteLayoutPrototype(LayoutPrototype layoutPrototype)
           
static void deleteLayoutPrototype(long layoutPrototypeId)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
           
static java.util.List<LayoutPrototype> getLayoutPrototypes(int start, int end)
           
static int getLayoutPrototypesCount()
           
static LayoutPrototypeLocalService getService()
           
static java.util.List<LayoutPrototype> search(long companyId, java.lang.Boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int searchCount(long companyId, java.lang.Boolean active)
           
 void setService(LayoutPrototypeLocalService service)
           
static LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype)
           
static LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype, boolean merge)
           
static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String description, boolean active)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutPrototypeLocalServiceUtil

public LayoutPrototypeLocalServiceUtil()
Method Detail

addLayoutPrototype

public static LayoutPrototype addLayoutPrototype(LayoutPrototype layoutPrototype)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

createLayoutPrototype

public static LayoutPrototype createLayoutPrototype(long layoutPrototypeId)

deleteLayoutPrototype

public static void deleteLayoutPrototype(long layoutPrototypeId)
                                  throws com.liferay.portal.kernel.exception.PortalException,
                                         com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteLayoutPrototype

public static void deleteLayoutPrototype(LayoutPrototype layoutPrototype)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getLayoutPrototype

public static LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                 com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getLayoutPrototypes

public static java.util.List<LayoutPrototype> getLayoutPrototypes(int start,
                                                                  int end)
                                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getLayoutPrototypesCount

public static int getLayoutPrototypesCount()
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateLayoutPrototype

public static LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateLayoutPrototype

public static LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype,
                                                    boolean merge)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addLayoutPrototype

public static LayoutPrototype addLayoutPrototype(long userId,
                                                 long companyId,
                                                 java.util.Map<java.util.Locale,java.lang.String> nameMap,
                                                 java.lang.String description,
                                                 boolean active)
                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                 com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

search

public static java.util.List<LayoutPrototype> search(long companyId,
                                                     java.lang.Boolean active,
                                                     int start,
                                                     int end,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

searchCount

public static int searchCount(long companyId,
                              java.lang.Boolean active)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateLayoutPrototype

public static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId,
                                                    java.util.Map<java.util.Locale,java.lang.String> nameMap,
                                                    java.lang.String description,
                                                    boolean active)
                                             throws com.liferay.portal.kernel.exception.PortalException,
                                                    com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getService

public static LayoutPrototypeLocalService getService()

setService

public void setService(LayoutPrototypeLocalService service)