1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public interface ActivityTrackerPersistence {
32 public com.liferay.portal.model.ActivityTracker create(
33 long activityTrackerId);
34
35 public com.liferay.portal.model.ActivityTracker remove(
36 long activityTrackerId)
37 throws com.liferay.portal.SystemException,
38 com.liferay.portal.NoSuchActivityTrackerException;
39
40 public com.liferay.portal.model.ActivityTracker remove(
41 com.liferay.portal.model.ActivityTracker activityTracker)
42 throws com.liferay.portal.SystemException;
43
44 public com.liferay.portal.model.ActivityTracker update(
45 com.liferay.portal.model.ActivityTracker activityTracker)
46 throws com.liferay.portal.SystemException;
47
48 public com.liferay.portal.model.ActivityTracker update(
49 com.liferay.portal.model.ActivityTracker activityTracker, boolean merge)
50 throws com.liferay.portal.SystemException;
51
52 public com.liferay.portal.model.ActivityTracker updateImpl(
53 com.liferay.portal.model.ActivityTracker activityTracker, boolean merge)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portal.model.ActivityTracker findByPrimaryKey(
57 long activityTrackerId)
58 throws com.liferay.portal.SystemException,
59 com.liferay.portal.NoSuchActivityTrackerException;
60
61 public com.liferay.portal.model.ActivityTracker fetchByPrimaryKey(
62 long activityTrackerId) throws com.liferay.portal.SystemException;
63
64 public java.util.List findByGroupId(long groupId)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List findByGroupId(long groupId, int begin, int end)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List findByGroupId(long groupId, int begin, int end,
71 com.liferay.portal.kernel.util.OrderByComparator obc)
72 throws com.liferay.portal.SystemException;
73
74 public com.liferay.portal.model.ActivityTracker findByGroupId_First(
75 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.SystemException,
77 com.liferay.portal.NoSuchActivityTrackerException;
78
79 public com.liferay.portal.model.ActivityTracker findByGroupId_Last(
80 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portal.NoSuchActivityTrackerException;
83
84 public com.liferay.portal.model.ActivityTracker[] findByGroupId_PrevAndNext(
85 long activityTrackerId, long groupId,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portal.NoSuchActivityTrackerException;
89
90 public java.util.List findByCompanyId(long companyId)
91 throws com.liferay.portal.SystemException;
92
93 public java.util.List findByCompanyId(long companyId, int begin, int end)
94 throws com.liferay.portal.SystemException;
95
96 public java.util.List findByCompanyId(long companyId, int begin, int end,
97 com.liferay.portal.kernel.util.OrderByComparator obc)
98 throws com.liferay.portal.SystemException;
99
100 public com.liferay.portal.model.ActivityTracker findByCompanyId_First(
101 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
102 throws com.liferay.portal.SystemException,
103 com.liferay.portal.NoSuchActivityTrackerException;
104
105 public com.liferay.portal.model.ActivityTracker findByCompanyId_Last(
106 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portal.NoSuchActivityTrackerException;
109
110 public com.liferay.portal.model.ActivityTracker[] findByCompanyId_PrevAndNext(
111 long activityTrackerId, long companyId,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portal.NoSuchActivityTrackerException;
115
116 public java.util.List findByUserId(long userId)
117 throws com.liferay.portal.SystemException;
118
119 public java.util.List findByUserId(long userId, int begin, int end)
120 throws com.liferay.portal.SystemException;
121
122 public java.util.List findByUserId(long userId, int begin, int end,
123 com.liferay.portal.kernel.util.OrderByComparator obc)
124 throws com.liferay.portal.SystemException;
125
126 public com.liferay.portal.model.ActivityTracker findByUserId_First(
127 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portal.NoSuchActivityTrackerException;
130
131 public com.liferay.portal.model.ActivityTracker findByUserId_Last(
132 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portal.NoSuchActivityTrackerException;
135
136 public com.liferay.portal.model.ActivityTracker[] findByUserId_PrevAndNext(
137 long activityTrackerId, long userId,
138 com.liferay.portal.kernel.util.OrderByComparator obc)
139 throws com.liferay.portal.SystemException,
140 com.liferay.portal.NoSuchActivityTrackerException;
141
142 public java.util.List findByReceiverUserId(long receiverUserId)
143 throws com.liferay.portal.SystemException;
144
145 public java.util.List findByReceiverUserId(long receiverUserId, int begin,
146 int end) throws com.liferay.portal.SystemException;
147
148 public java.util.List findByReceiverUserId(long receiverUserId, int begin,
149 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException;
151
152 public com.liferay.portal.model.ActivityTracker findByReceiverUserId_First(
153 long receiverUserId,
154 com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.SystemException,
156 com.liferay.portal.NoSuchActivityTrackerException;
157
158 public com.liferay.portal.model.ActivityTracker findByReceiverUserId_Last(
159 long receiverUserId,
160 com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portal.NoSuchActivityTrackerException;
163
164 public com.liferay.portal.model.ActivityTracker[] findByReceiverUserId_PrevAndNext(
165 long activityTrackerId, long receiverUserId,
166 com.liferay.portal.kernel.util.OrderByComparator obc)
167 throws com.liferay.portal.SystemException,
168 com.liferay.portal.NoSuchActivityTrackerException;
169
170 public java.util.List findByC_C(long classNameId, long classPK)
171 throws com.liferay.portal.SystemException;
172
173 public java.util.List findByC_C(long classNameId, long classPK, int begin,
174 int end) throws com.liferay.portal.SystemException;
175
176 public java.util.List findByC_C(long classNameId, long classPK, int begin,
177 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException;
179
180 public com.liferay.portal.model.ActivityTracker findByC_C_First(
181 long classNameId, long classPK,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException,
184 com.liferay.portal.NoSuchActivityTrackerException;
185
186 public com.liferay.portal.model.ActivityTracker findByC_C_Last(
187 long classNameId, long classPK,
188 com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.SystemException,
190 com.liferay.portal.NoSuchActivityTrackerException;
191
192 public com.liferay.portal.model.ActivityTracker[] findByC_C_PrevAndNext(
193 long activityTrackerId, long classNameId, long classPK,
194 com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portal.NoSuchActivityTrackerException;
197
198 public java.util.List findWithDynamicQuery(
199 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
200 throws com.liferay.portal.SystemException;
201
202 public java.util.List findWithDynamicQuery(
203 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
204 int begin, int end) throws com.liferay.portal.SystemException;
205
206 public java.util.List findAll() throws com.liferay.portal.SystemException;
207
208 public java.util.List findAll(int begin, int end)
209 throws com.liferay.portal.SystemException;
210
211 public java.util.List findAll(int begin, int end,
212 com.liferay.portal.kernel.util.OrderByComparator obc)
213 throws com.liferay.portal.SystemException;
214
215 public void removeByGroupId(long groupId)
216 throws com.liferay.portal.SystemException;
217
218 public void removeByCompanyId(long companyId)
219 throws com.liferay.portal.SystemException;
220
221 public void removeByUserId(long userId)
222 throws com.liferay.portal.SystemException;
223
224 public void removeByReceiverUserId(long receiverUserId)
225 throws com.liferay.portal.SystemException;
226
227 public void removeByC_C(long classNameId, long classPK)
228 throws com.liferay.portal.SystemException;
229
230 public void removeAll() throws com.liferay.portal.SystemException;
231
232 public int countByGroupId(long groupId)
233 throws com.liferay.portal.SystemException;
234
235 public int countByCompanyId(long companyId)
236 throws com.liferay.portal.SystemException;
237
238 public int countByUserId(long userId)
239 throws com.liferay.portal.SystemException;
240
241 public int countByReceiverUserId(long receiverUserId)
242 throws com.liferay.portal.SystemException;
243
244 public int countByC_C(long classNameId, long classPK)
245 throws com.liferay.portal.SystemException;
246
247 public int countAll() throws com.liferay.portal.SystemException;
248 }