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