Liferay 6.0.3

com.liferay.portal.service.persistence
Interface LayoutSetPersistence

All Superinterfaces:
BasePersistence<LayoutSet>
All Known Implementing Classes:
LayoutSetPersistenceImpl

public interface LayoutSetPersistence
extends BasePersistence<LayoutSet>

See Also:
LayoutSetPersistenceImpl, LayoutSetUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(LayoutSet layoutSet)
           
 void cacheResult(List<LayoutSet> layoutSets)
           
 int countAll()
           
 int countByG_P(long groupId, boolean privateLayout)
           
 int countByGroupId(long groupId)
           
 int countByVirtualHost(String virtualHost)
           
 LayoutSet create(long layoutSetId)
           
 LayoutSet fetchByG_P(long groupId, boolean privateLayout)
           
 LayoutSet fetchByG_P(long groupId, boolean privateLayout, boolean retrieveFromCache)
           
 LayoutSet fetchByPrimaryKey(long layoutSetId)
           
 LayoutSet fetchByVirtualHost(String virtualHost)
           
 LayoutSet fetchByVirtualHost(String virtualHost, boolean retrieveFromCache)
           
 List<LayoutSet> findAll()
           
 List<LayoutSet> findAll(int start, int end)
           
 List<LayoutSet> findAll(int start, int end, OrderByComparator orderByComparator)
           
 LayoutSet findByG_P(long groupId, boolean privateLayout)
           
 LayoutSet findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 LayoutSet findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 LayoutSet[] findByGroupId_PrevAndNext(long layoutSetId, long groupId, OrderByComparator orderByComparator)
           
 List<LayoutSet> findByGroupId(long groupId)
           
 List<LayoutSet> findByGroupId(long groupId, int start, int end)
           
 List<LayoutSet> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 LayoutSet findByPrimaryKey(long layoutSetId)
           
 LayoutSet findByVirtualHost(String virtualHost)
           
 LayoutSet remove(long layoutSetId)
           
 void removeAll()
           
 void removeByG_P(long groupId, boolean privateLayout)
           
 void removeByGroupId(long groupId)
           
 void removeByVirtualHost(String virtualHost)
           
 LayoutSet updateImpl(LayoutSet layoutSet, 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, update
 

Method Detail

cacheResult

void cacheResult(LayoutSet layoutSet)

cacheResult

void cacheResult(List<LayoutSet> layoutSets)

create

LayoutSet create(long layoutSetId)

remove

LayoutSet remove(long layoutSetId)
                 throws NoSuchLayoutSetException,
                        SystemException
Throws:
NoSuchLayoutSetException
SystemException

updateImpl

LayoutSet updateImpl(LayoutSet layoutSet,
                     boolean merge)
                     throws SystemException
Throws:
SystemException

findByPrimaryKey

LayoutSet findByPrimaryKey(long layoutSetId)
                           throws NoSuchLayoutSetException,
                                  SystemException
Throws:
NoSuchLayoutSetException
SystemException

fetchByPrimaryKey

LayoutSet fetchByPrimaryKey(long layoutSetId)
                            throws SystemException
Throws:
SystemException

findByGroupId

List<LayoutSet> findByGroupId(long groupId)
                              throws SystemException
Throws:
SystemException

findByGroupId

List<LayoutSet> findByGroupId(long groupId,
                              int start,
                              int end)
                              throws SystemException
Throws:
SystemException

findByGroupId

List<LayoutSet> findByGroupId(long groupId,
                              int start,
                              int end,
                              OrderByComparator orderByComparator)
                              throws SystemException
Throws:
SystemException

findByGroupId_First

LayoutSet findByGroupId_First(long groupId,
                              OrderByComparator orderByComparator)
                              throws NoSuchLayoutSetException,
                                     SystemException
Throws:
NoSuchLayoutSetException
SystemException

findByGroupId_Last

LayoutSet findByGroupId_Last(long groupId,
                             OrderByComparator orderByComparator)
                             throws NoSuchLayoutSetException,
                                    SystemException
Throws:
NoSuchLayoutSetException
SystemException

findByGroupId_PrevAndNext

LayoutSet[] findByGroupId_PrevAndNext(long layoutSetId,
                                      long groupId,
                                      OrderByComparator orderByComparator)
                                      throws NoSuchLayoutSetException,
                                             SystemException
Throws:
NoSuchLayoutSetException
SystemException

findByVirtualHost

LayoutSet findByVirtualHost(String virtualHost)
                            throws NoSuchLayoutSetException,
                                   SystemException
Throws:
NoSuchLayoutSetException
SystemException

fetchByVirtualHost

LayoutSet fetchByVirtualHost(String virtualHost)
                             throws SystemException
Throws:
SystemException

fetchByVirtualHost

LayoutSet fetchByVirtualHost(String virtualHost,
                             boolean retrieveFromCache)
                             throws SystemException
Throws:
SystemException

findByG_P

LayoutSet findByG_P(long groupId,
                    boolean privateLayout)
                    throws NoSuchLayoutSetException,
                           SystemException
Throws:
NoSuchLayoutSetException
SystemException

fetchByG_P

LayoutSet fetchByG_P(long groupId,
                     boolean privateLayout)
                     throws SystemException
Throws:
SystemException

fetchByG_P

LayoutSet fetchByG_P(long groupId,
                     boolean privateLayout,
                     boolean retrieveFromCache)
                     throws SystemException
Throws:
SystemException

findAll

List<LayoutSet> findAll()
                        throws SystemException
Throws:
SystemException

findAll

List<LayoutSet> findAll(int start,
                        int end)
                        throws SystemException
Throws:
SystemException

findAll

List<LayoutSet> findAll(int start,
                        int end,
                        OrderByComparator orderByComparator)
                        throws SystemException
Throws:
SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByVirtualHost

void removeByVirtualHost(String virtualHost)
                         throws NoSuchLayoutSetException,
                                SystemException
Throws:
NoSuchLayoutSetException
SystemException

removeByG_P

void removeByG_P(long groupId,
                 boolean privateLayout)
                 throws NoSuchLayoutSetException,
                        SystemException
Throws:
NoSuchLayoutSetException
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

countByVirtualHost

int countByVirtualHost(String virtualHost)
                       throws SystemException
Throws:
SystemException

countByG_P

int countByG_P(long groupId,
               boolean privateLayout)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3