com.liferay.portlet.wiki.service.persistence
Interface WikiPagePersistence

All Known Implementing Classes:
WikiPagePersistenceImpl

public interface WikiPagePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByN_H(long nodeId, boolean head)
           
 int countByN_T_H(long nodeId, java.lang.String title, boolean head)
           
 int countByN_T_V(long nodeId, java.lang.String title, double version)
           
 int countByN_T(long nodeId, java.lang.String title)
           
 int countByNodeId(long nodeId)
           
 com.liferay.portlet.wiki.model.WikiPage create(long pageId)
           
 com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId, java.lang.String title, double version)
           
 com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(long pageId)
           
 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.portlet.wiki.model.WikiPage findByN_H_First(long nodeId, boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId, boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(long pageId, long nodeId, boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByN_H(long nodeId, boolean head)
           
 java.util.List findByN_H(long nodeId, boolean head, int begin, int end)
           
 java.util.List findByN_H(long nodeId, boolean head, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage findByN_T_First(long nodeId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(long nodeId, java.lang.String title, boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(long nodeId, java.lang.String title, boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(long pageId, long nodeId, java.lang.String title, boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByN_T_H(long nodeId, java.lang.String title, boolean head)
           
 java.util.List findByN_T_H(long nodeId, java.lang.String title, boolean head, int begin, int end)
           
 java.util.List findByN_T_H(long nodeId, java.lang.String title, boolean head, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(long pageId, long nodeId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId, java.lang.String title, double version)
           
 java.util.List findByN_T(long nodeId, java.lang.String title)
           
 java.util.List findByN_T(long nodeId, java.lang.String title, int begin, int end)
           
 java.util.List findByN_T(long nodeId, java.lang.String title, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(long pageId, long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByNodeId(long nodeId)
           
 java.util.List findByNodeId(long nodeId, int begin, int end)
           
 java.util.List findByNodeId(long nodeId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
           
 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.portlet.wiki.model.WikiPage remove(long pageId)
           
 com.liferay.portlet.wiki.model.WikiPage remove(com.liferay.portlet.wiki.model.WikiPage wikiPage)
           
 void removeAll()
           
 void removeByN_H(long nodeId, boolean head)
           
 void removeByN_T_H(long nodeId, java.lang.String title, boolean head)
           
 void removeByN_T_V(long nodeId, java.lang.String title, double version)
           
 void removeByN_T(long nodeId, java.lang.String title)
           
 void removeByNodeId(long nodeId)
           
 com.liferay.portlet.wiki.model.WikiPage update(com.liferay.portlet.wiki.model.WikiPage wikiPage)
           
 com.liferay.portlet.wiki.model.WikiPage update(com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.wiki.model.WikiPage create(long pageId)

remove

public com.liferay.portlet.wiki.model.WikiPage remove(long pageId)
                                               throws com.liferay.portal.SystemException,
                                                      com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

remove

public com.liferay.portlet.wiki.model.WikiPage remove(com.liferay.portlet.wiki.model.WikiPage wikiPage)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.wiki.model.WikiPage update(com.liferay.portlet.wiki.model.WikiPage wikiPage)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.wiki.model.WikiPage update(com.liferay.portlet.wiki.model.WikiPage wikiPage,
                                                      boolean merge)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId)
                                                         throws com.liferay.portal.SystemException,
                                                                com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

fetchByPrimaryKey

public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey(long pageId)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByNodeId

public java.util.List findByNodeId(long nodeId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByNodeId

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

findByNodeId

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

findByNodeId_First

public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First(long nodeId,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                           throws com.liferay.portal.SystemException,
                                                                  com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByNodeId_Last

public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last(long nodeId,
                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                          throws com.liferay.portal.SystemException,
                                                                 com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByNodeId_PrevAndNext

public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext(long pageId,
                                                                          long nodeId,
                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                   throws com.liferay.portal.SystemException,
                                                                          com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByN_T

public java.util.List findByN_T(long nodeId,
                                java.lang.String title)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_T

public java.util.List findByN_T(long nodeId,
                                java.lang.String title,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_T

public java.util.List findByN_T(long nodeId,
                                java.lang.String title,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_T_First

public com.liferay.portlet.wiki.model.WikiPage findByN_T_First(long nodeId,
                                                               java.lang.String title,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws com.liferay.portal.SystemException,
                                                               com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByN_T_Last

public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId,
                                                              java.lang.String title,
                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                       throws com.liferay.portal.SystemException,
                                                              com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByN_T_PrevAndNext

public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext(long pageId,
                                                                       long nodeId,
                                                                       java.lang.String title,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                throws com.liferay.portal.SystemException,
                                                                       com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByN_H

public java.util.List findByN_H(long nodeId,
                                boolean head)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_H

public java.util.List findByN_H(long nodeId,
                                boolean head,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_H

public java.util.List findByN_H(long nodeId,
                                boolean head,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_H_First

public com.liferay.portlet.wiki.model.WikiPage findByN_H_First(long nodeId,
                                                               boolean head,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws com.liferay.portal.SystemException,
                                                               com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByN_H_Last

public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId,
                                                              boolean head,
                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                       throws com.liferay.portal.SystemException,
                                                              com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByN_H_PrevAndNext

public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext(long pageId,
                                                                       long nodeId,
                                                                       boolean head,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                throws com.liferay.portal.SystemException,
                                                                       com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByN_T_V

public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId,
                                                           java.lang.String title,
                                                           double version)
                                                    throws com.liferay.portal.SystemException,
                                                           com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

fetchByN_T_V

public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId,
                                                            java.lang.String title,
                                                            double version)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_T_H

public java.util.List findByN_T_H(long nodeId,
                                  java.lang.String title,
                                  boolean head)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_T_H

public java.util.List findByN_T_H(long nodeId,
                                  java.lang.String title,
                                  boolean head,
                                  int begin,
                                  int end)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_T_H

public java.util.List findByN_T_H(long nodeId,
                                  java.lang.String title,
                                  boolean head,
                                  int begin,
                                  int end,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_T_H_First

public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First(long nodeId,
                                                                 java.lang.String title,
                                                                 boolean head,
                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                          throws com.liferay.portal.SystemException,
                                                                 com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByN_T_H_Last

public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last(long nodeId,
                                                                java.lang.String title,
                                                                boolean head,
                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                         throws com.liferay.portal.SystemException,
                                                                com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

findByN_T_H_PrevAndNext

public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext(long pageId,
                                                                         long nodeId,
                                                                         java.lang.String title,
                                                                         boolean head,
                                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                  throws com.liferay.portal.SystemException,
                                                                         com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

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

removeByNodeId

public void removeByNodeId(long nodeId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByN_T

public void removeByN_T(long nodeId,
                        java.lang.String title)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByN_H

public void removeByN_H(long nodeId,
                        boolean head)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByN_T_V

public void removeByN_T_V(long nodeId,
                          java.lang.String title,
                          double version)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portlet.wiki.NoSuchPageException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.wiki.NoSuchPageException

removeByN_T_H

public void removeByN_T_H(long nodeId,
                          java.lang.String title,
                          boolean head)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByNodeId

public int countByNodeId(long nodeId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByN_T

public int countByN_T(long nodeId,
                      java.lang.String title)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByN_H

public int countByN_H(long nodeId,
                      boolean head)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByN_T_V

public int countByN_T_V(long nodeId,
                        java.lang.String title,
                        double version)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByN_T_H

public int countByN_T_H(long nodeId,
                        java.lang.String title,
                        boolean head)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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