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

All Superinterfaces:
BasePersistence<WikiPageResource>

public interface WikiPageResourcePersistence
extends BasePersistence<WikiPageResource>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
WikiPageResourcePersistenceImpl, WikiPageResourceUtil
Generated:

Method Summary
 void cacheResult(java.util.List<WikiPageResource> wikiPageResources)
           
 void cacheResult(WikiPageResource wikiPageResource)
           
 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 fetchByN_T(long nodeId, java.lang.String title, boolean retrieveFromCache)
           
 WikiPageResource fetchByPrimaryKey(long resourcePrimKey)
           
 java.util.List<WikiPageResource> findAll()
           
 java.util.List<WikiPageResource> findAll(int start, int end)
           
 java.util.List<WikiPageResource> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiPageResource findByN_T(long nodeId, java.lang.String title)
           
 WikiPageResource findByPrimaryKey(long resourcePrimKey)
           
 WikiPageResource remove(long resourcePrimKey)
           
 void removeAll()
           
 void removeByN_T(long nodeId, java.lang.String title)
           
 WikiPageResource updateImpl(WikiPageResource wikiPageResource, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(WikiPageResource wikiPageResource)

cacheResult

void cacheResult(java.util.List<WikiPageResource> wikiPageResources)

create

WikiPageResource create(long resourcePrimKey)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByN_T

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

fetchByN_T

WikiPageResource fetchByN_T(long nodeId,
                            java.lang.String title)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByN_T

WikiPageResource fetchByN_T(long nodeId,
                            java.lang.String title,
                            boolean retrieveFromCache)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<WikiPageResource> findAll()
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<WikiPageResource> findAll(int start,
                                         int end)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<WikiPageResource> findAll(int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByN_T

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

removeAll

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

countByN_T

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

countAll

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