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<UserTracker> findAll()
           
 java.util.List<UserTracker> findAll(int begin, int end)
           
 java.util.List<UserTracker> 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<UserTracker> findByCompanyId(long companyId)
           
 java.util.List<UserTracker> findByCompanyId(long companyId, int begin, int end)
           
 java.util.List<UserTracker> 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<UserTracker> findBySessionId(java.lang.String sessionId)
           
 java.util.List<UserTracker> findBySessionId(java.lang.String sessionId, int begin, int end)
           
 java.util.List<UserTracker> 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<UserTracker> findByUserId(long userId)
           
 java.util.List<UserTracker> findByUserId(long userId, int begin, int end)
           
 java.util.List<UserTracker> findByUserId(long userId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<UserTracker> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<UserTracker> 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)
          Deprecated. Use update(UserTracker userTracker, boolean merge).
 UserTracker update(UserTracker userTracker, boolean merge)
          Add, update, or merge, the entity.
 UserTracker updateImpl(UserTracker userTracker, boolean merge)
           
 

Method Detail

create

UserTracker create(long userTrackerId)

remove

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

remove

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

update

UserTracker update(UserTracker userTracker)
                   throws com.liferay.portal.SystemException
Deprecated. Use update(UserTracker userTracker, boolean merge).

Throws:
com.liferay.portal.SystemException

update

UserTracker update(UserTracker userTracker,
                   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:
userTracker - 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 userTracker 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

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId

java.util.List<UserTracker> 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

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

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

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

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

findByUserId

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

findByUserId

java.util.List<UserTracker> 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

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

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

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

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

findBySessionId

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

findBySessionId

java.util.List<UserTracker> 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

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

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

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

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

findWithDynamicQuery

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

findAll

java.util.List<UserTracker> findAll()
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

removeByCompanyId

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

removeByUserId

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

removeBySessionId

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

removeAll

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

countByCompanyId

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

countByUserId

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

countBySessionId

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

countAll

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