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


public interface WikiNodePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 WikiNode create(long nodeId)
           
 WikiNode fetchByPrimaryKey(long nodeId)
           
 WikiNode fetchByUUID_G(java.lang.String uuid, long groupId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, 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 findByCompanyId(long companyId)
           
 java.util.List findByCompanyId(long companyId, int begin, int end)
           
 java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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 findByGroupId(long groupId)
           
 java.util.List findByGroupId(long groupId, int begin, int end)
           
 java.util.List findByGroupId(long groupId, int begin, 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 findByUuid(java.lang.String uuid)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 WikiNode remove(long nodeId)
           
 WikiNode remove(WikiNode wikiNode)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 WikiNode update(WikiNode wikiNode)
           
 WikiNode update(WikiNode wikiNode, boolean merge)
           
 WikiNode updateImpl(WikiNode wikiNode, boolean merge)
           
 

Method Detail

create

public WikiNode create(long nodeId)

remove

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

remove

public WikiNode remove(WikiNode wikiNode)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public WikiNode update(WikiNode wikiNode)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public WikiNode update(WikiNode wikiNode,
                       boolean merge)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

public java.util.List findByUuid(java.lang.String uuid)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List findByUuid(java.lang.String uuid,
                                 int begin,
                                 int end)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List findByUuid(java.lang.String uuid,
                                 int begin,
                                 int end,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

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

findByUuid_Last

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

findByUuid_PrevAndNext

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

findByUUID_G

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

fetchByUUID_G

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

findByGroupId

public java.util.List findByGroupId(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

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

findByGroupId_Last

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

findByGroupId_PrevAndNext

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

findByCompanyId

public java.util.List findByCompanyId(long companyId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List findByCompanyId(long companyId,
                                      int begin,
                                      int end)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List findByCompanyId(long companyId,
                                      int begin,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

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

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

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

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUuid

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

removeByUUID_G

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

removeByGroupId

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

removeByCompanyId

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

removeAll

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

countByUuid

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

countByUUID_G

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

countByGroupId

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

countByCompanyId

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

countAll

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