com.liferay.portal.service.persistence
Interface ActivityTrackerPersistence


public interface ActivityTrackerPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 int countByCompanyId(long companyId)
           
 int countByGroupId(long groupId)
           
 int countByReceiverUserId(long receiverUserId)
           
 int countByUserId(long userId)
           
 ActivityTracker create(long activityTrackerId)
           
 ActivityTracker fetchByPrimaryKey(long activityTrackerId)
           
 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)
           
 ActivityTracker findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker[] findByC_C_PrevAndNext(long activityTrackerId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByC_C(long classNameId, long classPK)
           
 java.util.List findByC_C(long classNameId, long classPK, int begin, int end)
           
 java.util.List findByC_C(long classNameId, long classPK, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker[] findByCompanyId_PrevAndNext(long activityTrackerId, 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)
           
 ActivityTracker findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker[] findByGroupId_PrevAndNext(long activityTrackerId, 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)
           
 ActivityTracker findByPrimaryKey(long activityTrackerId)
           
 ActivityTracker findByReceiverUserId_First(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker findByReceiverUserId_Last(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker[] findByReceiverUserId_PrevAndNext(long activityTrackerId, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByReceiverUserId(long receiverUserId)
           
 java.util.List findByReceiverUserId(long receiverUserId, int begin, int end)
           
 java.util.List findByReceiverUserId(long receiverUserId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ActivityTracker[] findByUserId_PrevAndNext(long activityTrackerId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByUserId(long userId)
           
 java.util.List findByUserId(long userId, int begin, int end)
           
 java.util.List findByUserId(long userId, 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)
           
 ActivityTracker remove(ActivityTracker activityTracker)
           
 ActivityTracker remove(long activityTrackerId)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByCompanyId(long companyId)
           
 void removeByGroupId(long groupId)
           
 void removeByReceiverUserId(long receiverUserId)
           
 void removeByUserId(long userId)
           
 ActivityTracker update(ActivityTracker activityTracker)
           
 ActivityTracker update(ActivityTracker activityTracker, boolean merge)
           
 ActivityTracker updateImpl(ActivityTracker activityTracker, boolean merge)
           
 

Method Detail

create

public ActivityTracker create(long activityTrackerId)

remove

public ActivityTracker remove(long activityTrackerId)
                       throws com.liferay.portal.SystemException,
                              NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

remove

public ActivityTracker remove(ActivityTracker activityTracker)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public ActivityTracker update(ActivityTracker activityTracker)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public ActivityTracker update(ActivityTracker activityTracker,
                              boolean merge)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public ActivityTracker updateImpl(ActivityTracker activityTracker,
                                  boolean merge)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public ActivityTracker findByPrimaryKey(long activityTrackerId)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

fetchByPrimaryKey

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

findByGroupId_Last

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

findByGroupId_PrevAndNext

public ActivityTracker[] findByGroupId_PrevAndNext(long activityTrackerId,
                                                   long groupId,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException,
                                                   NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

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 ActivityTracker findByCompanyId_First(long companyId,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

public ActivityTracker[] findByCompanyId_PrevAndNext(long activityTrackerId,
                                                     long companyId,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException,
                                                     NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

findByUserId

public java.util.List findByUserId(long userId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

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

findByUserId

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

findByUserId_First

public ActivityTracker findByUserId_First(long userId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

findByUserId_Last

public ActivityTracker findByUserId_Last(long userId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

findByUserId_PrevAndNext

public ActivityTracker[] findByUserId_PrevAndNext(long activityTrackerId,
                                                  long userId,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

findByReceiverUserId

public java.util.List findByReceiverUserId(long receiverUserId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByReceiverUserId

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

findByReceiverUserId

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

findByReceiverUserId_First

public ActivityTracker findByReceiverUserId_First(long receiverUserId,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

findByReceiverUserId_Last

public ActivityTracker findByReceiverUserId_Last(long receiverUserId,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

findByReceiverUserId_PrevAndNext

public ActivityTracker[] findByReceiverUserId_PrevAndNext(long activityTrackerId,
                                                          long receiverUserId,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.SystemException,
                                                          NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

findByC_C

public java.util.List findByC_C(long classNameId,
                                long classPK)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

public java.util.List findByC_C(long classNameId,
                                long classPK,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

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

findByC_C_First

public ActivityTracker findByC_C_First(long classNameId,
                                       long classPK,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException,
                                       NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

findByC_C_Last

public ActivityTracker findByC_C_Last(long classNameId,
                                      long classPK,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

findByC_C_PrevAndNext

public ActivityTracker[] findByC_C_PrevAndNext(long activityTrackerId,
                                               long classNameId,
                                               long classPK,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchActivityTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException

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

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

removeByUserId

public void removeByUserId(long userId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByReceiverUserId

public void removeByReceiverUserId(long receiverUserId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_C

public void removeByC_C(long classNameId,
                        long classPK)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

public void removeAll()
               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

countByUserId

public int countByUserId(long userId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByReceiverUserId

public int countByReceiverUserId(long receiverUserId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C

public int countByC_C(long classNameId,
                      long classPK)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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