Source Code Cross Referenced for JournalTemplateUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » journal » service » persistence » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » liferay portal 4.4.2 » com.liferay.portlet.journal.service.persistence 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003:         *
004:         * Permission is hereby granted, free of charge, to any person obtaining a copy
005:         * of this software and associated documentation files (the "Software"), to deal
006:         * in the Software without restriction, including without limitation the rights
007:         * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008:         * copies of the Software, and to permit persons to whom the Software is
009:         * furnished to do so, subject to the following conditions:
010:         *
011:         * The above copyright notice and this permission notice shall be included in
012:         * all copies or substantial portions of the Software.
013:         *
014:         * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015:         * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016:         * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017:         * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018:         * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019:         * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020:         * SOFTWARE.
021:         */package com.liferay.portlet.journal.service.persistence;
022:
023:        /**
024:         * <a href="JournalTemplateUtil.java.html"><b><i>View Source</i></b></a>
025:         *
026:         * @author Brian Wing Shun Chan
027:         *
028:         */
029:        public class JournalTemplateUtil {
030:            public static com.liferay.portlet.journal.model.JournalTemplate create(
031:                    long id) {
032:                return getPersistence().create(id);
033:            }
034:
035:            public static com.liferay.portlet.journal.model.JournalTemplate remove(
036:                    long id) throws com.liferay.portal.SystemException,
037:                    com.liferay.portlet.journal.NoSuchTemplateException {
038:                return getPersistence().remove(id);
039:            }
040:
041:            public static com.liferay.portlet.journal.model.JournalTemplate remove(
042:                    com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
043:                    throws com.liferay.portal.SystemException {
044:                return getPersistence().remove(journalTemplate);
045:            }
046:
047:            public static com.liferay.portlet.journal.model.JournalTemplate update(
048:                    com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
049:                    throws com.liferay.portal.SystemException {
050:                return getPersistence().update(journalTemplate);
051:            }
052:
053:            public static com.liferay.portlet.journal.model.JournalTemplate update(
054:                    com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
055:                    boolean merge) throws com.liferay.portal.SystemException {
056:                return getPersistence().update(journalTemplate, merge);
057:            }
058:
059:            public static com.liferay.portlet.journal.model.JournalTemplate updateImpl(
060:                    com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
061:                    boolean merge) throws com.liferay.portal.SystemException {
062:                return getPersistence().updateImpl(journalTemplate, merge);
063:            }
064:
065:            public static com.liferay.portlet.journal.model.JournalTemplate findByPrimaryKey(
066:                    long id) throws com.liferay.portal.SystemException,
067:                    com.liferay.portlet.journal.NoSuchTemplateException {
068:                return getPersistence().findByPrimaryKey(id);
069:            }
070:
071:            public static com.liferay.portlet.journal.model.JournalTemplate fetchByPrimaryKey(
072:                    long id) throws com.liferay.portal.SystemException {
073:                return getPersistence().fetchByPrimaryKey(id);
074:            }
075:
076:            public static java.util.List findByUuid(java.lang.String uuid)
077:                    throws com.liferay.portal.SystemException {
078:                return getPersistence().findByUuid(uuid);
079:            }
080:
081:            public static java.util.List findByUuid(java.lang.String uuid,
082:                    int begin, int end)
083:                    throws com.liferay.portal.SystemException {
084:                return getPersistence().findByUuid(uuid, begin, end);
085:            }
086:
087:            public static java.util.List findByUuid(java.lang.String uuid,
088:                    int begin, int end,
089:                    com.liferay.portal.kernel.util.OrderByComparator obc)
090:                    throws com.liferay.portal.SystemException {
091:                return getPersistence().findByUuid(uuid, begin, end, obc);
092:            }
093:
094:            public static com.liferay.portlet.journal.model.JournalTemplate findByUuid_First(
095:                    java.lang.String uuid,
096:                    com.liferay.portal.kernel.util.OrderByComparator obc)
097:                    throws com.liferay.portal.SystemException,
098:                    com.liferay.portlet.journal.NoSuchTemplateException {
099:                return getPersistence().findByUuid_First(uuid, obc);
100:            }
101:
102:            public static com.liferay.portlet.journal.model.JournalTemplate findByUuid_Last(
103:                    java.lang.String uuid,
104:                    com.liferay.portal.kernel.util.OrderByComparator obc)
105:                    throws com.liferay.portal.SystemException,
106:                    com.liferay.portlet.journal.NoSuchTemplateException {
107:                return getPersistence().findByUuid_Last(uuid, obc);
108:            }
109:
110:            public static com.liferay.portlet.journal.model.JournalTemplate[] findByUuid_PrevAndNext(
111:                    long id, java.lang.String uuid,
112:                    com.liferay.portal.kernel.util.OrderByComparator obc)
113:                    throws com.liferay.portal.SystemException,
114:                    com.liferay.portlet.journal.NoSuchTemplateException {
115:                return getPersistence().findByUuid_PrevAndNext(id, uuid, obc);
116:            }
117:
118:            public static com.liferay.portlet.journal.model.JournalTemplate findByUUID_G(
119:                    java.lang.String uuid, long groupId)
120:                    throws com.liferay.portal.SystemException,
121:                    com.liferay.portlet.journal.NoSuchTemplateException {
122:                return getPersistence().findByUUID_G(uuid, groupId);
123:            }
124:
125:            public static com.liferay.portlet.journal.model.JournalTemplate fetchByUUID_G(
126:                    java.lang.String uuid, long groupId)
127:                    throws com.liferay.portal.SystemException {
128:                return getPersistence().fetchByUUID_G(uuid, groupId);
129:            }
130:
131:            public static java.util.List findByGroupId(long groupId)
132:                    throws com.liferay.portal.SystemException {
133:                return getPersistence().findByGroupId(groupId);
134:            }
135:
136:            public static java.util.List findByGroupId(long groupId, int begin,
137:                    int end) throws com.liferay.portal.SystemException {
138:                return getPersistence().findByGroupId(groupId, begin, end);
139:            }
140:
141:            public static java.util.List findByGroupId(long groupId, int begin,
142:                    int end,
143:                    com.liferay.portal.kernel.util.OrderByComparator obc)
144:                    throws com.liferay.portal.SystemException {
145:                return getPersistence().findByGroupId(groupId, begin, end, obc);
146:            }
147:
148:            public static com.liferay.portlet.journal.model.JournalTemplate findByGroupId_First(
149:                    long groupId,
150:                    com.liferay.portal.kernel.util.OrderByComparator obc)
151:                    throws com.liferay.portal.SystemException,
152:                    com.liferay.portlet.journal.NoSuchTemplateException {
153:                return getPersistence().findByGroupId_First(groupId, obc);
154:            }
155:
156:            public static com.liferay.portlet.journal.model.JournalTemplate findByGroupId_Last(
157:                    long groupId,
158:                    com.liferay.portal.kernel.util.OrderByComparator obc)
159:                    throws com.liferay.portal.SystemException,
160:                    com.liferay.portlet.journal.NoSuchTemplateException {
161:                return getPersistence().findByGroupId_Last(groupId, obc);
162:            }
163:
164:            public static com.liferay.portlet.journal.model.JournalTemplate[] findByGroupId_PrevAndNext(
165:                    long id, long groupId,
166:                    com.liferay.portal.kernel.util.OrderByComparator obc)
167:                    throws com.liferay.portal.SystemException,
168:                    com.liferay.portlet.journal.NoSuchTemplateException {
169:                return getPersistence().findByGroupId_PrevAndNext(id, groupId,
170:                        obc);
171:            }
172:
173:            public static java.util.List findByTemplateId(
174:                    java.lang.String templateId)
175:                    throws com.liferay.portal.SystemException {
176:                return getPersistence().findByTemplateId(templateId);
177:            }
178:
179:            public static java.util.List findByTemplateId(
180:                    java.lang.String templateId, int begin, int end)
181:                    throws com.liferay.portal.SystemException {
182:                return getPersistence()
183:                        .findByTemplateId(templateId, begin, end);
184:            }
185:
186:            public static java.util.List findByTemplateId(
187:                    java.lang.String templateId, int begin, int end,
188:                    com.liferay.portal.kernel.util.OrderByComparator obc)
189:                    throws com.liferay.portal.SystemException {
190:                return getPersistence().findByTemplateId(templateId, begin,
191:                        end, obc);
192:            }
193:
194:            public static com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_First(
195:                    java.lang.String templateId,
196:                    com.liferay.portal.kernel.util.OrderByComparator obc)
197:                    throws com.liferay.portal.SystemException,
198:                    com.liferay.portlet.journal.NoSuchTemplateException {
199:                return getPersistence().findByTemplateId_First(templateId, obc);
200:            }
201:
202:            public static com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_Last(
203:                    java.lang.String templateId,
204:                    com.liferay.portal.kernel.util.OrderByComparator obc)
205:                    throws com.liferay.portal.SystemException,
206:                    com.liferay.portlet.journal.NoSuchTemplateException {
207:                return getPersistence().findByTemplateId_Last(templateId, obc);
208:            }
209:
210:            public static com.liferay.portlet.journal.model.JournalTemplate[] findByTemplateId_PrevAndNext(
211:                    long id, java.lang.String templateId,
212:                    com.liferay.portal.kernel.util.OrderByComparator obc)
213:                    throws com.liferay.portal.SystemException,
214:                    com.liferay.portlet.journal.NoSuchTemplateException {
215:                return getPersistence().findByTemplateId_PrevAndNext(id,
216:                        templateId, obc);
217:            }
218:
219:            public static com.liferay.portlet.journal.model.JournalTemplate findBySmallImageId(
220:                    long smallImageId)
221:                    throws com.liferay.portal.SystemException,
222:                    com.liferay.portlet.journal.NoSuchTemplateException {
223:                return getPersistence().findBySmallImageId(smallImageId);
224:            }
225:
226:            public static com.liferay.portlet.journal.model.JournalTemplate fetchBySmallImageId(
227:                    long smallImageId)
228:                    throws com.liferay.portal.SystemException {
229:                return getPersistence().fetchBySmallImageId(smallImageId);
230:            }
231:
232:            public static com.liferay.portlet.journal.model.JournalTemplate findByG_T(
233:                    long groupId, java.lang.String templateId)
234:                    throws com.liferay.portal.SystemException,
235:                    com.liferay.portlet.journal.NoSuchTemplateException {
236:                return getPersistence().findByG_T(groupId, templateId);
237:            }
238:
239:            public static com.liferay.portlet.journal.model.JournalTemplate fetchByG_T(
240:                    long groupId, java.lang.String templateId)
241:                    throws com.liferay.portal.SystemException {
242:                return getPersistence().fetchByG_T(groupId, templateId);
243:            }
244:
245:            public static java.util.List findByG_S(long groupId,
246:                    java.lang.String structureId)
247:                    throws com.liferay.portal.SystemException {
248:                return getPersistence().findByG_S(groupId, structureId);
249:            }
250:
251:            public static java.util.List findByG_S(long groupId,
252:                    java.lang.String structureId, int begin, int end)
253:                    throws com.liferay.portal.SystemException {
254:                return getPersistence().findByG_S(groupId, structureId, begin,
255:                        end);
256:            }
257:
258:            public static java.util.List findByG_S(long groupId,
259:                    java.lang.String structureId, int begin, int end,
260:                    com.liferay.portal.kernel.util.OrderByComparator obc)
261:                    throws com.liferay.portal.SystemException {
262:                return getPersistence().findByG_S(groupId, structureId, begin,
263:                        end, obc);
264:            }
265:
266:            public static com.liferay.portlet.journal.model.JournalTemplate findByG_S_First(
267:                    long groupId, java.lang.String structureId,
268:                    com.liferay.portal.kernel.util.OrderByComparator obc)
269:                    throws com.liferay.portal.SystemException,
270:                    com.liferay.portlet.journal.NoSuchTemplateException {
271:                return getPersistence().findByG_S_First(groupId, structureId,
272:                        obc);
273:            }
274:
275:            public static com.liferay.portlet.journal.model.JournalTemplate findByG_S_Last(
276:                    long groupId, java.lang.String structureId,
277:                    com.liferay.portal.kernel.util.OrderByComparator obc)
278:                    throws com.liferay.portal.SystemException,
279:                    com.liferay.portlet.journal.NoSuchTemplateException {
280:                return getPersistence().findByG_S_Last(groupId, structureId,
281:                        obc);
282:            }
283:
284:            public static com.liferay.portlet.journal.model.JournalTemplate[] findByG_S_PrevAndNext(
285:                    long id, long groupId, java.lang.String structureId,
286:                    com.liferay.portal.kernel.util.OrderByComparator obc)
287:                    throws com.liferay.portal.SystemException,
288:                    com.liferay.portlet.journal.NoSuchTemplateException {
289:                return getPersistence().findByG_S_PrevAndNext(id, groupId,
290:                        structureId, obc);
291:            }
292:
293:            public static java.util.List findWithDynamicQuery(
294:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
295:                    throws com.liferay.portal.SystemException {
296:                return getPersistence().findWithDynamicQuery(queryInitializer);
297:            }
298:
299:            public static java.util.List findWithDynamicQuery(
300:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
301:                    int begin, int end)
302:                    throws com.liferay.portal.SystemException {
303:                return getPersistence().findWithDynamicQuery(queryInitializer,
304:                        begin, end);
305:            }
306:
307:            public static java.util.List findAll()
308:                    throws com.liferay.portal.SystemException {
309:                return getPersistence().findAll();
310:            }
311:
312:            public static java.util.List findAll(int begin, int end)
313:                    throws com.liferay.portal.SystemException {
314:                return getPersistence().findAll(begin, end);
315:            }
316:
317:            public static java.util.List findAll(int begin, int end,
318:                    com.liferay.portal.kernel.util.OrderByComparator obc)
319:                    throws com.liferay.portal.SystemException {
320:                return getPersistence().findAll(begin, end, obc);
321:            }
322:
323:            public static void removeByUuid(java.lang.String uuid)
324:                    throws com.liferay.portal.SystemException {
325:                getPersistence().removeByUuid(uuid);
326:            }
327:
328:            public static void removeByUUID_G(java.lang.String uuid,
329:                    long groupId) throws com.liferay.portal.SystemException,
330:                    com.liferay.portlet.journal.NoSuchTemplateException {
331:                getPersistence().removeByUUID_G(uuid, groupId);
332:            }
333:
334:            public static void removeByGroupId(long groupId)
335:                    throws com.liferay.portal.SystemException {
336:                getPersistence().removeByGroupId(groupId);
337:            }
338:
339:            public static void removeByTemplateId(java.lang.String templateId)
340:                    throws com.liferay.portal.SystemException {
341:                getPersistence().removeByTemplateId(templateId);
342:            }
343:
344:            public static void removeBySmallImageId(long smallImageId)
345:                    throws com.liferay.portal.SystemException,
346:                    com.liferay.portlet.journal.NoSuchTemplateException {
347:                getPersistence().removeBySmallImageId(smallImageId);
348:            }
349:
350:            public static void removeByG_T(long groupId,
351:                    java.lang.String templateId)
352:                    throws com.liferay.portal.SystemException,
353:                    com.liferay.portlet.journal.NoSuchTemplateException {
354:                getPersistence().removeByG_T(groupId, templateId);
355:            }
356:
357:            public static void removeByG_S(long groupId,
358:                    java.lang.String structureId)
359:                    throws com.liferay.portal.SystemException {
360:                getPersistence().removeByG_S(groupId, structureId);
361:            }
362:
363:            public static void removeAll()
364:                    throws com.liferay.portal.SystemException {
365:                getPersistence().removeAll();
366:            }
367:
368:            public static int countByUuid(java.lang.String uuid)
369:                    throws com.liferay.portal.SystemException {
370:                return getPersistence().countByUuid(uuid);
371:            }
372:
373:            public static int countByUUID_G(java.lang.String uuid, long groupId)
374:                    throws com.liferay.portal.SystemException {
375:                return getPersistence().countByUUID_G(uuid, groupId);
376:            }
377:
378:            public static int countByGroupId(long groupId)
379:                    throws com.liferay.portal.SystemException {
380:                return getPersistence().countByGroupId(groupId);
381:            }
382:
383:            public static int countByTemplateId(java.lang.String templateId)
384:                    throws com.liferay.portal.SystemException {
385:                return getPersistence().countByTemplateId(templateId);
386:            }
387:
388:            public static int countBySmallImageId(long smallImageId)
389:                    throws com.liferay.portal.SystemException {
390:                return getPersistence().countBySmallImageId(smallImageId);
391:            }
392:
393:            public static int countByG_T(long groupId,
394:                    java.lang.String templateId)
395:                    throws com.liferay.portal.SystemException {
396:                return getPersistence().countByG_T(groupId, templateId);
397:            }
398:
399:            public static int countByG_S(long groupId,
400:                    java.lang.String structureId)
401:                    throws com.liferay.portal.SystemException {
402:                return getPersistence().countByG_S(groupId, structureId);
403:            }
404:
405:            public static int countAll()
406:                    throws com.liferay.portal.SystemException {
407:                return getPersistence().countAll();
408:            }
409:
410:            public static JournalTemplatePersistence getPersistence() {
411:                return _getUtil()._persistence;
412:            }
413:
414:            public void setPersistence(JournalTemplatePersistence persistence) {
415:                _persistence = persistence;
416:            }
417:
418:            private static JournalTemplateUtil _getUtil() {
419:                if (_util == null) {
420:                    _util = (JournalTemplateUtil) com.liferay.portal.kernel.bean.BeanLocatorUtil
421:                            .locate(_UTIL);
422:                }
423:
424:                return _util;
425:            }
426:
427:            private static final String _UTIL = JournalTemplateUtil.class
428:                    .getName();
429:            private static JournalTemplateUtil _util;
430:            private JournalTemplatePersistence _persistence;
431:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.