com.liferay.portlet.wiki.service.persistence
Class WikiPageResourceUtil

java.lang.Object
  extended by com.liferay.portlet.wiki.service.persistence.WikiPageResourceUtil

public class WikiPageResourceUtil
extends java.lang.Object

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:
WikiPageResourcePersistence, WikiPageResourcePersistenceImpl
Generated:

Constructor Summary
WikiPageResourceUtil()
           
 
Method Summary
static void cacheResult(java.util.List<WikiPageResource> wikiPageResources)
           
static void cacheResult(WikiPageResource wikiPageResource)
           
static void clearCache()
           
static void clearCache(WikiPageResource wikiPageResource)
           
static int countAll()
           
static int countByN_T(long nodeId, java.lang.String title)
           
static int countByUuid(java.lang.String uuid)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static WikiPageResource create(long resourcePrimKey)
           
static WikiPageResource fetchByN_T(long nodeId, java.lang.String title)
           
static WikiPageResource fetchByN_T(long nodeId, java.lang.String title, boolean retrieveFromCache)
           
static WikiPageResource fetchByPrimaryKey(long resourcePrimKey)
           
static java.util.List<WikiPageResource> findAll()
           
static java.util.List<WikiPageResource> findAll(int start, int end)
           
static java.util.List<WikiPageResource> findAll(int start, int end, OrderByComparator orderByComparator)
           
static WikiPageResource findByN_T(long nodeId, java.lang.String title)
           
static WikiPageResource findByPrimaryKey(long resourcePrimKey)
           
static WikiPageResource findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator)
           
static WikiPageResource findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator)
           
static WikiPageResource[] findByUuid_PrevAndNext(long resourcePrimKey, java.lang.String uuid, OrderByComparator orderByComparator)
           
static java.util.List<WikiPageResource> findByUuid(java.lang.String uuid)
           
static java.util.List<WikiPageResource> findByUuid(java.lang.String uuid, int start, int end)
           
static java.util.List<WikiPageResource> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator)
           
static java.util.List<WikiPageResource> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List<WikiPageResource> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static WikiPageResourcePersistence getPersistence()
           
static WikiPageResource remove(long resourcePrimKey)
           
static WikiPageResource remove(WikiPageResource wikiPageResource)
           
static void removeAll()
           
static void removeByN_T(long nodeId, java.lang.String title)
           
static void removeByUuid(java.lang.String uuid)
           
 void setPersistence(WikiPageResourcePersistence persistence)
           
static WikiPageResource update(WikiPageResource wikiPageResource, boolean merge)
           
static WikiPageResource updateImpl(WikiPageResource wikiPageResource, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageResourceUtil

public WikiPageResourceUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(WikiPageResource wikiPageResource)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(WikiPageResource)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<WikiPageResource> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                             throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<WikiPageResource> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static WikiPageResource remove(WikiPageResource wikiPageResource)
                               throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static WikiPageResource update(WikiPageResource wikiPageResource,
                                      boolean merge)
                               throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(WikiPageResource wikiPageResource)

cacheResult

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

create

public static WikiPageResource create(long resourcePrimKey)

remove

public static WikiPageResource remove(long resourcePrimKey)
                               throws SystemException,
                                      NoSuchPageResourceException
Throws:
SystemException
NoSuchPageResourceException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public static WikiPageResource fetchByPrimaryKey(long resourcePrimKey)
                                          throws SystemException
Throws:
SystemException

findByUuid

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

findByUuid

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

findByUuid

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

findByUuid_First

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

findByUuid_Last

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

findByUuid_PrevAndNext

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

findByN_T

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

fetchByN_T

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

fetchByN_T

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

findAll

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

findAll

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

findAll

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

removeByUuid

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

removeByN_T

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

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByUuid

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

countByN_T

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

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static WikiPageResourcePersistence getPersistence()

setPersistence

public void setPersistence(WikiPageResourcePersistence persistence)