1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.SystemException;
18 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
19 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
20 import com.liferay.portal.kernel.util.ReferenceRegistry;
21 import com.liferay.portal.model.UserTrackerPath;
22
23 import java.util.List;
24
25
38 public class UserTrackerPathUtil {
39
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46
49 public static void clearCache(UserTrackerPath userTrackerPath) {
50 getPersistence().clearCache(userTrackerPath);
51 }
52
53
56 public int countWithDynamicQuery(DynamicQuery dynamicQuery)
57 throws SystemException {
58 return getPersistence().countWithDynamicQuery(dynamicQuery);
59 }
60
61
64 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
65 throws SystemException {
66 return getPersistence().findWithDynamicQuery(dynamicQuery);
67 }
68
69
72 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
73 int start, int end) throws SystemException {
74 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
75 }
76
77
80 public static UserTrackerPath remove(UserTrackerPath userTrackerPath)
81 throws SystemException {
82 return getPersistence().remove(userTrackerPath);
83 }
84
85
88 public static UserTrackerPath update(UserTrackerPath userTrackerPath,
89 boolean merge) throws SystemException {
90 return getPersistence().update(userTrackerPath, merge);
91 }
92
93 public static void cacheResult(
94 com.liferay.portal.model.UserTrackerPath userTrackerPath) {
95 getPersistence().cacheResult(userTrackerPath);
96 }
97
98 public static void cacheResult(
99 java.util.List<com.liferay.portal.model.UserTrackerPath> userTrackerPaths) {
100 getPersistence().cacheResult(userTrackerPaths);
101 }
102
103 public static com.liferay.portal.model.UserTrackerPath create(
104 long userTrackerPathId) {
105 return getPersistence().create(userTrackerPathId);
106 }
107
108 public static com.liferay.portal.model.UserTrackerPath remove(
109 long userTrackerPathId)
110 throws com.liferay.portal.NoSuchUserTrackerPathException,
111 com.liferay.portal.SystemException {
112 return getPersistence().remove(userTrackerPathId);
113 }
114
115
118 public static com.liferay.portal.model.UserTrackerPath update(
119 com.liferay.portal.model.UserTrackerPath userTrackerPath)
120 throws com.liferay.portal.SystemException {
121 return getPersistence().update(userTrackerPath);
122 }
123
124 public static com.liferay.portal.model.UserTrackerPath updateImpl(
125 com.liferay.portal.model.UserTrackerPath userTrackerPath, boolean merge)
126 throws com.liferay.portal.SystemException {
127 return getPersistence().updateImpl(userTrackerPath, merge);
128 }
129
130 public static com.liferay.portal.model.UserTrackerPath findByPrimaryKey(
131 long userTrackerPathId)
132 throws com.liferay.portal.NoSuchUserTrackerPathException,
133 com.liferay.portal.SystemException {
134 return getPersistence().findByPrimaryKey(userTrackerPathId);
135 }
136
137 public static com.liferay.portal.model.UserTrackerPath fetchByPrimaryKey(
138 long userTrackerPathId) throws com.liferay.portal.SystemException {
139 return getPersistence().fetchByPrimaryKey(userTrackerPathId);
140 }
141
142 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
143 long userTrackerId) throws com.liferay.portal.SystemException {
144 return getPersistence().findByUserTrackerId(userTrackerId);
145 }
146
147 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
148 long userTrackerId, int start, int end)
149 throws com.liferay.portal.SystemException {
150 return getPersistence().findByUserTrackerId(userTrackerId, start, end);
151 }
152
153 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
154 long userTrackerId, int start, int end,
155 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156 throws com.liferay.portal.SystemException {
157 return getPersistence()
158 .findByUserTrackerId(userTrackerId, start, end,
159 orderByComparator);
160 }
161
162 public static com.liferay.portal.model.UserTrackerPath findByUserTrackerId_First(
163 long userTrackerId,
164 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165 throws com.liferay.portal.NoSuchUserTrackerPathException,
166 com.liferay.portal.SystemException {
167 return getPersistence()
168 .findByUserTrackerId_First(userTrackerId, orderByComparator);
169 }
170
171 public static com.liferay.portal.model.UserTrackerPath findByUserTrackerId_Last(
172 long userTrackerId,
173 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
174 throws com.liferay.portal.NoSuchUserTrackerPathException,
175 com.liferay.portal.SystemException {
176 return getPersistence()
177 .findByUserTrackerId_Last(userTrackerId, orderByComparator);
178 }
179
180 public static com.liferay.portal.model.UserTrackerPath[] findByUserTrackerId_PrevAndNext(
181 long userTrackerPathId, long userTrackerId,
182 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
183 throws com.liferay.portal.NoSuchUserTrackerPathException,
184 com.liferay.portal.SystemException {
185 return getPersistence()
186 .findByUserTrackerId_PrevAndNext(userTrackerPathId,
187 userTrackerId, orderByComparator);
188 }
189
190 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findAll()
191 throws com.liferay.portal.SystemException {
192 return getPersistence().findAll();
193 }
194
195 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findAll(
196 int start, int end) throws com.liferay.portal.SystemException {
197 return getPersistence().findAll(start, end);
198 }
199
200 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findAll(
201 int start, int end,
202 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
203 throws com.liferay.portal.SystemException {
204 return getPersistence().findAll(start, end, orderByComparator);
205 }
206
207 public static void removeByUserTrackerId(long userTrackerId)
208 throws com.liferay.portal.SystemException {
209 getPersistence().removeByUserTrackerId(userTrackerId);
210 }
211
212 public static void removeAll() throws com.liferay.portal.SystemException {
213 getPersistence().removeAll();
214 }
215
216 public static int countByUserTrackerId(long userTrackerId)
217 throws com.liferay.portal.SystemException {
218 return getPersistence().countByUserTrackerId(userTrackerId);
219 }
220
221 public static int countAll() throws com.liferay.portal.SystemException {
222 return getPersistence().countAll();
223 }
224
225 public static UserTrackerPathPersistence getPersistence() {
226 if (_persistence == null) {
227 _persistence = (UserTrackerPathPersistence)PortalBeanLocatorUtil.locate(UserTrackerPathPersistence.class.getName());
228
229 ReferenceRegistry.registerReference(UserTrackerPathUtil.class,
230 "_persistence");
231 }
232
233 return _persistence;
234 }
235
236 public void setPersistence(UserTrackerPathPersistence persistence) {
237 _persistence = persistence;
238
239 ReferenceRegistry.registerReference(UserTrackerPathUtil.class,
240 "_persistence");
241 }
242
243 private static UserTrackerPathPersistence _persistence;
244 }