com.liferay.portal.service.persistence
Interface UserTrackerPersistence


public interface UserTrackerPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countBySessionId(java.lang.String sessionId)
           
 int countByUserId(long userId)
           
 UserTracker create(long userTrackerId)
           
 UserTracker fetchByPrimaryKey(long userTrackerId)
           
 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)
           
 UserTracker findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserTracker findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserTracker[] findByCompanyId_PrevAndNext(long userTrackerId, 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)
           
 UserTracker findByPrimaryKey(long userTrackerId)
           
 UserTracker findBySessionId_First(java.lang.String sessionId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserTracker findBySessionId_Last(java.lang.String sessionId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserTracker[] findBySessionId_PrevAndNext(long userTrackerId, java.lang.String sessionId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findBySessionId(java.lang.String sessionId)
           
 java.util.List findBySessionId(java.lang.String sessionId, int begin, int end)
           
 java.util.List findBySessionId(java.lang.String sessionId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserTracker findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserTracker findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 UserTracker[] findByUserId_PrevAndNext(long userTrackerId, 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)
           
 UserTracker remove(long userTrackerId)
           
 UserTracker remove(UserTracker userTracker)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeBySessionId(java.lang.String sessionId)
           
 void removeByUserId(long userId)
           
 UserTracker update(UserTracker userTracker)
           
 UserTracker update(UserTracker userTracker, boolean merge)
           
 UserTracker updateImpl(UserTracker userTracker, boolean merge)
           
 

Method Detail

create

public UserTracker create(long userTrackerId)

remove

public UserTracker remove(long userTrackerId)
                   throws com.liferay.portal.SystemException,
                          NoSuchUserTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchUserTrackerException

remove

public UserTracker remove(UserTracker userTracker)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public UserTracker update(UserTracker userTracker)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public UserTracker update(UserTracker userTracker,
                          boolean merge)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public UserTracker updateImpl(UserTracker userTracker,
                              boolean merge)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public UserTracker findByPrimaryKey(long userTrackerId)
                             throws com.liferay.portal.SystemException,
                                    NoSuchUserTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchUserTrackerException

fetchByPrimaryKey

public UserTracker fetchByPrimaryKey(long userTrackerId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

public UserTracker[] findByCompanyId_PrevAndNext(long userTrackerId,
                                                 long companyId,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchUserTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchUserTrackerException

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 UserTracker findByUserId_First(long userId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchUserTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchUserTrackerException

findByUserId_Last

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

findByUserId_PrevAndNext

public UserTracker[] findByUserId_PrevAndNext(long userTrackerId,
                                              long userId,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchUserTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchUserTrackerException

findBySessionId

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

findBySessionId

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

findBySessionId

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

findBySessionId_First

public UserTracker findBySessionId_First(java.lang.String sessionId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchUserTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchUserTrackerException

findBySessionId_Last

public UserTracker findBySessionId_Last(java.lang.String sessionId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchUserTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchUserTrackerException

findBySessionId_PrevAndNext

public UserTracker[] findBySessionId_PrevAndNext(long userTrackerId,
                                                 java.lang.String sessionId,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchUserTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchUserTrackerException

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

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

removeBySessionId

public void removeBySessionId(java.lang.String sessionId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countBySessionId

public int countBySessionId(java.lang.String sessionId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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