1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
19 import com.liferay.portal.kernel.exception.SystemException;
20 import com.liferay.portal.model.UserTrackerPath;
21
22 import java.util.List;
23
24
37 public class UserTrackerPathUtil {
38
41 public static void clearCache() {
42 getPersistence().clearCache();
43 }
44
45
48 public static void clearCache(UserTrackerPath userTrackerPath) {
49 getPersistence().clearCache(userTrackerPath);
50 }
51
52
55 public long countWithDynamicQuery(DynamicQuery dynamicQuery)
56 throws SystemException {
57 return getPersistence().countWithDynamicQuery(dynamicQuery);
58 }
59
60
63 public static List<UserTrackerPath> findWithDynamicQuery(
64 DynamicQuery dynamicQuery) throws SystemException {
65 return getPersistence().findWithDynamicQuery(dynamicQuery);
66 }
67
68
71 public static List<UserTrackerPath> findWithDynamicQuery(
72 DynamicQuery dynamicQuery, int start, int end)
73 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.kernel.exception.SystemException {
112 return getPersistence().remove(userTrackerPathId);
113 }
114
115 public static com.liferay.portal.model.UserTrackerPath updateImpl(
116 com.liferay.portal.model.UserTrackerPath userTrackerPath, boolean merge)
117 throws com.liferay.portal.kernel.exception.SystemException {
118 return getPersistence().updateImpl(userTrackerPath, merge);
119 }
120
121 public static com.liferay.portal.model.UserTrackerPath findByPrimaryKey(
122 long userTrackerPathId)
123 throws com.liferay.portal.NoSuchUserTrackerPathException,
124 com.liferay.portal.kernel.exception.SystemException {
125 return getPersistence().findByPrimaryKey(userTrackerPathId);
126 }
127
128 public static com.liferay.portal.model.UserTrackerPath fetchByPrimaryKey(
129 long userTrackerPathId)
130 throws com.liferay.portal.kernel.exception.SystemException {
131 return getPersistence().fetchByPrimaryKey(userTrackerPathId);
132 }
133
134 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
135 long userTrackerId)
136 throws com.liferay.portal.kernel.exception.SystemException {
137 return getPersistence().findByUserTrackerId(userTrackerId);
138 }
139
140 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
141 long userTrackerId, int start, int end)
142 throws com.liferay.portal.kernel.exception.SystemException {
143 return getPersistence().findByUserTrackerId(userTrackerId, start, end);
144 }
145
146 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
147 long userTrackerId, int start, int end,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException {
150 return getPersistence()
151 .findByUserTrackerId(userTrackerId, start, end,
152 orderByComparator);
153 }
154
155 public static com.liferay.portal.model.UserTrackerPath findByUserTrackerId_First(
156 long userTrackerId,
157 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
158 throws com.liferay.portal.NoSuchUserTrackerPathException,
159 com.liferay.portal.kernel.exception.SystemException {
160 return getPersistence()
161 .findByUserTrackerId_First(userTrackerId, orderByComparator);
162 }
163
164 public static com.liferay.portal.model.UserTrackerPath findByUserTrackerId_Last(
165 long userTrackerId,
166 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167 throws com.liferay.portal.NoSuchUserTrackerPathException,
168 com.liferay.portal.kernel.exception.SystemException {
169 return getPersistence()
170 .findByUserTrackerId_Last(userTrackerId, orderByComparator);
171 }
172
173 public static com.liferay.portal.model.UserTrackerPath[] findByUserTrackerId_PrevAndNext(
174 long userTrackerPathId, long userTrackerId,
175 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
176 throws com.liferay.portal.NoSuchUserTrackerPathException,
177 com.liferay.portal.kernel.exception.SystemException {
178 return getPersistence()
179 .findByUserTrackerId_PrevAndNext(userTrackerPathId,
180 userTrackerId, orderByComparator);
181 }
182
183 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findAll()
184 throws com.liferay.portal.kernel.exception.SystemException {
185 return getPersistence().findAll();
186 }
187
188 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findAll(
189 int start, int end)
190 throws com.liferay.portal.kernel.exception.SystemException {
191 return getPersistence().findAll(start, end);
192 }
193
194 public static java.util.List<com.liferay.portal.model.UserTrackerPath> findAll(
195 int start, int end,
196 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return getPersistence().findAll(start, end, orderByComparator);
199 }
200
201 public static void removeByUserTrackerId(long userTrackerId)
202 throws com.liferay.portal.kernel.exception.SystemException {
203 getPersistence().removeByUserTrackerId(userTrackerId);
204 }
205
206 public static void removeAll()
207 throws com.liferay.portal.kernel.exception.SystemException {
208 getPersistence().removeAll();
209 }
210
211 public static int countByUserTrackerId(long userTrackerId)
212 throws com.liferay.portal.kernel.exception.SystemException {
213 return getPersistence().countByUserTrackerId(userTrackerId);
214 }
215
216 public static int countAll()
217 throws com.liferay.portal.kernel.exception.SystemException {
218 return getPersistence().countAll();
219 }
220
221 public static UserTrackerPathPersistence getPersistence() {
222 if (_persistence == null) {
223 _persistence = (UserTrackerPathPersistence)PortalBeanLocatorUtil.locate(UserTrackerPathPersistence.class.getName());
224 }
225
226 return _persistence;
227 }
228
229 public void setPersistence(UserTrackerPathPersistence persistence) {
230 _persistence = persistence;
231 }
232
233 private static UserTrackerPathPersistence _persistence;
234 }