com.liferay.portal.service.persistence
Interface UserTrackerPersistence

All Superinterfaces:
BasePersistence

public interface UserTrackerPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void cacheResult(java.util.List<UserTracker> userTrackers)
           
 void cacheResult(UserTracker userTracker)
           
 void clearCache()
           
 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 start, int end)
           
 java.util.List<UserTracker> findAll(int start, 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 start, int end)
           
 java.util.List<UserTracker> findByCompanyId(long companyId, int start, 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 start, int end)
           
 java.util.List<UserTracker> findBySessionId(java.lang.String sessionId, int start, 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 start, int end)
           
 java.util.List<UserTracker> findByUserId(long userId, 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)
           
 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)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

cacheResult

void cacheResult(UserTracker userTracker)

cacheResult

void cacheResult(java.util.List<UserTracker> userTrackers)

clearCache

void clearCache()
Specified by:
clearCache in interface BasePersistence

create

UserTracker create(long userTrackerId)

remove

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

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

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 start,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<UserTracker> findByCompanyId(long companyId,
                                            int start,
                                            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 NoSuchUserTrackerException,
                                         com.liferay.portal.SystemException
Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

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

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 start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

java.util.List<UserTracker> findByUserId(long userId,
                                         int start,
                                         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 NoSuchUserTrackerException,
                                      com.liferay.portal.SystemException
Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException

findByUserId_Last

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

findByUserId_PrevAndNext

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

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 start,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findBySessionId

java.util.List<UserTracker> findBySessionId(java.lang.String sessionId,
                                            int start,
                                            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 NoSuchUserTrackerException,
                                         com.liferay.portal.SystemException
Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException

findBySessionId_Last

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

findBySessionId_PrevAndNext

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

findWithDynamicQuery

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

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

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

findAll

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

findAll

java.util.List<UserTracker> findAll(int start,
                                    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