com.liferay.portal.service.persistence
Interface UserTrackerPersistence

All Superinterfaces:
BasePersistence<UserTracker>

public interface UserTrackerPersistence
extends BasePersistence<UserTracker>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
UserTrackerPersistenceImpl, UserTrackerUtil
Generated:

Method Summary
 void cacheResult(java.util.List<UserTracker> userTrackers)
           
 void cacheResult(UserTracker userTracker)
           
 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, OrderByComparator orderByComparator)
           
 UserTracker findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 UserTracker findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 UserTracker[] findByCompanyId_PrevAndNext(long userTrackerId, long companyId, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 UserTracker findByPrimaryKey(long userTrackerId)
           
 UserTracker findBySessionId_First(java.lang.String sessionId, OrderByComparator orderByComparator)
           
 UserTracker findBySessionId_Last(java.lang.String sessionId, OrderByComparator orderByComparator)
           
 UserTracker[] findBySessionId_PrevAndNext(long userTrackerId, java.lang.String sessionId, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 UserTracker findByUserId_First(long userId, OrderByComparator orderByComparator)
           
 UserTracker findByUserId_Last(long userId, OrderByComparator orderByComparator)
           
 UserTracker[] findByUserId_PrevAndNext(long userTrackerId, long userId, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 UserTracker remove(long userTrackerId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeBySessionId(java.lang.String sessionId)
           
 void removeByUserId(long userId)
           
 UserTracker updateImpl(UserTracker userTracker, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(UserTracker userTracker)

cacheResult

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

create

UserTracker create(long userTrackerId)

remove

UserTracker remove(long userTrackerId)
                   throws NoSuchUserTrackerException,
                          SystemException
Throws:
NoSuchUserTrackerException
SystemException

updateImpl

UserTracker updateImpl(UserTracker userTracker,
                       boolean merge)
                       throws SystemException
Throws:
SystemException

findByPrimaryKey

UserTracker findByPrimaryKey(long userTrackerId)
                             throws NoSuchUserTrackerException,
                                    SystemException
Throws:
NoSuchUserTrackerException
SystemException

fetchByPrimaryKey

UserTracker fetchByPrimaryKey(long userTrackerId)
                              throws SystemException
Throws:
SystemException

findByCompanyId

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

findByCompanyId

java.util.List<UserTracker> findByCompanyId(long companyId,
                                            int start,
                                            int end)
                                            throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<UserTracker> findByCompanyId(long companyId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Throws:
SystemException

findByCompanyId_First

UserTracker findByCompanyId_First(long companyId,
                                  OrderByComparator orderByComparator)
                                  throws NoSuchUserTrackerException,
                                         SystemException
Throws:
NoSuchUserTrackerException
SystemException

findByCompanyId_Last

UserTracker findByCompanyId_Last(long companyId,
                                 OrderByComparator orderByComparator)
                                 throws NoSuchUserTrackerException,
                                        SystemException
Throws:
NoSuchUserTrackerException
SystemException

findByCompanyId_PrevAndNext

UserTracker[] findByCompanyId_PrevAndNext(long userTrackerId,
                                          long companyId,
                                          OrderByComparator orderByComparator)
                                          throws NoSuchUserTrackerException,
                                                 SystemException
Throws:
NoSuchUserTrackerException
SystemException

findByUserId

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

findByUserId

java.util.List<UserTracker> findByUserId(long userId,
                                         int start,
                                         int end)
                                         throws SystemException
Throws:
SystemException

findByUserId

java.util.List<UserTracker> findByUserId(long userId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException

findByUserId_First

UserTracker findByUserId_First(long userId,
                               OrderByComparator orderByComparator)
                               throws NoSuchUserTrackerException,
                                      SystemException
Throws:
NoSuchUserTrackerException
SystemException

findByUserId_Last

UserTracker findByUserId_Last(long userId,
                              OrderByComparator orderByComparator)
                              throws NoSuchUserTrackerException,
                                     SystemException
Throws:
NoSuchUserTrackerException
SystemException

findByUserId_PrevAndNext

UserTracker[] findByUserId_PrevAndNext(long userTrackerId,
                                       long userId,
                                       OrderByComparator orderByComparator)
                                       throws NoSuchUserTrackerException,
                                              SystemException
Throws:
NoSuchUserTrackerException
SystemException

findBySessionId

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

findBySessionId

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

findBySessionId

java.util.List<UserTracker> findBySessionId(java.lang.String sessionId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Throws:
SystemException

findBySessionId_First

UserTracker findBySessionId_First(java.lang.String sessionId,
                                  OrderByComparator orderByComparator)
                                  throws NoSuchUserTrackerException,
                                         SystemException
Throws:
NoSuchUserTrackerException
SystemException

findBySessionId_Last

UserTracker findBySessionId_Last(java.lang.String sessionId,
                                 OrderByComparator orderByComparator)
                                 throws NoSuchUserTrackerException,
                                        SystemException
Throws:
NoSuchUserTrackerException
SystemException

findBySessionId_PrevAndNext

UserTracker[] findBySessionId_PrevAndNext(long userTrackerId,
                                          java.lang.String sessionId,
                                          OrderByComparator orderByComparator)
                                          throws NoSuchUserTrackerException,
                                                 SystemException
Throws:
NoSuchUserTrackerException
SystemException

findAll

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

findAll

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

findAll

java.util.List<UserTracker> findAll(int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Throws:
SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByUserId

void removeByUserId(long userId)
                    throws SystemException
Throws:
SystemException

removeBySessionId

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

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByUserId

int countByUserId(long userId)
                  throws SystemException
Throws:
SystemException

countBySessionId

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

countAll

int countAll()
             throws SystemException
Throws:
SystemException