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 void clearCache(LayoutPrototype layoutPrototype)
           
static int countAll()
           
static int countByC_A(long companyId, boolean active)
           
static int countByCompanyId(long companyId)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
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, OrderByComparator orderByComparator)
           
static LayoutPrototype findByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator)
           
static LayoutPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator)
           
static LayoutPrototype[] findByC_A_PrevAndNext(long layoutPrototypeId, long companyId, boolean active, OrderByComparator orderByComparator)
           
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, OrderByComparator orderByComparator)
           
static LayoutPrototype findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
static LayoutPrototype findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
static LayoutPrototype[] findByCompanyId_PrevAndNext(long layoutPrototypeId, long companyId, OrderByComparator orderByComparator)
           
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, OrderByComparator orderByComparator)
           
static LayoutPrototype findByPrimaryKey(long layoutPrototypeId)
           
static java.util.List<LayoutPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List<LayoutPrototype> findWithDynamicQuery(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()

clearCache

public static void clearCache(LayoutPrototype layoutPrototype)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(LayoutPrototype)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<LayoutPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                            throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<LayoutPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                                   int start,
                                                                   int end)
                                                            throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static LayoutPrototype remove(LayoutPrototype layoutPrototype)
                              throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static LayoutPrototype update(LayoutPrototype layoutPrototype,
                                     boolean merge)
                              throws SystemException
Throws:
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,
                                     SystemException
Throws:
NoSuchLayoutPrototypeException
SystemException

updateImpl

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

findByPrimaryKey

public static LayoutPrototype findByPrimaryKey(long layoutPrototypeId)
                                        throws NoSuchLayoutPrototypeException,
                                               SystemException
Throws:
NoSuchLayoutPrototypeException
SystemException

fetchByPrimaryKey

public static LayoutPrototype fetchByPrimaryKey(long layoutPrototypeId)
                                         throws SystemException
Throws:
SystemException

findByCompanyId

public static java.util.List<LayoutPrototype> findByCompanyId(long companyId)
                                                       throws SystemException
Throws:
SystemException

findByCompanyId

public static java.util.List<LayoutPrototype> findByCompanyId(long companyId,
                                                              int start,
                                                              int end)
                                                       throws SystemException
Throws:
SystemException

findByCompanyId

public static java.util.List<LayoutPrototype> findByCompanyId(long companyId,
                                                              int start,
                                                              int end,
                                                              OrderByComparator orderByComparator)
                                                       throws SystemException
Throws:
SystemException

findByCompanyId_First

public static LayoutPrototype findByCompanyId_First(long companyId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchLayoutPrototypeException,
                                                    SystemException
Throws:
NoSuchLayoutPrototypeException
SystemException

findByCompanyId_Last

public static LayoutPrototype findByCompanyId_Last(long companyId,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchLayoutPrototypeException,
                                                   SystemException
Throws:
NoSuchLayoutPrototypeException
SystemException

findByCompanyId_PrevAndNext

public static LayoutPrototype[] findByCompanyId_PrevAndNext(long layoutPrototypeId,
                                                            long companyId,
                                                            OrderByComparator orderByComparator)
                                                     throws NoSuchLayoutPrototypeException,
                                                            SystemException
Throws:
NoSuchLayoutPrototypeException
SystemException

findByC_A

public static java.util.List<LayoutPrototype> findByC_A(long companyId,
                                                        boolean active)
                                                 throws SystemException
Throws:
SystemException

findByC_A

public static java.util.List<LayoutPrototype> findByC_A(long companyId,
                                                        boolean active,
                                                        int start,
                                                        int end)
                                                 throws SystemException
Throws:
SystemException

findByC_A

public static java.util.List<LayoutPrototype> findByC_A(long companyId,
                                                        boolean active,
                                                        int start,
                                                        int end,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException
Throws:
SystemException

findByC_A_First

public static LayoutPrototype findByC_A_First(long companyId,
                                              boolean active,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchLayoutPrototypeException,
                                              SystemException
Throws:
NoSuchLayoutPrototypeException
SystemException

findByC_A_Last

public static LayoutPrototype findByC_A_Last(long companyId,
                                             boolean active,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchLayoutPrototypeException,
                                             SystemException
Throws:
NoSuchLayoutPrototypeException
SystemException

findByC_A_PrevAndNext

public static LayoutPrototype[] findByC_A_PrevAndNext(long layoutPrototypeId,
                                                      long companyId,
                                                      boolean active,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchLayoutPrototypeException,
                                                      SystemException
Throws:
NoSuchLayoutPrototypeException
SystemException

findAll

public static java.util.List<LayoutPrototype> findAll()
                                               throws SystemException
Throws:
SystemException

findAll

public static java.util.List<LayoutPrototype> findAll(int start,
                                                      int end)
                                               throws SystemException
Throws:
SystemException

findAll

public static java.util.List<LayoutPrototype> findAll(int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Throws:
SystemException

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws SystemException
Throws:
SystemException

removeByC_A

public static void removeByC_A(long companyId,
                               boolean active)
                        throws SystemException
Throws:
SystemException

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws SystemException
Throws:
SystemException

countByC_A

public static int countByC_A(long companyId,
                             boolean active)
                      throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static LayoutPrototypePersistence getPersistence()

setPersistence

public void setPersistence(LayoutPrototypePersistence persistence)