1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.UserTracker;
18
19
32 public interface UserTrackerPersistence extends BasePersistence<UserTracker> {
33 public void cacheResult(com.liferay.portal.model.UserTracker userTracker);
34
35 public void cacheResult(
36 java.util.List<com.liferay.portal.model.UserTracker> userTrackers);
37
38 public com.liferay.portal.model.UserTracker create(long userTrackerId);
39
40 public com.liferay.portal.model.UserTracker remove(long userTrackerId)
41 throws com.liferay.portal.NoSuchUserTrackerException,
42 com.liferay.portal.SystemException;
43
44
47 public com.liferay.portal.model.UserTracker update(
48 com.liferay.portal.model.UserTracker userTracker)
49 throws com.liferay.portal.SystemException;
50
51 public com.liferay.portal.model.UserTracker updateImpl(
52 com.liferay.portal.model.UserTracker userTracker, boolean merge)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portal.model.UserTracker findByPrimaryKey(
56 long userTrackerId)
57 throws com.liferay.portal.NoSuchUserTrackerException,
58 com.liferay.portal.SystemException;
59
60 public com.liferay.portal.model.UserTracker fetchByPrimaryKey(
61 long userTrackerId) throws com.liferay.portal.SystemException;
62
63 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
64 long companyId) throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
67 long companyId, int start, int end)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId(
71 long companyId, int start, int end,
72 com.liferay.portal.kernel.util.OrderByComparator obc)
73 throws com.liferay.portal.SystemException;
74
75 public com.liferay.portal.model.UserTracker findByCompanyId_First(
76 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
77 throws com.liferay.portal.NoSuchUserTrackerException,
78 com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.UserTracker findByCompanyId_Last(
81 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.NoSuchUserTrackerException,
83 com.liferay.portal.SystemException;
84
85 public com.liferay.portal.model.UserTracker[] findByCompanyId_PrevAndNext(
86 long userTrackerId, long companyId,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.NoSuchUserTrackerException,
89 com.liferay.portal.SystemException;
90
91 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
92 long userId) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
95 long userId, int start, int end)
96 throws com.liferay.portal.SystemException;
97
98 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId(
99 long userId, int start, int end,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException;
102
103 public com.liferay.portal.model.UserTracker findByUserId_First(
104 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.NoSuchUserTrackerException,
106 com.liferay.portal.SystemException;
107
108 public com.liferay.portal.model.UserTracker findByUserId_Last(long userId,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.NoSuchUserTrackerException,
111 com.liferay.portal.SystemException;
112
113 public com.liferay.portal.model.UserTracker[] findByUserId_PrevAndNext(
114 long userTrackerId, long userId,
115 com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.NoSuchUserTrackerException,
117 com.liferay.portal.SystemException;
118
119 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
120 java.lang.String sessionId) throws com.liferay.portal.SystemException;
121
122 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
123 java.lang.String sessionId, int start, int end)
124 throws com.liferay.portal.SystemException;
125
126 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId(
127 java.lang.String sessionId, int start, int end,
128 com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException;
130
131 public com.liferay.portal.model.UserTracker findBySessionId_First(
132 java.lang.String sessionId,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.NoSuchUserTrackerException,
135 com.liferay.portal.SystemException;
136
137 public com.liferay.portal.model.UserTracker findBySessionId_Last(
138 java.lang.String sessionId,
139 com.liferay.portal.kernel.util.OrderByComparator obc)
140 throws com.liferay.portal.NoSuchUserTrackerException,
141 com.liferay.portal.SystemException;
142
143 public com.liferay.portal.model.UserTracker[] findBySessionId_PrevAndNext(
144 long userTrackerId, java.lang.String sessionId,
145 com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.NoSuchUserTrackerException,
147 com.liferay.portal.SystemException;
148
149 public java.util.List<com.liferay.portal.model.UserTracker> findAll()
150 throws com.liferay.portal.SystemException;
151
152 public java.util.List<com.liferay.portal.model.UserTracker> findAll(
153 int start, int end) throws com.liferay.portal.SystemException;
154
155 public java.util.List<com.liferay.portal.model.UserTracker> findAll(
156 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
157 throws com.liferay.portal.SystemException;
158
159 public void removeByCompanyId(long companyId)
160 throws com.liferay.portal.SystemException;
161
162 public void removeByUserId(long userId)
163 throws com.liferay.portal.SystemException;
164
165 public void removeBySessionId(java.lang.String sessionId)
166 throws com.liferay.portal.SystemException;
167
168 public void removeAll() throws com.liferay.portal.SystemException;
169
170 public int countByCompanyId(long companyId)
171 throws com.liferay.portal.SystemException;
172
173 public int countByUserId(long userId)
174 throws com.liferay.portal.SystemException;
175
176 public int countBySessionId(java.lang.String sessionId)
177 throws com.liferay.portal.SystemException;
178
179 public int countAll() throws com.liferay.portal.SystemException;
180 }