com.liferay.portal.service.persistence
Interface LayoutPersistence

All Known Implementing Classes:
LayoutPersistenceImpl

public interface LayoutPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByDLF(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)
           
 com.liferay.portal.model.Layout create(long plid)
           
 com.liferay.portal.model.Layout fetchByDLF(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 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)
           
 com.liferay.portal.model.Layout findByDLF(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 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)
           
 com.liferay.portal.model.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)
           
 com.liferay.portal.model.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)
           
 com.liferay.portal.model.Layout remove(com.liferay.portal.model.Layout layout)
           
 com.liferay.portal.model.Layout remove(long plid)
           
 void removeAll()
           
 void removeByDLF(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)
           
 com.liferay.portal.model.Layout update(com.liferay.portal.model.Layout layout)
           
 com.liferay.portal.model.Layout update(com.liferay.portal.model.Layout layout, boolean merge)
           
 

Method Detail

create

public com.liferay.portal.model.Layout create(long plid)

remove

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

remove

public com.liferay.portal.model.Layout remove(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
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
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

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

findByDLF

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

fetchByDLF

public com.liferay.portal.model.Layout fetchByDLF(long dlFolderId)
                                           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 com.liferay.portal.model.Layout findByG_P_First(long groupId,
                                                       boolean privateLayout,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.SystemException,
                                                       com.liferay.portal.NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchLayoutException

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.SystemException,
                                                      com.liferay.portal.NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchLayoutException

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.SystemException,
                                                               com.liferay.portal.NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchLayoutException

findByG_P_L

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

fetchByG_P_L

public com.liferay.portal.model.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 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.SystemException,
                                                         com.liferay.portal.NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchLayoutException

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.SystemException,
                                                        com.liferay.portal.NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchLayoutException

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.SystemException,
                                                                 com.liferay.portal.NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchLayoutException

findByG_P_F

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

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
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

removeByDLF

public void removeByDLF(long dlFolderId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
                          com.liferay.portal.NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
                          com.liferay.portal.NoSuchLayoutException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchLayoutException

removeAll

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

countByDLF

public int countByDLF(long dlFolderId)
               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