com.liferay.portal.service.persistence
Interface LayoutSetPersistence

All Superinterfaces:
BasePersistence<LayoutSet>

public interface LayoutSetPersistence
extends BasePersistence<LayoutSet>

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:
LayoutSetPersistenceImpl, LayoutSetUtil
Generated:

Method Summary
 void cacheResult(LayoutSet layoutSet)
           
 void cacheResult(java.util.List<LayoutSet> layoutSets)
           
 int countAll()
           
 int countByG_P(long groupId, boolean privateLayout)
           
 int countByGroupId(long groupId)
           
 int countByVirtualHost(java.lang.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(java.lang.String virtualHost)
           
 LayoutSet fetchByVirtualHost(java.lang.String virtualHost, boolean retrieveFromCache)
           
 java.util.List<LayoutSet> findAll()
           
 java.util.List<LayoutSet> findAll(int start, int end)
           
 java.util.List<LayoutSet> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSet findByG_P(long groupId, boolean privateLayout)
           
 LayoutSet findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSet findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSet[] findByGroupId_PrevAndNext(long layoutSetId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<LayoutSet> findByGroupId(long groupId)
           
 java.util.List<LayoutSet> findByGroupId(long groupId, int start, int end)
           
 java.util.List<LayoutSet> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 LayoutSet findByPrimaryKey(long layoutSetId)
           
 LayoutSet findByVirtualHost(java.lang.String virtualHost)
           
 LayoutSet remove(long layoutSetId)
           
 void removeAll()
           
 void removeByG_P(long groupId, boolean privateLayout)
           
 void removeByGroupId(long groupId)
           
 void removeByVirtualHost(java.lang.String virtualHost)
           
 LayoutSet updateImpl(LayoutSet layoutSet, 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(LayoutSet layoutSet)

cacheResult

void cacheResult(java.util.List<LayoutSet> layoutSets)

create

LayoutSet create(long layoutSetId)

remove

LayoutSet remove(long layoutSetId)
                 throws NoSuchLayoutSetException,
                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetException
com.liferay.portal.kernel.exception.SystemException

updateImpl

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

findByPrimaryKey

LayoutSet findByPrimaryKey(long layoutSetId)
                           throws NoSuchLayoutSetException,
                                  com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetException
com.liferay.portal.kernel.exception.SystemException

fetchByPrimaryKey

LayoutSet fetchByPrimaryKey(long layoutSetId)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<LayoutSet> findByGroupId(long groupId)
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<LayoutSet> findByGroupId(long groupId,
                                        int start,
                                        int end)
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<LayoutSet> findByGroupId(long groupId,
                                        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

findByGroupId_First

LayoutSet findByGroupId_First(long groupId,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws NoSuchLayoutSetException,
                                     com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetException
com.liferay.portal.kernel.exception.SystemException

findByGroupId_Last

LayoutSet findByGroupId_Last(long groupId,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws NoSuchLayoutSetException,
                                    com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetException
com.liferay.portal.kernel.exception.SystemException

findByGroupId_PrevAndNext

LayoutSet[] findByGroupId_PrevAndNext(long layoutSetId,
                                      long groupId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws NoSuchLayoutSetException,
                                             com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetException
com.liferay.portal.kernel.exception.SystemException

findByVirtualHost

LayoutSet findByVirtualHost(java.lang.String virtualHost)
                            throws NoSuchLayoutSetException,
                                   com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetException
com.liferay.portal.kernel.exception.SystemException

fetchByVirtualHost

LayoutSet fetchByVirtualHost(java.lang.String virtualHost)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByVirtualHost

LayoutSet fetchByVirtualHost(java.lang.String virtualHost,
                             boolean retrieveFromCache)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_P

LayoutSet findByG_P(long groupId,
                    boolean privateLayout)
                    throws NoSuchLayoutSetException,
                           com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetException
com.liferay.portal.kernel.exception.SystemException

fetchByG_P

LayoutSet fetchByG_P(long groupId,
                     boolean privateLayout)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByG_P

LayoutSet fetchByG_P(long groupId,
                     boolean privateLayout,
                     boolean retrieveFromCache)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

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

findAll

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

findAll

java.util.List<LayoutSet> 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

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByVirtualHost

void removeByVirtualHost(java.lang.String virtualHost)
                         throws NoSuchLayoutSetException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetException
com.liferay.portal.kernel.exception.SystemException

removeByG_P

void removeByG_P(long groupId,
                 boolean privateLayout)
                 throws NoSuchLayoutSetException,
                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLayoutSetException
com.liferay.portal.kernel.exception.SystemException

removeAll

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

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByVirtualHost

int countByVirtualHost(java.lang.String virtualHost)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_P

int countByG_P(long groupId,
               boolean privateLayout)
               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