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)
           
 int countByUuid(java.lang.String uuid)
           
 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, OrderByComparator orderByComparator)
           
 WikiPageResource findByN_T(long nodeId, java.lang.String title)
           
 WikiPageResource findByPrimaryKey(long resourcePrimKey)
           
 WikiPageResource findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator)
           
 WikiPageResource findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator)
           
 WikiPageResource[] findByUuid_PrevAndNext(long resourcePrimKey, java.lang.String uuid, OrderByComparator orderByComparator)
           
 java.util.List<WikiPageResource> findByUuid(java.lang.String uuid)
           
 java.util.List<WikiPageResource> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<WikiPageResource> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator)
           
 WikiPageResource remove(long resourcePrimKey)
           
 void removeAll()
           
 void removeByN_T(long nodeId, java.lang.String title)
           
 void removeByUuid(java.lang.String uuid)
           
 WikiPageResource updateImpl(WikiPageResource wikiPageResource, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, 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 SystemException,
                               NoSuchPageResourceException
Throws:
SystemException
NoSuchPageResourceException

updateImpl

WikiPageResource updateImpl(WikiPageResource wikiPageResource,
                            boolean merge)
                            throws SystemException
Throws:
SystemException

findByPrimaryKey

WikiPageResource findByPrimaryKey(long resourcePrimKey)
                                  throws SystemException,
                                         NoSuchPageResourceException
Throws:
SystemException
NoSuchPageResourceException

fetchByPrimaryKey

WikiPageResource fetchByPrimaryKey(long resourcePrimKey)
                                   throws SystemException
Throws:
SystemException

findByUuid

java.util.List<WikiPageResource> findByUuid(java.lang.String uuid)
                                            throws SystemException
Throws:
SystemException

findByUuid

java.util.List<WikiPageResource> findByUuid(java.lang.String uuid,
                                            int start,
                                            int end)
                                            throws SystemException
Throws:
SystemException

findByUuid

java.util.List<WikiPageResource> findByUuid(java.lang.String uuid,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Throws:
SystemException

findByUuid_First

WikiPageResource findByUuid_First(java.lang.String uuid,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchPageResourceException
Throws:
SystemException
NoSuchPageResourceException

findByUuid_Last

WikiPageResource findByUuid_Last(java.lang.String uuid,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchPageResourceException
Throws:
SystemException
NoSuchPageResourceException

findByUuid_PrevAndNext

WikiPageResource[] findByUuid_PrevAndNext(long resourcePrimKey,
                                          java.lang.String uuid,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchPageResourceException
Throws:
SystemException
NoSuchPageResourceException

findByN_T

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

fetchByN_T

WikiPageResource fetchByN_T(long nodeId,
                            java.lang.String title)
                            throws SystemException
Throws:
SystemException

fetchByN_T

WikiPageResource fetchByN_T(long nodeId,
                            java.lang.String title,
                            boolean retrieveFromCache)
                            throws SystemException
Throws:
SystemException

findAll

java.util.List<WikiPageResource> findAll()
                                         throws SystemException
Throws:
SystemException

findAll

java.util.List<WikiPageResource> findAll(int start,
                                         int end)
                                         throws SystemException
Throws:
SystemException

findAll

java.util.List<WikiPageResource> findAll(int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws SystemException
Throws:
SystemException

removeByN_T

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

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

int countByUuid(java.lang.String uuid)
                throws SystemException
Throws:
SystemException

countByN_T

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

countAll

int countAll()
             throws SystemException
Throws:
SystemException