com.liferay.portal.service.persistence
Class LayoutPrototypeUtil

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

public class LayoutPrototypeUtil
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:
LayoutPrototypePersistence, LayoutPrototypePersistenceImpl
Generated:

Constructor Summary
LayoutPrototypeUtil()
           
 
Method Summary
static void cacheResult(LayoutPrototype layoutPrototype)
           
static void cacheResult(java.util.List<LayoutPrototype> layoutPrototypes)
           
static void clearCache()
           
static int countAll()
           
static int countByC_A(long companyId, boolean active)
           
static int countByCompanyId(long companyId)
           
static LayoutPrototype create(long layoutPrototypeId)
           
static LayoutPrototype fetchByPrimaryKey(long layoutPrototypeId)
           
static java.util.List<LayoutPrototype> findAll()
           
static java.util.List<LayoutPrototype> findAll(int start, int end)
           
static java.util.List<LayoutPrototype> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutPrototype findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutPrototype findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutPrototype[] findByC_A_PrevAndNext(long layoutPrototypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<LayoutPrototype> findByC_A(long companyId, boolean active)
           
static java.util.List<LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end)
           
static java.util.List<LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutPrototype findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutPrototype findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutPrototype[] findByCompanyId_PrevAndNext(long layoutPrototypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<LayoutPrototype> findByCompanyId(long companyId)
           
static java.util.List<LayoutPrototype> findByCompanyId(long companyId, int start, int end)
           
static java.util.List<LayoutPrototype> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static LayoutPrototype findByPrimaryKey(long layoutPrototypeId)
           
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 LayoutPrototypePersistence getPersistence()
           
static LayoutPrototype remove(LayoutPrototype layoutPrototype)
           
static LayoutPrototype remove(long layoutPrototypeId)
           
static void removeAll()
           
static void removeByC_A(long companyId, boolean active)
           
static void removeByCompanyId(long companyId)
           
 void setPersistence(LayoutPrototypePersistence persistence)
           
static LayoutPrototype update(LayoutPrototype layoutPrototype, boolean merge)
           
static LayoutPrototype updateImpl(LayoutPrototype layoutPrototype, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutPrototypeUtil

public LayoutPrototypeUtil()
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 LayoutPrototype remove(LayoutPrototype layoutPrototype)
                              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 LayoutPrototype update(LayoutPrototype layoutPrototype,
                                     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(LayoutPrototype layoutPrototype)

cacheResult

public static void cacheResult(java.util.List<LayoutPrototype> layoutPrototypes)

create

public static LayoutPrototype create(long layoutPrototypeId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByCompanyId

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

findByCompanyId

public static java.util.List<LayoutPrototype> 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<LayoutPrototype> 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 LayoutPrototype findByCompanyId_First(long companyId,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws NoSuchLayoutPrototypeException,
                                                    com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutPrototypeException
com.liferay.portal.kernel.exception.SystemException

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

public static LayoutPrototype[] findByCompanyId_PrevAndNext(long layoutPrototypeId,
                                                            long companyId,
                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                     throws NoSuchLayoutPrototypeException,
                                                            com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutPrototypeException
com.liferay.portal.kernel.exception.SystemException

findByC_A

public static java.util.List<LayoutPrototype> 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<LayoutPrototype> 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<LayoutPrototype> 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 LayoutPrototype findByC_A_First(long companyId,
                                              boolean active,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws NoSuchLayoutPrototypeException,
                                              com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutPrototypeException
com.liferay.portal.kernel.exception.SystemException

findByC_A_Last

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

findByC_A_PrevAndNext

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

findAll

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

findAll

public static java.util.List<LayoutPrototype> 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<LayoutPrototype> 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 LayoutPrototypePersistence getPersistence()

setPersistence

public void setPersistence(LayoutPrototypePersistence persistence)