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

All Superinterfaces:
BasePersistence

@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface JournalFeedPersistence
extends BasePersistence

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<JournalFeed> findAll()
           
 java.util.List<JournalFeed> findAll(int start, int end)
           
 java.util.List<JournalFeed> findAll(int start, 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<JournalFeed> findByGroupId(long groupId)
           
 java.util.List<JournalFeed> findByGroupId(long groupId, int start, int end)
           
 java.util.List<JournalFeed> findByGroupId(long groupId, int start, 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<JournalFeed> findByUuid(java.lang.String uuid)
           
 java.util.List<JournalFeed> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<JournalFeed> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, 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)
          Deprecated. Use update(JournalFeed journalFeed, boolean merge).
 JournalFeed update(JournalFeed journalFeed, boolean merge)
          Add, update, or merge, the entity.
 JournalFeed updateImpl(JournalFeed journalFeed, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

create

JournalFeed create(long id)

remove

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

remove

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

update

JournalFeed update(JournalFeed journalFeed)
                   throws com.liferay.portal.SystemException
Deprecated. Use update(JournalFeed journalFeed, boolean merge).

Throws:
com.liferay.portal.SystemException

update

JournalFeed update(JournalFeed journalFeed,
                   boolean merge)
                   throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
journalFeed - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when journalFeed is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalFeed findByPrimaryKey(long id)
                             throws com.liferay.portal.SystemException,
                                    NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

fetchByPrimaryKey

JournalFeed fetchByPrimaryKey(long id)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalFeed> findByUuid(java.lang.String uuid)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalFeed> findByUuid(java.lang.String uuid,
                                                     int start,
                                                     int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalFeed> findByUuid(java.lang.String uuid,
                                                     int start,
                                                     int end,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalFeed findByUUID_G(java.lang.String uuid,
                                       long groupId)
                         throws com.liferay.portal.SystemException,
                                NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

fetchByUUID_G

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

findByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalFeed> findByGroupId(long groupId)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalFeed> findByGroupId(long groupId,
                                                        int start,
                                                        int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalFeed> findByGroupId(long groupId,
                                                        int start,
                                                        int end,
                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalFeed findByG_F(long groupId,
                                    java.lang.String feedId)
                      throws com.liferay.portal.SystemException,
                             NoSuchFeedException
Throws:
com.liferay.portal.SystemException
NoSuchFeedException

fetchByG_F

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

findWithDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalFeed> findAll()
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalFeed> findAll(int start,
                                                  int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalFeed> findAll(int start,
                                                  int end,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUuid

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

removeByUUID_G

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

removeByGroupId

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

removeByG_F

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

removeAll

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

countByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByUUID_G(java.lang.String uuid,
                                long groupId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_F

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByG_F(long groupId,
                             java.lang.String feedId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException