001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.UserTracker;
018
019
025 public interface UserTrackerPersistence extends BasePersistence<UserTracker> {
026 public void cacheResult(com.liferay.portal.model.UserTracker userTracker);
027
028 public void cacheResult(
029 java.util.List<com.liferay.portal.model.UserTracker> userTrackers);
030
031 public com.liferay.portal.model.UserTracker create(long userTrackerId);
032
033 public com.liferay.portal.model.UserTracker remove(long userTrackerId)
034 throws com.liferay.portal.NoSuchUserTrackerException,
035 com.liferay.portal.kernel.exception.SystemException;
036
037 public com.liferay.portal.model.UserTracker updateImpl(
038 com.liferay.portal.model.UserTracker userTracker, boolean merge)
039 throws com.liferay.portal.kernel.exception.SystemException;
040
041 public com.liferay.portal.model.UserTracker findByPrimaryKey(
042 long userTrackerId)
043 throws com.liferay.portal.NoSuchUserTrackerException,
044 com.liferay.portal.kernel.exception.SystemException;
045
046 public com.liferay.portal.model.UserTracker fetchByPrimaryKey(
047 long userTrackerId)
048 throws com.liferay.portal.kernel.exception.SystemException;
049
050 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
051 long companyId)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
055 long companyId, int start, int end)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
059 long companyId, int start, int end,
060 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
061 throws com.liferay.portal.kernel.exception.SystemException;
062
063 public com.liferay.portal.model.UserTracker findByCompanyId_First(
064 long companyId,
065 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
066 throws com.liferay.portal.NoSuchUserTrackerException,
067 com.liferay.portal.kernel.exception.SystemException;
068
069 public com.liferay.portal.model.UserTracker findByCompanyId_Last(
070 long companyId,
071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072 throws com.liferay.portal.NoSuchUserTrackerException,
073 com.liferay.portal.kernel.exception.SystemException;
074
075 public com.liferay.portal.model.UserTracker[] findByCompanyId_PrevAndNext(
076 long userTrackerId, long companyId,
077 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078 throws com.liferay.portal.NoSuchUserTrackerException,
079 com.liferay.portal.kernel.exception.SystemException;
080
081 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
082 long userId) throws com.liferay.portal.kernel.exception.SystemException;
083
084 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
085 long userId, int start, int end)
086 throws com.liferay.portal.kernel.exception.SystemException;
087
088 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
089 long userId, int start, int end,
090 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
091 throws com.liferay.portal.kernel.exception.SystemException;
092
093 public com.liferay.portal.model.UserTracker findByUserId_First(
094 long userId,
095 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
096 throws com.liferay.portal.NoSuchUserTrackerException,
097 com.liferay.portal.kernel.exception.SystemException;
098
099 public com.liferay.portal.model.UserTracker findByUserId_Last(long userId,
100 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
101 throws com.liferay.portal.NoSuchUserTrackerException,
102 com.liferay.portal.kernel.exception.SystemException;
103
104 public com.liferay.portal.model.UserTracker[] findByUserId_PrevAndNext(
105 long userTrackerId, long userId,
106 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
107 throws com.liferay.portal.NoSuchUserTrackerException,
108 com.liferay.portal.kernel.exception.SystemException;
109
110 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
111 java.lang.String sessionId)
112 throws com.liferay.portal.kernel.exception.SystemException;
113
114 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
115 java.lang.String sessionId, int start, int end)
116 throws com.liferay.portal.kernel.exception.SystemException;
117
118 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
119 java.lang.String sessionId, int start, int end,
120 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
121 throws com.liferay.portal.kernel.exception.SystemException;
122
123 public com.liferay.portal.model.UserTracker findBySessionId_First(
124 java.lang.String sessionId,
125 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
126 throws com.liferay.portal.NoSuchUserTrackerException,
127 com.liferay.portal.kernel.exception.SystemException;
128
129 public com.liferay.portal.model.UserTracker findBySessionId_Last(
130 java.lang.String sessionId,
131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
132 throws com.liferay.portal.NoSuchUserTrackerException,
133 com.liferay.portal.kernel.exception.SystemException;
134
135 public com.liferay.portal.model.UserTracker[] findBySessionId_PrevAndNext(
136 long userTrackerId, java.lang.String sessionId,
137 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138 throws com.liferay.portal.NoSuchUserTrackerException,
139 com.liferay.portal.kernel.exception.SystemException;
140
141 public java.util.List<com.liferay.portal.model.UserTracker> findAll()
142 throws com.liferay.portal.kernel.exception.SystemException;
143
144 public java.util.List<com.liferay.portal.model.UserTracker> findAll(
145 int start, int end)
146 throws com.liferay.portal.kernel.exception.SystemException;
147
148 public java.util.List<com.liferay.portal.model.UserTracker> findAll(
149 int start, int end,
150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151 throws com.liferay.portal.kernel.exception.SystemException;
152
153 public void removeByCompanyId(long companyId)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156 public void removeByUserId(long userId)
157 throws com.liferay.portal.kernel.exception.SystemException;
158
159 public void removeBySessionId(java.lang.String sessionId)
160 throws com.liferay.portal.kernel.exception.SystemException;
161
162 public void removeAll()
163 throws com.liferay.portal.kernel.exception.SystemException;
164
165 public int countByCompanyId(long companyId)
166 throws com.liferay.portal.kernel.exception.SystemException;
167
168 public int countByUserId(long userId)
169 throws com.liferay.portal.kernel.exception.SystemException;
170
171 public int countBySessionId(java.lang.String sessionId)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 public int countAll()
175 throws com.liferay.portal.kernel.exception.SystemException;
176 }