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, OrderByComparator orderByComparator)
           
 LayoutSetPrototype findByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator)
           
 LayoutSetPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator)
           
 LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 LayoutSetPrototype findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 LayoutSetPrototype findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 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, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, 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,
                                 SystemException
Throws:
NoSuchLayoutSetPrototypeException
SystemException

updateImpl

LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype,
                              boolean merge)
                              throws SystemException
Throws:
SystemException

findByPrimaryKey

LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
                                    throws NoSuchLayoutSetPrototypeException,
                                           SystemException
Throws:
NoSuchLayoutSetPrototypeException
SystemException

fetchByPrimaryKey

LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
                                     throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<LayoutSetPrototype> findByCompanyId(long companyId)
                                                   throws SystemException
Throws:
SystemException

findByCompanyId

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

findByCompanyId

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

findByCompanyId_First

LayoutSetPrototype findByCompanyId_First(long companyId,
                                         OrderByComparator orderByComparator)
                                         throws NoSuchLayoutSetPrototypeException,
                                                SystemException
Throws:
NoSuchLayoutSetPrototypeException
SystemException

findByCompanyId_Last

LayoutSetPrototype findByCompanyId_Last(long companyId,
                                        OrderByComparator orderByComparator)
                                        throws NoSuchLayoutSetPrototypeException,
                                               SystemException
Throws:
NoSuchLayoutSetPrototypeException
SystemException

findByCompanyId_PrevAndNext

LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId,
                                                 long companyId,
                                                 OrderByComparator orderByComparator)
                                                 throws NoSuchLayoutSetPrototypeException,
                                                        SystemException
Throws:
NoSuchLayoutSetPrototypeException
SystemException

findByC_A

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

findByC_A

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

findByC_A

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

findByC_A_First

LayoutSetPrototype findByC_A_First(long companyId,
                                   boolean active,
                                   OrderByComparator orderByComparator)
                                   throws NoSuchLayoutSetPrototypeException,
                                          SystemException
Throws:
NoSuchLayoutSetPrototypeException
SystemException

findByC_A_Last

LayoutSetPrototype findByC_A_Last(long companyId,
                                  boolean active,
                                  OrderByComparator orderByComparator)
                                  throws NoSuchLayoutSetPrototypeException,
                                         SystemException
Throws:
NoSuchLayoutSetPrototypeException
SystemException

findByC_A_PrevAndNext

LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId,
                                           long companyId,
                                           boolean active,
                                           OrderByComparator orderByComparator)
                                           throws NoSuchLayoutSetPrototypeException,
                                                  SystemException
Throws:
NoSuchLayoutSetPrototypeException
SystemException

findAll

java.util.List<LayoutSetPrototype> findAll()
                                           throws SystemException
Throws:
SystemException

findAll

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

findAll

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

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByC_A

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

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByC_A

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

countAll

int countAll()
             throws SystemException
Throws:
SystemException