Liferay 6.0.4

com.liferay.portal.service
Class LayoutPrototypeLocalServiceUtil

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

public class LayoutPrototypeLocalServiceUtil
extends Object

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.

See Also:
LayoutPrototypeLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
LayoutPrototypeLocalServiceUtil()
           
 
Method Summary
static LayoutPrototype addLayoutPrototype(LayoutPrototype layoutPrototype)
           
static LayoutPrototype addLayoutPrototype(long userId, long companyId, Map<Locale,String> nameMap, String description, boolean active)
           
static LayoutPrototype createLayoutPrototype(long layoutPrototypeId)
           
static void deleteLayoutPrototype(LayoutPrototype layoutPrototype)
           
static void deleteLayoutPrototype(long layoutPrototypeId)
           
static List dynamicQuery(DynamicQuery dynamicQuery)
           
static List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static long dynamicQueryCount(DynamicQuery dynamicQuery)
           
static LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
           
static List<LayoutPrototype> getLayoutPrototypes(int start, int end)
           
static int getLayoutPrototypesCount()
           
static LayoutPrototypeLocalService getService()
           
static List<LayoutPrototype> search(long companyId, Boolean active, int start, int end, OrderByComparator obc)
           
static int searchCount(long companyId, Boolean active)
           
 void setService(LayoutPrototypeLocalService service)
           
static LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype)
           
static LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype, boolean merge)
           
static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId, Map<Locale,String> nameMap, 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 SystemException
Throws:
SystemException

createLayoutPrototype

public static LayoutPrototype createLayoutPrototype(long layoutPrototypeId)

deleteLayoutPrototype

public static void deleteLayoutPrototype(long layoutPrototypeId)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

deleteLayoutPrototype

public static void deleteLayoutPrototype(LayoutPrototype layoutPrototype)
                                  throws SystemException
Throws:
SystemException

dynamicQuery

public static List dynamicQuery(DynamicQuery dynamicQuery)
                         throws SystemException
Throws:
SystemException

dynamicQuery

public static List dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
                         throws SystemException
Throws:
SystemException

dynamicQuery

public static List dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
                              throws SystemException
Throws:
SystemException

getLayoutPrototype

public static LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getLayoutPrototypes

public static List<LayoutPrototype> getLayoutPrototypes(int start,
                                                        int end)
                                                 throws SystemException
Throws:
SystemException

getLayoutPrototypesCount

public static int getLayoutPrototypesCount()
                                    throws SystemException
Throws:
SystemException

updateLayoutPrototype

public static LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype)
                                             throws SystemException
Throws:
SystemException

updateLayoutPrototype

public static LayoutPrototype updateLayoutPrototype(LayoutPrototype layoutPrototype,
                                                    boolean merge)
                                             throws SystemException
Throws:
SystemException

addLayoutPrototype

public static LayoutPrototype addLayoutPrototype(long userId,
                                                 long companyId,
                                                 Map<Locale,String> nameMap,
                                                 String description,
                                                 boolean active)
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

search

public static List<LayoutPrototype> search(long companyId,
                                           Boolean active,
                                           int start,
                                           int end,
                                           OrderByComparator obc)
                                    throws SystemException
Throws:
SystemException

searchCount

public static int searchCount(long companyId,
                              Boolean active)
                       throws SystemException
Throws:
SystemException

updateLayoutPrototype

public static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId,
                                                    Map<Locale,String> nameMap,
                                                    String description,
                                                    boolean active)
                                             throws PortalException,
                                                    SystemException
Throws:
PortalException
SystemException

getService

public static LayoutPrototypeLocalService getService()

setService

public void setService(LayoutPrototypeLocalService service)

Liferay 6.0.4