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

All Superinterfaces:
BasePersistence<WikiNode>

public interface WikiNodePersistence
extends BasePersistence<WikiNode>

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:
WikiNodePersistenceImpl, WikiNodeUtil
Generated:

Method Summary
 void cacheResult(java.util.List<WikiNode> wikiNodes)
           
 void cacheResult(WikiNode wikiNode)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_N(long groupId, java.lang.String name)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 WikiNode create(long nodeId)
           
 WikiNode fetchByG_N(long groupId, java.lang.String name)
           
 WikiNode fetchByG_N(long groupId, java.lang.String name, boolean retrieveFromCache)
           
 WikiNode fetchByPrimaryKey(long nodeId)
           
 WikiNode fetchByUUID_G(java.lang.String uuid, long groupId)
           
 WikiNode fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 java.util.List<WikiNode> findAll()
           
 java.util.List<WikiNode> findAll(int start, int end)
           
 java.util.List<WikiNode> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiNode findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiNode findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiNode[] findByCompanyId_PrevAndNext(long nodeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<WikiNode> findByCompanyId(long companyId)
           
 java.util.List<WikiNode> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<WikiNode> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiNode findByG_N(long groupId, java.lang.String name)
           
 WikiNode findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiNode findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiNode[] findByGroupId_PrevAndNext(long nodeId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<WikiNode> findByGroupId(long groupId)
           
 java.util.List<WikiNode> findByGroupId(long groupId, int start, int end)
           
 java.util.List<WikiNode> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiNode findByPrimaryKey(long nodeId)
           
 WikiNode findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiNode findByUUID_G(java.lang.String uuid, long groupId)
           
 WikiNode findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiNode[] findByUuid_PrevAndNext(long nodeId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<WikiNode> findByUuid(java.lang.String uuid)
           
 java.util.List<WikiNode> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<WikiNode> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 WikiNode remove(long nodeId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_N(long groupId, java.lang.String name)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 WikiNode updateImpl(WikiNode wikiNode, 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(WikiNode wikiNode)

cacheResult

void cacheResult(java.util.List<WikiNode> wikiNodes)

create

WikiNode create(long nodeId)

remove

WikiNode remove(long nodeId)
                throws com.liferay.portal.kernel.exception.SystemException,
                       NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

updateImpl

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

findByPrimaryKey

WikiNode findByPrimaryKey(long nodeId)
                          throws com.liferay.portal.kernel.exception.SystemException,
                                 NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

fetchByPrimaryKey

WikiNode fetchByPrimaryKey(long nodeId)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

java.util.List<WikiNode> findByUuid(java.lang.String uuid)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

java.util.List<WikiNode> findByUuid(java.lang.String uuid,
                                    int start,
                                    int end)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

java.util.List<WikiNode> findByUuid(java.lang.String uuid,
                                    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

findByUuid_First

WikiNode findByUuid_First(java.lang.String uuid,
                          com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.kernel.exception.SystemException,
                                 NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

findByUuid_Last

WikiNode findByUuid_Last(java.lang.String uuid,
                         com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.kernel.exception.SystemException,
                                NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

findByUuid_PrevAndNext

WikiNode[] findByUuid_PrevAndNext(long nodeId,
                                  java.lang.String uuid,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.kernel.exception.SystemException,
                                         NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

findByUUID_G

WikiNode findByUUID_G(java.lang.String uuid,
                      long groupId)
                      throws com.liferay.portal.kernel.exception.SystemException,
                             NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

fetchByUUID_G

WikiNode fetchByUUID_G(java.lang.String uuid,
                       long groupId)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByUUID_G

WikiNode fetchByUUID_G(java.lang.String uuid,
                       long groupId,
                       boolean retrieveFromCache)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<WikiNode> findByGroupId(long groupId)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<WikiNode> findByGroupId(long groupId,
                                       int start,
                                       int end)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<WikiNode> findByGroupId(long groupId,
                                       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

findByGroupId_First

WikiNode findByGroupId_First(long groupId,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.kernel.exception.SystemException,
                                    NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

findByGroupId_Last

WikiNode findByGroupId_Last(long groupId,
                            com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.kernel.exception.SystemException,
                                   NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

findByGroupId_PrevAndNext

WikiNode[] findByGroupId_PrevAndNext(long nodeId,
                                     long groupId,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException,
                                            NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

findByCompanyId

java.util.List<WikiNode> findByCompanyId(long companyId)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

java.util.List<WikiNode> findByCompanyId(long companyId,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

java.util.List<WikiNode> findByCompanyId(long companyId,
                                         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

findByCompanyId_First

WikiNode findByCompanyId_First(long companyId,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

findByCompanyId_Last

WikiNode findByCompanyId_Last(long companyId,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.kernel.exception.SystemException,
                                     NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

findByCompanyId_PrevAndNext

WikiNode[] findByCompanyId_PrevAndNext(long nodeId,
                                       long companyId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.kernel.exception.SystemException,
                                              NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

findByG_N

WikiNode findByG_N(long groupId,
                   java.lang.String name)
                   throws com.liferay.portal.kernel.exception.SystemException,
                          NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

fetchByG_N

WikiNode fetchByG_N(long groupId,
                    java.lang.String name)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByG_N

WikiNode fetchByG_N(long groupId,
                    java.lang.String name,
                    boolean retrieveFromCache)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

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

findAll

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

findAll

java.util.List<WikiNode> 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

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws com.liferay.portal.kernel.exception.SystemException,
                           NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_N

void removeByG_N(long groupId,
                 java.lang.String name)
                 throws com.liferay.portal.kernel.exception.SystemException,
                        NoSuchNodeException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchNodeException

removeAll

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

countByUuid

int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_N

int countByG_N(long groupId,
               java.lang.String name)
               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