com.liferay.portlet.journal.service.persistence
Interface JournalFeedPersistence


public interface JournalFeedPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByG_F(long groupId, java.lang.String feedId)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 JournalFeed create(long id)
           
 JournalFeed fetchByG_F(long groupId, java.lang.String feedId)
           
 JournalFeed fetchByPrimaryKey(long id)
           
 JournalFeed 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)
           
 JournalFeed findByG_F(long groupId, java.lang.String feedId)
           
 JournalFeed findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalFeed findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalFeed[] findByGroupId_PrevAndNext(long id, 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)
           
 JournalFeed findByPrimaryKey(long id)
           
 JournalFeed findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalFeed findByUUID_G(java.lang.String uuid, long groupId)
           
 JournalFeed findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalFeed[] findByUuid_PrevAndNext(long id, 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)
           
 JournalFeed remove(JournalFeed journalFeed)
           
 JournalFeed remove(long id)
           
 void removeAll()
           
 void removeByG_F(long groupId, java.lang.String feedId)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 JournalFeed update(JournalFeed journalFeed)
           
 JournalFeed update(JournalFeed journalFeed, boolean merge)
           
 JournalFeed updateImpl(JournalFeed journalFeed, boolean merge)
           
 

Method Detail

create

public JournalFeed create(long id)

remove

public JournalFeed remove(long id)
                   throws com.liferay.portal.SystemException,
                          NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

remove

public JournalFeed remove(JournalFeed journalFeed)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public JournalFeed update(JournalFeed journalFeed)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public JournalFeed update(JournalFeed journalFeed,
                          boolean merge)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public JournalFeed updateImpl(JournalFeed journalFeed,
                              boolean merge)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public JournalFeed findByPrimaryKey(long id)
                             throws com.liferay.portal.SystemException,
                                    NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

fetchByPrimaryKey

public JournalFeed fetchByPrimaryKey(long id)
                              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 JournalFeed findByUuid_First(java.lang.String uuid,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException,
                                    NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

findByUuid_Last

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

findByUuid_PrevAndNext

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

findByUUID_G

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

fetchByUUID_G

public JournalFeed 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 JournalFeed findByGroupId_First(long groupId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException,
                                       NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

findByGroupId_Last

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

findByGroupId_PrevAndNext

public JournalFeed[] findByGroupId_PrevAndNext(long id,
                                               long groupId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

findByG_F

public JournalFeed findByG_F(long groupId,
                             java.lang.String feedId)
                      throws com.liferay.portal.SystemException,
                             NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

fetchByG_F

public JournalFeed fetchByG_F(long groupId,
                              java.lang.String feedId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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,
                           NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

removeByGroupId

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

removeByG_F

public void removeByG_F(long groupId,
                        java.lang.String feedId)
                 throws com.liferay.portal.SystemException,
                        NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

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

countByG_F

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

countAll

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