com.liferay.portal.service.persistence
Interface LayoutPrototypePersistence

All Superinterfaces:
BasePersistence<LayoutPrototype>

public interface LayoutPrototypePersistence
extends BasePersistence<LayoutPrototype>

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

Method Summary
 void cacheResult(LayoutPrototype layoutPrototype)
           
 void cacheResult(java.util.List<LayoutPrototype> layoutPrototypes)
           
 int countAll()
           
 int countByC_A(long companyId, boolean active)
           
 int countByCompanyId(long companyId)
           
 LayoutPrototype create(long layoutPrototypeId)
           
 LayoutPrototype fetchByPrimaryKey(long layoutPrototypeId)
           
 java.util.List<LayoutPrototype> findAll()
           
 java.util.List<LayoutPrototype> findAll(int start, int end)
           
 java.util.List<LayoutPrototype> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutPrototype findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutPrototype findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutPrototype[] findByC_A_PrevAndNext(long layoutPrototypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<LayoutPrototype> findByC_A(long companyId, boolean active)
           
 java.util.List<LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end)
           
 java.util.List<LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutPrototype findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutPrototype findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutPrototype[] findByCompanyId_PrevAndNext(long layoutPrototypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<LayoutPrototype> findByCompanyId(long companyId)
           
 java.util.List<LayoutPrototype> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<LayoutPrototype> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutPrototype findByPrimaryKey(long layoutPrototypeId)
           
 LayoutPrototype remove(long layoutPrototypeId)
           
 void removeAll()
           
 void removeByC_A(long companyId, boolean active)
           
 void removeByCompanyId(long companyId)
           
 LayoutPrototype updateImpl(LayoutPrototype layoutPrototype, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(LayoutPrototype layoutPrototype)

cacheResult

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

create

LayoutPrototype create(long layoutPrototypeId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByCompanyId

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

findByCompanyId

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

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

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

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

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

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

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

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

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

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

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

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

findAll

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

findAll

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

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

removeByC_A

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

removeAll

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

countByCompanyId

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

countByC_A

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

countAll

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