1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public class BrowserTrackerUtil {
40 public static void cacheResult(
41 com.liferay.portal.model.BrowserTracker browserTracker) {
42 getPersistence().cacheResult(browserTracker);
43 }
44
45 public static void cacheResult(
46 java.util.List<com.liferay.portal.model.BrowserTracker> browserTrackers) {
47 getPersistence().cacheResult(browserTrackers);
48 }
49
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54 public static com.liferay.portal.model.BrowserTracker create(
55 long browserTrackerId) {
56 return getPersistence().create(browserTrackerId);
57 }
58
59 public static com.liferay.portal.model.BrowserTracker remove(
60 long browserTrackerId)
61 throws com.liferay.portal.NoSuchBrowserTrackerException,
62 com.liferay.portal.SystemException {
63 return getPersistence().remove(browserTrackerId);
64 }
65
66 public static com.liferay.portal.model.BrowserTracker remove(
67 com.liferay.portal.model.BrowserTracker browserTracker)
68 throws com.liferay.portal.SystemException {
69 return getPersistence().remove(browserTracker);
70 }
71
72
75 public static com.liferay.portal.model.BrowserTracker update(
76 com.liferay.portal.model.BrowserTracker browserTracker)
77 throws com.liferay.portal.SystemException {
78 return getPersistence().update(browserTracker);
79 }
80
81
93 public static com.liferay.portal.model.BrowserTracker update(
94 com.liferay.portal.model.BrowserTracker browserTracker, boolean merge)
95 throws com.liferay.portal.SystemException {
96 return getPersistence().update(browserTracker, merge);
97 }
98
99 public static com.liferay.portal.model.BrowserTracker updateImpl(
100 com.liferay.portal.model.BrowserTracker browserTracker, boolean merge)
101 throws com.liferay.portal.SystemException {
102 return getPersistence().updateImpl(browserTracker, merge);
103 }
104
105 public static com.liferay.portal.model.BrowserTracker findByPrimaryKey(
106 long browserTrackerId)
107 throws com.liferay.portal.NoSuchBrowserTrackerException,
108 com.liferay.portal.SystemException {
109 return getPersistence().findByPrimaryKey(browserTrackerId);
110 }
111
112 public static com.liferay.portal.model.BrowserTracker fetchByPrimaryKey(
113 long browserTrackerId) throws com.liferay.portal.SystemException {
114 return getPersistence().fetchByPrimaryKey(browserTrackerId);
115 }
116
117 public static com.liferay.portal.model.BrowserTracker findByUserId(
118 long userId)
119 throws com.liferay.portal.NoSuchBrowserTrackerException,
120 com.liferay.portal.SystemException {
121 return getPersistence().findByUserId(userId);
122 }
123
124 public static com.liferay.portal.model.BrowserTracker fetchByUserId(
125 long userId) throws com.liferay.portal.SystemException {
126 return getPersistence().fetchByUserId(userId);
127 }
128
129 public static com.liferay.portal.model.BrowserTracker fetchByUserId(
130 long userId, boolean retrieveFromCache)
131 throws com.liferay.portal.SystemException {
132 return getPersistence().fetchByUserId(userId, retrieveFromCache);
133 }
134
135 public static java.util.List<Object> findWithDynamicQuery(
136 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
137 throws com.liferay.portal.SystemException {
138 return getPersistence().findWithDynamicQuery(dynamicQuery);
139 }
140
141 public static java.util.List<Object> findWithDynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end) throws com.liferay.portal.SystemException {
144 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
145 }
146
147 public static java.util.List<com.liferay.portal.model.BrowserTracker> findAll()
148 throws com.liferay.portal.SystemException {
149 return getPersistence().findAll();
150 }
151
152 public static java.util.List<com.liferay.portal.model.BrowserTracker> findAll(
153 int start, int end) throws com.liferay.portal.SystemException {
154 return getPersistence().findAll(start, end);
155 }
156
157 public static java.util.List<com.liferay.portal.model.BrowserTracker> findAll(
158 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException {
160 return getPersistence().findAll(start, end, obc);
161 }
162
163 public static void removeByUserId(long userId)
164 throws com.liferay.portal.NoSuchBrowserTrackerException,
165 com.liferay.portal.SystemException {
166 getPersistence().removeByUserId(userId);
167 }
168
169 public static void removeAll() throws com.liferay.portal.SystemException {
170 getPersistence().removeAll();
171 }
172
173 public static int countByUserId(long userId)
174 throws com.liferay.portal.SystemException {
175 return getPersistence().countByUserId(userId);
176 }
177
178 public static int countAll() throws com.liferay.portal.SystemException {
179 return getPersistence().countAll();
180 }
181
182 public static BrowserTrackerPersistence getPersistence() {
183 return _persistence;
184 }
185
186 public void setPersistence(BrowserTrackerPersistence persistence) {
187 _persistence = persistence;
188 }
189
190 private static BrowserTrackerPersistence _persistence;
191 }