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


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)
           
 int countByUuid(java.lang.String uuid)
           
 WikiPage create(long pageId)
           
 WikiPage fetchByN_T_V(long nodeId, java.lang.String title, double version)
           
 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)
           
 WikiPage findByN_H_First(long nodeId, boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiPage findByN_H_Last(long nodeId, boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 WikiPage findByN_T_First(long nodeId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiPage findByN_T_H_First(long nodeId, java.lang.String title, boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiPage findByN_T_H_Last(long nodeId, java.lang.String title, boolean head, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 WikiPage findByN_T_Last(long nodeId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiPage[] findByN_T_PrevAndNext(long pageId, long nodeId, java.lang.String title, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 WikiPage findByNodeId_First(long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiPage findByNodeId_Last(long nodeId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 WikiPage findByPrimaryKey(long pageId)
           
 WikiPage findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiPage findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiPage[] findByUuid_PrevAndNext(long pageId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByUuid(java.lang.String uuid)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 WikiPage remove(long pageId)
           
 WikiPage remove(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)
           
 void removeByUuid(java.lang.String uuid)
           
 WikiPage update(WikiPage wikiPage)
           
 WikiPage update(WikiPage wikiPage, boolean merge)
           
 WikiPage updateImpl(WikiPage wikiPage, boolean merge)
           
 

Method Detail

create

public WikiPage create(long pageId)

remove

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

remove

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

update

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

update

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

updateImpl

public WikiPage updateImpl(WikiPage wikiPage,
                           boolean merge)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

public java.util.List findByUuid(java.lang.String uuid)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List findByUuid(java.lang.String uuid,
                                 int begin,
                                 int end)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

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

findByUuid_First

public WikiPage findByUuid_First(java.lang.String uuid,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.SystemException,
                                 NoSuchPageException
Throws:
com.liferay.portal.SystemException
NoSuchPageException

findByUuid_Last

public WikiPage findByUuid_Last(java.lang.String uuid,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException,
                                NoSuchPageException
Throws:
com.liferay.portal.SystemException
NoSuchPageException

findByUuid_PrevAndNext

public WikiPage[] findByUuid_PrevAndNext(long pageId,
                                         java.lang.String uuid,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchPageException
Throws:
com.liferay.portal.SystemException
NoSuchPageException

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 WikiPage findByNodeId_First(long nodeId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.SystemException,
                                   NoSuchPageException
Throws:
com.liferay.portal.SystemException
NoSuchPageException

findByNodeId_Last

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

findByNodeId_PrevAndNext

public WikiPage[] findByNodeId_PrevAndNext(long pageId,
                                           long nodeId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchPageException
Throws:
com.liferay.portal.SystemException
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 WikiPage findByN_T_First(long nodeId,
                                java.lang.String title,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException,
                                NoSuchPageException
Throws:
com.liferay.portal.SystemException
NoSuchPageException

findByN_T_Last

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

findByN_T_PrevAndNext

public WikiPage[] findByN_T_PrevAndNext(long pageId,
                                        long nodeId,
                                        java.lang.String title,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchPageException
Throws:
com.liferay.portal.SystemException
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 WikiPage findByN_H_First(long nodeId,
                                boolean head,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException,
                                NoSuchPageException
Throws:
com.liferay.portal.SystemException
NoSuchPageException

findByN_H_Last

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

findByN_H_PrevAndNext

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

findByN_T_V

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

fetchByN_T_V

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

findByN_T_H_Last

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

findByN_T_H_PrevAndNext

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

removeByUuid

public void removeByUuid(java.lang.String uuid)
                  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,
                          NoSuchPageException
Throws:
com.liferay.portal.SystemException
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

countByUuid

public int countByUuid(java.lang.String uuid)
                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