com.liferay.portal.service.persistence
Class LayoutPersistenceImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.jdbc.core.support.JdbcDaoSupport
          extended by com.liferay.portal.service.persistence.BasePersistence
              extended by com.liferay.portal.service.persistence.LayoutPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.service.persistence.LayoutPersistence, org.springframework.beans.factory.InitializingBean

public class LayoutPersistenceImpl
extends BasePersistence
implements com.liferay.portal.service.persistence.LayoutPersistence

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
LayoutPersistenceImpl()
           
 
Method Summary
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByDLFolderId(long dlFolderId)
           
 int countByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
 int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
           
 int countByG_P(long groupId, boolean privateLayout)
           
 int countByGroupId(long groupId)
           
 int countByIconImageId(long iconImageId)
           
 com.liferay.portal.model.Layout create(long plid)
           
 com.liferay.portal.model.Layout fetchByDLFolderId(long dlFolderId)
           
 com.liferay.portal.model.Layout fetchByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
 com.liferay.portal.model.Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 com.liferay.portal.model.Layout fetchByIconImageId(long iconImageId)
           
 com.liferay.portal.model.Layout fetchByPrimaryKey(long plid)
           
 java.util.List<com.liferay.portal.model.Layout> findAll()
           
 java.util.List<com.liferay.portal.model.Layout> findAll(int begin, int end)
           
 java.util.List<com.liferay.portal.model.Layout> findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portal.model.Layout> findByCompanyId(long companyId)
           
 java.util.List<com.liferay.portal.model.Layout> findByCompanyId(long companyId, int begin, int end)
           
 java.util.List<com.liferay.portal.model.Layout> findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout findByDLFolderId(long dlFolderId)
           
 com.liferay.portal.model.Layout findByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
 com.liferay.portal.model.Layout findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 com.liferay.portal.model.Layout findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portal.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
           
 java.util.List<com.liferay.portal.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int begin, int end)
           
 java.util.List<com.liferay.portal.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portal.model.Layout> findByG_P(long groupId, boolean privateLayout)
           
 java.util.List<com.liferay.portal.model.Layout> findByG_P(long groupId, boolean privateLayout, int begin, int end)
           
 java.util.List<com.liferay.portal.model.Layout> findByG_P(long groupId, boolean privateLayout, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout[] findByGroupId_PrevAndNext(long plid, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portal.model.Layout> findByGroupId(long groupId)
           
 java.util.List<com.liferay.portal.model.Layout> findByGroupId(long groupId, int begin, int end)
           
 java.util.List<com.liferay.portal.model.Layout> findByGroupId(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Layout findByIconImageId(long iconImageId)
           
 com.liferay.portal.model.Layout findByPrimaryKey(long plid)
           
 java.util.List<com.liferay.portal.model.Layout> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<com.liferay.portal.model.Layout> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
protected  void initDao()
           
 com.liferay.portal.model.Layout remove(com.liferay.portal.model.Layout layout)
           
 com.liferay.portal.model.Layout remove(long plid)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByDLFolderId(long dlFolderId)
           
 void removeByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
 void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
           
 void removeByG_P(long groupId, boolean privateLayout)
           
 void removeByGroupId(long groupId)
           
 void removeByIconImageId(long iconImageId)
           
protected  com.liferay.portal.model.Layout removeImpl(com.liferay.portal.model.Layout layout)
           
 com.liferay.portal.model.Layout update(com.liferay.portal.model.Layout layout)
          Deprecated. Use update(Layout layout, boolean merge).
 com.liferay.portal.model.Layout update(com.liferay.portal.model.Layout layout, boolean merge)
          Add, update, or merge, the entity.
 com.liferay.portal.model.Layout updateImpl(com.liferay.portal.model.Layout layout, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.BasePersistence
closeSession, getDialect, getSessionFactory, openSession, openSession, setSessionFactory
 
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutPersistenceImpl

public LayoutPersistenceImpl()
Method Detail

create

public com.liferay.portal.model.Layout create(long plid)
Specified by:
create in interface com.liferay.portal.service.persistence.LayoutPersistence

remove

public com.liferay.portal.model.Layout remove(long plid)
                                       throws com.liferay.portal.NoSuchLayoutException,
                                              com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

remove

public com.liferay.portal.model.Layout remove(com.liferay.portal.model.Layout layout)
                                       throws com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

removeImpl

protected com.liferay.portal.model.Layout removeImpl(com.liferay.portal.model.Layout layout)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portal.model.Layout update(com.liferay.portal.model.Layout layout)
                                       throws com.liferay.portal.SystemException
Deprecated. Use update(Layout layout, boolean merge).

Specified by:
update in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portal.model.Layout update(com.liferay.portal.model.Layout layout,
                                              boolean merge)
                                       throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Specified by:
update in interface com.liferay.portal.service.persistence.LayoutPersistence
Parameters:
layout - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when layout is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

public com.liferay.portal.model.Layout updateImpl(com.liferay.portal.model.Layout layout,
                                                  boolean merge)
                                           throws com.liferay.portal.SystemException
Specified by:
updateImpl in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portal.model.Layout findByPrimaryKey(long plid)
                                                 throws com.liferay.portal.NoSuchLayoutException,
                                                        com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portal.model.Layout fetchByPrimaryKey(long plid)
                                                  throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portal.model.Layout> findByGroupId(long groupId)
                                                              throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portal.model.Layout> findByGroupId(long groupId,
                                                                     int begin,
                                                                     int end)
                                                              throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portal.model.Layout> findByGroupId(long groupId,
                                                                     int begin,
                                                                     int end,
                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                              throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public com.liferay.portal.model.Layout findByGroupId_First(long groupId,
                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                    throws com.liferay.portal.NoSuchLayoutException,
                                                           com.liferay.portal.SystemException
Specified by:
findByGroupId_First in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByGroupId_Last

public com.liferay.portal.model.Layout findByGroupId_Last(long groupId,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.NoSuchLayoutException,
                                                          com.liferay.portal.SystemException
Specified by:
findByGroupId_Last in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByGroupId_PrevAndNext

public com.liferay.portal.model.Layout[] findByGroupId_PrevAndNext(long plid,
                                                                   long groupId,
                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                            throws com.liferay.portal.NoSuchLayoutException,
                                                                   com.liferay.portal.SystemException
Specified by:
findByGroupId_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(long companyId)
                                                                throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(long companyId,
                                                                       int begin,
                                                                       int end)
                                                                throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(long companyId,
                                                                       int begin,
                                                                       int end,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public com.liferay.portal.model.Layout findByCompanyId_First(long companyId,
                                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                                      throws com.liferay.portal.NoSuchLayoutException,
                                                             com.liferay.portal.SystemException
Specified by:
findByCompanyId_First in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByCompanyId_Last

public com.liferay.portal.model.Layout findByCompanyId_Last(long companyId,
                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                     throws com.liferay.portal.NoSuchLayoutException,
                                                            com.liferay.portal.SystemException
Specified by:
findByCompanyId_Last in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByCompanyId_PrevAndNext

public com.liferay.portal.model.Layout[] findByCompanyId_PrevAndNext(long plid,
                                                                     long companyId,
                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                              throws com.liferay.portal.NoSuchLayoutException,
                                                                     com.liferay.portal.SystemException
Specified by:
findByCompanyId_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByDLFolderId

public com.liferay.portal.model.Layout findByDLFolderId(long dlFolderId)
                                                 throws com.liferay.portal.NoSuchLayoutException,
                                                        com.liferay.portal.SystemException
Specified by:
findByDLFolderId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

fetchByDLFolderId

public com.liferay.portal.model.Layout fetchByDLFolderId(long dlFolderId)
                                                  throws com.liferay.portal.SystemException
Specified by:
fetchByDLFolderId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByIconImageId

public com.liferay.portal.model.Layout findByIconImageId(long iconImageId)
                                                  throws com.liferay.portal.NoSuchLayoutException,
                                                         com.liferay.portal.SystemException
Specified by:
findByIconImageId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

fetchByIconImageId

public com.liferay.portal.model.Layout fetchByIconImageId(long iconImageId)
                                                   throws com.liferay.portal.SystemException
Specified by:
fetchByIconImageId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByG_P

public java.util.List<com.liferay.portal.model.Layout> findByG_P(long groupId,
                                                                 boolean privateLayout)
                                                          throws com.liferay.portal.SystemException
Specified by:
findByG_P in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByG_P

public java.util.List<com.liferay.portal.model.Layout> findByG_P(long groupId,
                                                                 boolean privateLayout,
                                                                 int begin,
                                                                 int end)
                                                          throws com.liferay.portal.SystemException
Specified by:
findByG_P in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByG_P

public java.util.List<com.liferay.portal.model.Layout> findByG_P(long groupId,
                                                                 boolean privateLayout,
                                                                 int begin,
                                                                 int end,
                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                          throws com.liferay.portal.SystemException
Specified by:
findByG_P in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByG_P_First

public com.liferay.portal.model.Layout findByG_P_First(long groupId,
                                                       boolean privateLayout,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.NoSuchLayoutException,
                                                       com.liferay.portal.SystemException
Specified by:
findByG_P_First in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_Last

public com.liferay.portal.model.Layout findByG_P_Last(long groupId,
                                                      boolean privateLayout,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.NoSuchLayoutException,
                                                      com.liferay.portal.SystemException
Specified by:
findByG_P_Last in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_PrevAndNext

public com.liferay.portal.model.Layout[] findByG_P_PrevAndNext(long plid,
                                                               long groupId,
                                                               boolean privateLayout,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws com.liferay.portal.NoSuchLayoutException,
                                                               com.liferay.portal.SystemException
Specified by:
findByG_P_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_L

public com.liferay.portal.model.Layout findByG_P_L(long groupId,
                                                   boolean privateLayout,
                                                   long layoutId)
                                            throws com.liferay.portal.NoSuchLayoutException,
                                                   com.liferay.portal.SystemException
Specified by:
findByG_P_L in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

fetchByG_P_L

public com.liferay.portal.model.Layout fetchByG_P_L(long groupId,
                                                    boolean privateLayout,
                                                    long layoutId)
                                             throws com.liferay.portal.SystemException
Specified by:
fetchByG_P_L in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByG_P_P

public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(long groupId,
                                                                   boolean privateLayout,
                                                                   long parentLayoutId)
                                                            throws com.liferay.portal.SystemException
Specified by:
findByG_P_P in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByG_P_P

public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(long groupId,
                                                                   boolean privateLayout,
                                                                   long parentLayoutId,
                                                                   int begin,
                                                                   int end)
                                                            throws com.liferay.portal.SystemException
Specified by:
findByG_P_P in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByG_P_P

public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(long groupId,
                                                                   boolean privateLayout,
                                                                   long parentLayoutId,
                                                                   int begin,
                                                                   int end,
                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                            throws com.liferay.portal.SystemException
Specified by:
findByG_P_P in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findByG_P_P_First

public com.liferay.portal.model.Layout findByG_P_P_First(long groupId,
                                                         boolean privateLayout,
                                                         long parentLayoutId,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.NoSuchLayoutException,
                                                         com.liferay.portal.SystemException
Specified by:
findByG_P_P_First in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_P_Last

public com.liferay.portal.model.Layout findByG_P_P_Last(long groupId,
                                                        boolean privateLayout,
                                                        long parentLayoutId,
                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.NoSuchLayoutException,
                                                        com.liferay.portal.SystemException
Specified by:
findByG_P_P_Last in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_P_PrevAndNext

public com.liferay.portal.model.Layout[] findByG_P_P_PrevAndNext(long plid,
                                                                 long groupId,
                                                                 boolean privateLayout,
                                                                 long parentLayoutId,
                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                          throws com.liferay.portal.NoSuchLayoutException,
                                                                 com.liferay.portal.SystemException
Specified by:
findByG_P_P_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

findByG_P_F

public com.liferay.portal.model.Layout findByG_P_F(long groupId,
                                                   boolean privateLayout,
                                                   java.lang.String friendlyURL)
                                            throws com.liferay.portal.NoSuchLayoutException,
                                                   com.liferay.portal.SystemException
Specified by:
findByG_P_F in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

fetchByG_P_F

public com.liferay.portal.model.Layout fetchByG_P_F(long groupId,
                                                    boolean privateLayout,
                                                    java.lang.String friendlyURL)
                                             throws com.liferay.portal.SystemException
Specified by:
fetchByG_P_F in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<com.liferay.portal.model.Layout> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                                     throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<com.liferay.portal.model.Layout> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                                            int begin,
                                                                            int end)
                                                                     throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portal.model.Layout> findAll()
                                                        throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portal.model.Layout> findAll(int begin,
                                                               int end)
                                                        throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portal.model.Layout> findAll(int begin,
                                                               int end,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Specified by:
removeByGroupId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Specified by:
removeByCompanyId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

removeByDLFolderId

public void removeByDLFolderId(long dlFolderId)
                        throws com.liferay.portal.NoSuchLayoutException,
                               com.liferay.portal.SystemException
Specified by:
removeByDLFolderId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

removeByIconImageId

public void removeByIconImageId(long iconImageId)
                         throws com.liferay.portal.NoSuchLayoutException,
                                com.liferay.portal.SystemException
Specified by:
removeByIconImageId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

removeByG_P

public void removeByG_P(long groupId,
                        boolean privateLayout)
                 throws com.liferay.portal.SystemException
Specified by:
removeByG_P in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

removeByG_P_L

public void removeByG_P_L(long groupId,
                          boolean privateLayout,
                          long layoutId)
                   throws com.liferay.portal.NoSuchLayoutException,
                          com.liferay.portal.SystemException
Specified by:
removeByG_P_L in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

removeByG_P_P

public void removeByG_P_P(long groupId,
                          boolean privateLayout,
                          long parentLayoutId)
                   throws com.liferay.portal.SystemException
Specified by:
removeByG_P_P in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

removeByG_P_F

public void removeByG_P_F(long groupId,
                          boolean privateLayout,
                          java.lang.String friendlyURL)
                   throws com.liferay.portal.NoSuchLayoutException,
                          com.liferay.portal.SystemException
Specified by:
removeByG_P_F in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.NoSuchLayoutException
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Specified by:
removeAll in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Specified by:
countByGroupId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Specified by:
countByCompanyId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

countByDLFolderId

public int countByDLFolderId(long dlFolderId)
                      throws com.liferay.portal.SystemException
Specified by:
countByDLFolderId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

countByIconImageId

public int countByIconImageId(long iconImageId)
                       throws com.liferay.portal.SystemException
Specified by:
countByIconImageId in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

countByG_P

public int countByG_P(long groupId,
                      boolean privateLayout)
               throws com.liferay.portal.SystemException
Specified by:
countByG_P in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

countByG_P_L

public int countByG_P_L(long groupId,
                        boolean privateLayout,
                        long layoutId)
                 throws com.liferay.portal.SystemException
Specified by:
countByG_P_L in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

countByG_P_P

public int countByG_P_P(long groupId,
                        boolean privateLayout,
                        long parentLayoutId)
                 throws com.liferay.portal.SystemException
Specified by:
countByG_P_P in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

countByG_P_F

public int countByG_P_F(long groupId,
                        boolean privateLayout,
                        java.lang.String friendlyURL)
                 throws com.liferay.portal.SystemException
Specified by:
countByG_P_F in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Specified by:
countAll in interface com.liferay.portal.service.persistence.LayoutPersistence
Throws:
com.liferay.portal.SystemException

initDao

protected void initDao()
Overrides:
initDao in class org.springframework.dao.support.DaoSupport