com.liferay.portal.service.persistence
Interface LayoutSetPrototypePersistence

All Superinterfaces:
BasePersistence<LayoutSetPrototype>

public interface LayoutSetPrototypePersistence
extends BasePersistence<LayoutSetPrototype>

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:
LayoutSetPrototypePersistenceImpl, LayoutSetPrototypeUtil
Generated:

Method Summary
 void cacheResult(LayoutSetPrototype layoutSetPrototype)
           
 void cacheResult(java.util.List<LayoutSetPrototype> layoutSetPrototypes)
           
 int countAll()
           
 int countByC_A(long companyId, boolean active)
           
 int countByCompanyId(long companyId)
           
 LayoutSetPrototype create(long layoutSetPrototypeId)
           
 LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
           
 java.util.List<LayoutSetPrototype> findAll()
           
 java.util.List<LayoutSetPrototype> findAll(int start, int end)
           
 java.util.List<LayoutSetPrototype> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSetPrototype findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSetPrototype findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<LayoutSetPrototype> findByC_A(long companyId, boolean active)
           
 java.util.List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end)
           
 java.util.List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSetPrototype findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSetPrototype findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<LayoutSetPrototype> findByCompanyId(long companyId)
           
 java.util.List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
           
 LayoutSetPrototype remove(long layoutSetPrototypeId)
           
 void removeAll()
           
 void removeByC_A(long companyId, boolean active)
           
 void removeByCompanyId(long companyId)
           
 LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype, 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(LayoutSetPrototype layoutSetPrototype)

cacheResult

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

create

LayoutSetPrototype create(long layoutSetPrototypeId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByCompanyId

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

findByCompanyId

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

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

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

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

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

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

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

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

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

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

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

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

findAll

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

findAll

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

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