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


public interface WikiPageResourcePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByN_T(long nodeId, java.lang.String title)
           
 WikiPageResource create(long resourcePrimKey)
           
 WikiPageResource fetchByN_T(long nodeId, java.lang.String title)
           
 WikiPageResource fetchByPrimaryKey(long resourcePrimKey)
           
 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)
           
 WikiPageResource findByN_T(long nodeId, java.lang.String title)
           
 WikiPageResource findByPrimaryKey(long resourcePrimKey)
           
 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)
           
 WikiPageResource remove(long resourcePrimKey)
           
 WikiPageResource remove(WikiPageResource wikiPageResource)
           
 void removeAll()
           
 void removeByN_T(long nodeId, java.lang.String title)
           
 WikiPageResource update(WikiPageResource wikiPageResource)
           
 WikiPageResource update(WikiPageResource wikiPageResource, boolean merge)
           
 WikiPageResource updateImpl(WikiPageResource wikiPageResource, boolean merge)
           
 

Method Detail

create

public WikiPageResource create(long resourcePrimKey)

remove

public WikiPageResource remove(long resourcePrimKey)
                        throws com.liferay.portal.SystemException,
                               NoSuchPageResourceException
Throws:
com.liferay.portal.SystemException
NoSuchPageResourceException

remove

public WikiPageResource remove(WikiPageResource wikiPageResource)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public WikiPageResource update(WikiPageResource wikiPageResource)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public WikiPageResource update(WikiPageResource wikiPageResource,
                               boolean merge)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public WikiPageResource updateImpl(WikiPageResource wikiPageResource,
                                   boolean merge)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public WikiPageResource findByPrimaryKey(long resourcePrimKey)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchPageResourceException
Throws:
com.liferay.portal.SystemException
NoSuchPageResourceException

fetchByPrimaryKey

public WikiPageResource fetchByPrimaryKey(long resourcePrimKey)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByN_T

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

fetchByN_T

public WikiPageResource fetchByN_T(long nodeId,
                                   java.lang.String title)
                            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

removeByN_T

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

removeAll

public void removeAll()
               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

countAll

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