1
22
23 package com.liferay.portlet.bookmarks.service.persistence;
24
25
31 public class BookmarksEntryUtil {
32 public static com.liferay.portlet.bookmarks.model.BookmarksEntry create(
33 long entryId) {
34 return getPersistence().create(entryId);
35 }
36
37 public static com.liferay.portlet.bookmarks.model.BookmarksEntry remove(
38 long entryId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.bookmarks.NoSuchEntryException {
41 return getPersistence().remove(entryId);
42 }
43
44 public static com.liferay.portlet.bookmarks.model.BookmarksEntry remove(
45 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(bookmarksEntry);
48 }
49
50
53 public static com.liferay.portlet.bookmarks.model.BookmarksEntry update(
54 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(bookmarksEntry);
57 }
58
59
72 public static com.liferay.portlet.bookmarks.model.BookmarksEntry update(
73 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
74 boolean merge) throws com.liferay.portal.SystemException {
75 return getPersistence().update(bookmarksEntry, merge);
76 }
77
78 public static com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl(
79 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
80 boolean merge) throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(bookmarksEntry, merge);
82 }
83
84 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey(
85 long entryId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.bookmarks.NoSuchEntryException {
88 return getPersistence().findByPrimaryKey(entryId);
89 }
90
91 public static com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(
92 long entryId) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(entryId);
94 }
95
96 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
97 java.lang.String uuid) throws com.liferay.portal.SystemException {
98 return getPersistence().findByUuid(uuid);
99 }
100
101 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
102 java.lang.String uuid, int start, int end)
103 throws com.liferay.portal.SystemException {
104 return getPersistence().findByUuid(uuid, start, end);
105 }
106
107 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
108 java.lang.String uuid, int start, int end,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException {
111 return getPersistence().findByUuid(uuid, start, end, obc);
112 }
113
114 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First(
115 java.lang.String uuid,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.bookmarks.NoSuchEntryException {
119 return getPersistence().findByUuid_First(uuid, obc);
120 }
121
122 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last(
123 java.lang.String uuid,
124 com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.bookmarks.NoSuchEntryException {
127 return getPersistence().findByUuid_Last(uuid, obc);
128 }
129
130 public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext(
131 long entryId, java.lang.String uuid,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portlet.bookmarks.NoSuchEntryException {
135 return getPersistence().findByUuid_PrevAndNext(entryId, uuid, obc);
136 }
137
138 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByFolderId(
139 long folderId) throws com.liferay.portal.SystemException {
140 return getPersistence().findByFolderId(folderId);
141 }
142
143 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByFolderId(
144 long folderId, int start, int end)
145 throws com.liferay.portal.SystemException {
146 return getPersistence().findByFolderId(folderId, start, end);
147 }
148
149 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByFolderId(
150 long folderId, int start, int end,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException {
153 return getPersistence().findByFolderId(folderId, start, end, obc);
154 }
155
156 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByFolderId_First(
157 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.bookmarks.NoSuchEntryException {
160 return getPersistence().findByFolderId_First(folderId, obc);
161 }
162
163 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByFolderId_Last(
164 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
165 throws com.liferay.portal.SystemException,
166 com.liferay.portlet.bookmarks.NoSuchEntryException {
167 return getPersistence().findByFolderId_Last(folderId, obc);
168 }
169
170 public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByFolderId_PrevAndNext(
171 long entryId, long folderId,
172 com.liferay.portal.kernel.util.OrderByComparator obc)
173 throws com.liferay.portal.SystemException,
174 com.liferay.portlet.bookmarks.NoSuchEntryException {
175 return getPersistence()
176 .findByFolderId_PrevAndNext(entryId, folderId, obc);
177 }
178
179 public static java.util.List<Object> findWithDynamicQuery(
180 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
181 throws com.liferay.portal.SystemException {
182 return getPersistence().findWithDynamicQuery(dynamicQuery);
183 }
184
185 public static java.util.List<Object> findWithDynamicQuery(
186 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
187 int end) throws com.liferay.portal.SystemException {
188 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
189 }
190
191 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll()
192 throws com.liferay.portal.SystemException {
193 return getPersistence().findAll();
194 }
195
196 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
197 int start, int end) throws com.liferay.portal.SystemException {
198 return getPersistence().findAll(start, end);
199 }
200
201 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
202 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException {
204 return getPersistence().findAll(start, end, obc);
205 }
206
207 public static void removeByUuid(java.lang.String uuid)
208 throws com.liferay.portal.SystemException {
209 getPersistence().removeByUuid(uuid);
210 }
211
212 public static void removeByFolderId(long folderId)
213 throws com.liferay.portal.SystemException {
214 getPersistence().removeByFolderId(folderId);
215 }
216
217 public static void removeAll() throws com.liferay.portal.SystemException {
218 getPersistence().removeAll();
219 }
220
221 public static int countByUuid(java.lang.String uuid)
222 throws com.liferay.portal.SystemException {
223 return getPersistence().countByUuid(uuid);
224 }
225
226 public static int countByFolderId(long folderId)
227 throws com.liferay.portal.SystemException {
228 return getPersistence().countByFolderId(folderId);
229 }
230
231 public static int countAll() throws com.liferay.portal.SystemException {
232 return getPersistence().countAll();
233 }
234
235 public static BookmarksEntryPersistence getPersistence() {
236 return _persistence;
237 }
238
239 public void setPersistence(BookmarksEntryPersistence persistence) {
240 _persistence = persistence;
241 }
242
243 private static BookmarksEntryPersistence _persistence;
244 }