com.liferay.portal.service.persistence
Class LayoutSetPrototypeUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.LayoutSetPrototypeUtil

public class LayoutSetPrototypeUtil
extends java.lang.Object

View Source

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

Author:
Brian Wing Shun Chan
See Also:
LayoutSetPrototypePersistence, LayoutSetPrototypePersistenceImpl
Generated:

Constructor Summary
LayoutSetPrototypeUtil()
           
 
Method Summary
static void cacheResult(LayoutSetPrototype layoutSetPrototype)
           
static void cacheResult(java.util.List<LayoutSetPrototype> layoutSetPrototypes)
           
static void clearCache()
           
static int countAll()
           
static int countByC_A(long companyId, boolean active)
           
static int countByCompanyId(long companyId)
           
static LayoutSetPrototype create(long layoutSetPrototypeId)
           
static LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
           
static java.util.List<LayoutSetPrototype> findAll()
           
static java.util.List<LayoutSetPrototype> findAll(int start, int end)
           
static java.util.List<LayoutSetPrototype> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutSetPrototype findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutSetPrototype findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<LayoutSetPrototype> findByC_A(long companyId, boolean active)
           
static java.util.List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end)
           
static java.util.List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutSetPrototype findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutSetPrototype findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<LayoutSetPrototype> findByCompanyId(long companyId)
           
static java.util.List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end)
           
static java.util.List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static LayoutSetPrototypePersistence getPersistence()
           
static LayoutSetPrototype remove(LayoutSetPrototype layoutSetPrototype)
           
static LayoutSetPrototype remove(long layoutSetPrototypeId)
           
static void removeAll()
           
static void removeByC_A(long companyId, boolean active)
           
static void removeByCompanyId(long companyId)
           
 void setPersistence(LayoutSetPrototypePersistence persistence)
           
static LayoutSetPrototype update(LayoutSetPrototype layoutSetPrototype, boolean merge)
           
static LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutSetPrototypeUtil

public LayoutSetPrototypeUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

findWithDynamicQuery

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

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(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
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static LayoutSetPrototype remove(LayoutSetPrototype layoutSetPrototype)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static LayoutSetPrototype update(LayoutSetPrototype layoutSetPrototype,
                                        boolean merge)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(LayoutSetPrototype layoutSetPrototype)

cacheResult

public static void cacheResult(java.util.List<LayoutSetPrototype> layoutSetPrototypes)

create

public static LayoutSetPrototype create(long layoutSetPrototypeId)

remove

public static LayoutSetPrototype remove(long layoutSetPrototypeId)
                                 throws NoSuchLayoutSetPrototypeException,
                                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetPrototypeException
com.liferay.portal.kernel.exception.SystemException

updateImpl

public static LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype,
                                            boolean merge)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

public static LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
                                           throws NoSuchLayoutSetPrototypeException,
                                                  com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetPrototypeException
com.liferay.portal.kernel.exception.SystemException

fetchByPrimaryKey

public static LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
                                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

public static java.util.List<LayoutSetPrototype> findByCompanyId(long companyId)
                                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

public static java.util.List<LayoutSetPrototype> findByCompanyId(long companyId,
                                                                 int start,
                                                                 int end)
                                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

public static java.util.List<LayoutSetPrototype> findByCompanyId(long companyId,
                                                                 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

findByCompanyId_First

public static LayoutSetPrototype findByCompanyId_First(long companyId,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws NoSuchLayoutSetPrototypeException,
                                                       com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetPrototypeException
com.liferay.portal.kernel.exception.SystemException

findByCompanyId_Last

public static LayoutSetPrototype findByCompanyId_Last(long companyId,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws NoSuchLayoutSetPrototypeException,
                                                      com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetPrototypeException
com.liferay.portal.kernel.exception.SystemException

findByCompanyId_PrevAndNext

public static LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId,
                                                               long companyId,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws NoSuchLayoutSetPrototypeException,
                                                               com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetPrototypeException
com.liferay.portal.kernel.exception.SystemException

findByC_A

public static java.util.List<LayoutSetPrototype> findByC_A(long companyId,
                                                           boolean active)
                                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_A

public static java.util.List<LayoutSetPrototype> findByC_A(long companyId,
                                                           boolean active,
                                                           int start,
                                                           int end)
                                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByC_A

public static java.util.List<LayoutSetPrototype> findByC_A(long companyId,
                                                           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

findByC_A_First

public static LayoutSetPrototype findByC_A_First(long companyId,
                                                 boolean active,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws NoSuchLayoutSetPrototypeException,
                                                 com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetPrototypeException
com.liferay.portal.kernel.exception.SystemException

findByC_A_Last

public static LayoutSetPrototype findByC_A_Last(long companyId,
                                                boolean active,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws NoSuchLayoutSetPrototypeException,
                                                com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetPrototypeException
com.liferay.portal.kernel.exception.SystemException

findByC_A_PrevAndNext

public static LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId,
                                                         long companyId,
                                                         boolean active,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws NoSuchLayoutSetPrototypeException,
                                                         com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetPrototypeException
com.liferay.portal.kernel.exception.SystemException

findAll

public static java.util.List<LayoutSetPrototype> findAll()
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

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

findAll

public static java.util.List<LayoutSetPrototype> findAll(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

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByC_A

public static void removeByC_A(long companyId,
                               boolean active)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

public static void removeAll()
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByC_A

public static int countByC_A(long companyId,
                             boolean active)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

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

getPersistence

public static LayoutSetPrototypePersistence getPersistence()

setPersistence

public void setPersistence(LayoutSetPrototypePersistence persistence)