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)
           
 int filterCountByG_N(long groupId, java.lang.String name)
           
 int filterCountByGroupId(long groupId)
           
 java.util.List<WikiNode> filterFindByGroupId(long groupId)
           
 java.util.List<WikiNode> filterFindByGroupId(long groupId, int start, int end)
           
 java.util.List<WikiNode> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<WikiNode> findAll()
           
 java.util.List<WikiNode> findAll(int start, int end)
           
 java.util.List<WikiNode> findAll(int start, int end, OrderByComparator orderByComparator)
           
 WikiNode findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 WikiNode findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 WikiNode[] findByCompanyId_PrevAndNext(long nodeId, long companyId, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 WikiNode findByG_N(long groupId, java.lang.String name)
           
 WikiNode findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 WikiNode findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 WikiNode[] findByGroupId_PrevAndNext(long nodeId, long groupId, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 WikiNode findByPrimaryKey(long nodeId)
           
 WikiNode findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator)
           
 WikiNode findByUUID_G(java.lang.String uuid, long groupId)
           
 WikiNode findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator)
           
 WikiNode[] findByUuid_PrevAndNext(long nodeId, java.lang.String uuid, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 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, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, 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 SystemException,
                       NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

updateImpl

WikiNode updateImpl(WikiNode wikiNode,
                    boolean merge)
                    throws SystemException
Throws:
SystemException

findByPrimaryKey

WikiNode findByPrimaryKey(long nodeId)
                          throws SystemException,
                                 NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

fetchByPrimaryKey

WikiNode fetchByPrimaryKey(long nodeId)
                           throws SystemException
Throws:
SystemException

findByUuid

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

findByUuid

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

findByUuid

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

findByUuid_First

WikiNode findByUuid_First(java.lang.String uuid,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

findByUuid_Last

WikiNode findByUuid_Last(java.lang.String uuid,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

findByUuid_PrevAndNext

WikiNode[] findByUuid_PrevAndNext(long nodeId,
                                  java.lang.String uuid,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

findByUUID_G

WikiNode findByUUID_G(java.lang.String uuid,
                      long groupId)
                      throws SystemException,
                             NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

fetchByUUID_G

WikiNode fetchByUUID_G(java.lang.String uuid,
                       long groupId)
                       throws SystemException
Throws:
SystemException

fetchByUUID_G

WikiNode fetchByUUID_G(java.lang.String uuid,
                       long groupId,
                       boolean retrieveFromCache)
                       throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<WikiNode> findByGroupId(long groupId)
                                       throws SystemException
Throws:
SystemException

findByGroupId

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

findByGroupId

java.util.List<WikiNode> findByGroupId(long groupId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Throws:
SystemException

findByGroupId_First

WikiNode findByGroupId_First(long groupId,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

findByGroupId_Last

WikiNode findByGroupId_Last(long groupId,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

findByGroupId_PrevAndNext

WikiNode[] findByGroupId_PrevAndNext(long nodeId,
                                     long groupId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

filterFindByGroupId

java.util.List<WikiNode> filterFindByGroupId(long groupId)
                                             throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<WikiNode> filterFindByGroupId(long groupId,
                                             int start,
                                             int end)
                                             throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<WikiNode> filterFindByGroupId(long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<WikiNode> findByCompanyId(long companyId)
                                         throws SystemException
Throws:
SystemException

findByCompanyId

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

findByCompanyId

java.util.List<WikiNode> findByCompanyId(long companyId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException

findByCompanyId_First

WikiNode findByCompanyId_First(long companyId,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

findByCompanyId_Last

WikiNode findByCompanyId_Last(long companyId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

findByCompanyId_PrevAndNext

WikiNode[] findByCompanyId_PrevAndNext(long nodeId,
                                       long companyId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

findByG_N

WikiNode findByG_N(long groupId,
                   java.lang.String name)
                   throws SystemException,
                          NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

fetchByG_N

WikiNode fetchByG_N(long groupId,
                    java.lang.String name)
                    throws SystemException
Throws:
SystemException

fetchByG_N

WikiNode fetchByG_N(long groupId,
                    java.lang.String name,
                    boolean retrieveFromCache)
                    throws SystemException
Throws:
SystemException

findAll

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

findAll

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

findAll

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

removeByUuid

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

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws SystemException,
                           NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByG_N

void removeByG_N(long groupId,
                 java.lang.String name)
                 throws SystemException,
                        NoSuchNodeException
Throws:
SystemException
NoSuchNodeException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

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

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByG_N

int countByG_N(long groupId,
               java.lang.String name)
               throws SystemException
Throws:
SystemException

filterCountByG_N

int filterCountByG_N(long groupId,
                     java.lang.String name)
                     throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException