com.liferay.portal.service.persistence
Interface LayoutPersistence


public interface LayoutPersistence

View Source

Author:
Brian Wing Shun Chan

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)
           
 Layout create(long plid)
           
 Layout fetchByDLFolderId(long dlFolderId)
           
 Layout fetchByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
 Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 Layout fetchByIconImageId(long iconImageId)
           
 Layout fetchByPrimaryKey(long plid)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByCompanyId(long companyId)
           
 java.util.List findByCompanyId(long companyId, int begin, int end)
           
 java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout findByDLFolderId(long dlFolderId)
           
 Layout findByG_P_F(long groupId, boolean privateLayout, java.lang.String friendlyURL)
           
 Layout findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 Layout findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
           
 java.util.List findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int begin, int end)
           
 java.util.List findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByG_P(long groupId, boolean privateLayout)
           
 java.util.List findByG_P(long groupId, boolean privateLayout, int begin, int end)
           
 java.util.List findByG_P(long groupId, boolean privateLayout, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout[] findByGroupId_PrevAndNext(long plid, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByGroupId(long groupId)
           
 java.util.List findByGroupId(long groupId, int begin, int end)
           
 java.util.List findByGroupId(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Layout findByIconImageId(long iconImageId)
           
 Layout findByPrimaryKey(long plid)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 Layout remove(Layout layout)
           
 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)
           
 Layout update(Layout layout)
           
 Layout update(Layout layout, boolean merge)
           
 Layout updateImpl(Layout layout, boolean merge)
           
 

Method Detail

create

public Layout create(long plid)

remove

public Layout remove(long plid)
              throws com.liferay.portal.SystemException,
                     NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

remove

public Layout remove(Layout layout)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public Layout update(Layout layout)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public Layout update(Layout layout,
                     boolean merge)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public Layout updateImpl(Layout layout,
                         boolean merge)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public Layout findByPrimaryKey(long plid)
                        throws com.liferay.portal.SystemException,
                               NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

fetchByPrimaryKey

public Layout fetchByPrimaryKey(long plid)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public Layout findByGroupId_First(long groupId,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws com.liferay.portal.SystemException,
                                  NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByGroupId_Last

public Layout findByGroupId_Last(long groupId,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.SystemException,
                                 NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByGroupId_PrevAndNext

public Layout[] findByGroupId_PrevAndNext(long plid,
                                          long groupId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByCompanyId

public java.util.List findByCompanyId(long companyId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List findByCompanyId(long companyId,
                                      int begin,
                                      int end)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List findByCompanyId(long companyId,
                                      int begin,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public Layout findByCompanyId_First(long companyId,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException,
                                    NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByCompanyId_Last

public Layout findByCompanyId_Last(long companyId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.SystemException,
                                   NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByCompanyId_PrevAndNext

public Layout[] findByCompanyId_PrevAndNext(long plid,
                                            long companyId,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByDLFolderId

public Layout findByDLFolderId(long dlFolderId)
                        throws com.liferay.portal.SystemException,
                               NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

fetchByDLFolderId

public Layout fetchByDLFolderId(long dlFolderId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByIconImageId

public Layout findByIconImageId(long iconImageId)
                         throws com.liferay.portal.SystemException,
                                NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

fetchByIconImageId

public Layout fetchByIconImageId(long iconImageId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P

public java.util.List findByG_P(long groupId,
                                boolean privateLayout)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P

public java.util.List findByG_P(long groupId,
                                boolean privateLayout,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P

public java.util.List findByG_P(long groupId,
                                boolean privateLayout,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_First

public Layout findByG_P_First(long groupId,
                              boolean privateLayout,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException,
                              NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByG_P_Last

public Layout findByG_P_Last(long groupId,
                             boolean privateLayout,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                      throws com.liferay.portal.SystemException,
                             NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByG_P_PrevAndNext

public Layout[] findByG_P_PrevAndNext(long plid,
                                      long groupId,
                                      boolean privateLayout,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByG_P_L

public Layout findByG_P_L(long groupId,
                          boolean privateLayout,
                          long layoutId)
                   throws com.liferay.portal.SystemException,
                          NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

fetchByG_P_L

public Layout fetchByG_P_L(long groupId,
                           boolean privateLayout,
                           long layoutId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_P

public java.util.List findByG_P_P(long groupId,
                                  boolean privateLayout,
                                  long parentLayoutId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_P

public java.util.List findByG_P_P(long groupId,
                                  boolean privateLayout,
                                  long parentLayoutId,
                                  int begin,
                                  int end)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_P

public java.util.List 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
Throws:
com.liferay.portal.SystemException

findByG_P_P_First

public Layout findByG_P_P_First(long groupId,
                                boolean privateLayout,
                                long parentLayoutId,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException,
                                NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByG_P_P_Last

public Layout findByG_P_P_Last(long groupId,
                               boolean privateLayout,
                               long parentLayoutId,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                        throws com.liferay.portal.SystemException,
                               NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByG_P_P_PrevAndNext

public Layout[] findByG_P_P_PrevAndNext(long plid,
                                        long groupId,
                                        boolean privateLayout,
                                        long parentLayoutId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

findByG_P_F

public Layout findByG_P_F(long groupId,
                          boolean privateLayout,
                          java.lang.String friendlyURL)
                   throws com.liferay.portal.SystemException,
                          NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

fetchByG_P_F

public Layout fetchByG_P_F(long groupId,
                           boolean privateLayout,
                           java.lang.String friendlyURL)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByGroupId

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

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByDLFolderId

public void removeByDLFolderId(long dlFolderId)
                        throws com.liferay.portal.SystemException,
                               NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

removeByIconImageId

public void removeByIconImageId(long iconImageId)
                         throws com.liferay.portal.SystemException,
                                NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

removeByG_P

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

removeByG_P_L

public void removeByG_P_L(long groupId,
                          boolean privateLayout,
                          long layoutId)
                   throws com.liferay.portal.SystemException,
                          NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

removeByG_P_P

public void removeByG_P_P(long groupId,
                          boolean privateLayout,
                          long parentLayoutId)
                   throws com.liferay.portal.SystemException
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.SystemException,
                          NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
NoSuchLayoutException

removeAll

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

countByGroupId

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

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByDLFolderId

public int countByDLFolderId(long dlFolderId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByIconImageId

public int countByIconImageId(long iconImageId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_P

public int countByG_P(long groupId,
                      boolean privateLayout)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_P_L

public int countByG_P_L(long groupId,
                        boolean privateLayout,
                        long layoutId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_P_P

public int countByG_P_P(long groupId,
                        boolean privateLayout,
                        long parentLayoutId)
                 throws com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException