Source Code Cross Referenced for MBCategoryUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » messageboards » 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.messageboards.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.messageboards.service.persistence;
022:
023:        /**
024:         * <a href="MBCategoryUtil.java.html"><b><i>View Source</i></b></a>
025:         *
026:         * @author Brian Wing Shun Chan
027:         *
028:         */
029:        public class MBCategoryUtil {
030:            public static com.liferay.portlet.messageboards.model.MBCategory create(
031:                    long categoryId) {
032:                return getPersistence().create(categoryId);
033:            }
034:
035:            public static com.liferay.portlet.messageboards.model.MBCategory remove(
036:                    long categoryId) throws com.liferay.portal.SystemException,
037:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
038:                return getPersistence().remove(categoryId);
039:            }
040:
041:            public static com.liferay.portlet.messageboards.model.MBCategory remove(
042:                    com.liferay.portlet.messageboards.model.MBCategory mbCategory)
043:                    throws com.liferay.portal.SystemException {
044:                return getPersistence().remove(mbCategory);
045:            }
046:
047:            public static com.liferay.portlet.messageboards.model.MBCategory update(
048:                    com.liferay.portlet.messageboards.model.MBCategory mbCategory)
049:                    throws com.liferay.portal.SystemException {
050:                return getPersistence().update(mbCategory);
051:            }
052:
053:            public static com.liferay.portlet.messageboards.model.MBCategory update(
054:                    com.liferay.portlet.messageboards.model.MBCategory mbCategory,
055:                    boolean merge) throws com.liferay.portal.SystemException {
056:                return getPersistence().update(mbCategory, merge);
057:            }
058:
059:            public static com.liferay.portlet.messageboards.model.MBCategory updateImpl(
060:                    com.liferay.portlet.messageboards.model.MBCategory mbCategory,
061:                    boolean merge) throws com.liferay.portal.SystemException {
062:                return getPersistence().updateImpl(mbCategory, merge);
063:            }
064:
065:            public static com.liferay.portlet.messageboards.model.MBCategory findByPrimaryKey(
066:                    long categoryId) throws com.liferay.portal.SystemException,
067:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
068:                return getPersistence().findByPrimaryKey(categoryId);
069:            }
070:
071:            public static com.liferay.portlet.messageboards.model.MBCategory fetchByPrimaryKey(
072:                    long categoryId) throws com.liferay.portal.SystemException {
073:                return getPersistence().fetchByPrimaryKey(categoryId);
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.messageboards.model.MBCategory 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.messageboards.NoSuchCategoryException {
099:                return getPersistence().findByUuid_First(uuid, obc);
100:            }
101:
102:            public static com.liferay.portlet.messageboards.model.MBCategory 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.messageboards.NoSuchCategoryException {
107:                return getPersistence().findByUuid_Last(uuid, obc);
108:            }
109:
110:            public static com.liferay.portlet.messageboards.model.MBCategory[] findByUuid_PrevAndNext(
111:                    long categoryId, java.lang.String uuid,
112:                    com.liferay.portal.kernel.util.OrderByComparator obc)
113:                    throws com.liferay.portal.SystemException,
114:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
115:                return getPersistence().findByUuid_PrevAndNext(categoryId,
116:                        uuid, obc);
117:            }
118:
119:            public static com.liferay.portlet.messageboards.model.MBCategory findByUUID_G(
120:                    java.lang.String uuid, long groupId)
121:                    throws com.liferay.portal.SystemException,
122:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
123:                return getPersistence().findByUUID_G(uuid, groupId);
124:            }
125:
126:            public static com.liferay.portlet.messageboards.model.MBCategory fetchByUUID_G(
127:                    java.lang.String uuid, long groupId)
128:                    throws com.liferay.portal.SystemException {
129:                return getPersistence().fetchByUUID_G(uuid, groupId);
130:            }
131:
132:            public static java.util.List findByGroupId(long groupId)
133:                    throws com.liferay.portal.SystemException {
134:                return getPersistence().findByGroupId(groupId);
135:            }
136:
137:            public static java.util.List findByGroupId(long groupId, int begin,
138:                    int end) throws com.liferay.portal.SystemException {
139:                return getPersistence().findByGroupId(groupId, begin, end);
140:            }
141:
142:            public static java.util.List findByGroupId(long groupId, int begin,
143:                    int end,
144:                    com.liferay.portal.kernel.util.OrderByComparator obc)
145:                    throws com.liferay.portal.SystemException {
146:                return getPersistence().findByGroupId(groupId, begin, end, obc);
147:            }
148:
149:            public static com.liferay.portlet.messageboards.model.MBCategory findByGroupId_First(
150:                    long groupId,
151:                    com.liferay.portal.kernel.util.OrderByComparator obc)
152:                    throws com.liferay.portal.SystemException,
153:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
154:                return getPersistence().findByGroupId_First(groupId, obc);
155:            }
156:
157:            public static com.liferay.portlet.messageboards.model.MBCategory findByGroupId_Last(
158:                    long groupId,
159:                    com.liferay.portal.kernel.util.OrderByComparator obc)
160:                    throws com.liferay.portal.SystemException,
161:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
162:                return getPersistence().findByGroupId_Last(groupId, obc);
163:            }
164:
165:            public static com.liferay.portlet.messageboards.model.MBCategory[] findByGroupId_PrevAndNext(
166:                    long categoryId, long groupId,
167:                    com.liferay.portal.kernel.util.OrderByComparator obc)
168:                    throws com.liferay.portal.SystemException,
169:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
170:                return getPersistence().findByGroupId_PrevAndNext(categoryId,
171:                        groupId, obc);
172:            }
173:
174:            public static java.util.List findByCompanyId(long companyId)
175:                    throws com.liferay.portal.SystemException {
176:                return getPersistence().findByCompanyId(companyId);
177:            }
178:
179:            public static java.util.List findByCompanyId(long companyId,
180:                    int begin, int end)
181:                    throws com.liferay.portal.SystemException {
182:                return getPersistence().findByCompanyId(companyId, begin, end);
183:            }
184:
185:            public static java.util.List findByCompanyId(long companyId,
186:                    int begin, int end,
187:                    com.liferay.portal.kernel.util.OrderByComparator obc)
188:                    throws com.liferay.portal.SystemException {
189:                return getPersistence().findByCompanyId(companyId, begin, end,
190:                        obc);
191:            }
192:
193:            public static com.liferay.portlet.messageboards.model.MBCategory findByCompanyId_First(
194:                    long companyId,
195:                    com.liferay.portal.kernel.util.OrderByComparator obc)
196:                    throws com.liferay.portal.SystemException,
197:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
198:                return getPersistence().findByCompanyId_First(companyId, obc);
199:            }
200:
201:            public static com.liferay.portlet.messageboards.model.MBCategory findByCompanyId_Last(
202:                    long companyId,
203:                    com.liferay.portal.kernel.util.OrderByComparator obc)
204:                    throws com.liferay.portal.SystemException,
205:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
206:                return getPersistence().findByCompanyId_Last(companyId, obc);
207:            }
208:
209:            public static com.liferay.portlet.messageboards.model.MBCategory[] findByCompanyId_PrevAndNext(
210:                    long categoryId, long companyId,
211:                    com.liferay.portal.kernel.util.OrderByComparator obc)
212:                    throws com.liferay.portal.SystemException,
213:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
214:                return getPersistence().findByCompanyId_PrevAndNext(categoryId,
215:                        companyId, obc);
216:            }
217:
218:            public static java.util.List findByG_P(long groupId,
219:                    long parentCategoryId)
220:                    throws com.liferay.portal.SystemException {
221:                return getPersistence().findByG_P(groupId, parentCategoryId);
222:            }
223:
224:            public static java.util.List findByG_P(long groupId,
225:                    long parentCategoryId, int begin, int end)
226:                    throws com.liferay.portal.SystemException {
227:                return getPersistence().findByG_P(groupId, parentCategoryId,
228:                        begin, end);
229:            }
230:
231:            public static java.util.List findByG_P(long groupId,
232:                    long parentCategoryId, int begin, int end,
233:                    com.liferay.portal.kernel.util.OrderByComparator obc)
234:                    throws com.liferay.portal.SystemException {
235:                return getPersistence().findByG_P(groupId, parentCategoryId,
236:                        begin, end, obc);
237:            }
238:
239:            public static com.liferay.portlet.messageboards.model.MBCategory findByG_P_First(
240:                    long groupId, long parentCategoryId,
241:                    com.liferay.portal.kernel.util.OrderByComparator obc)
242:                    throws com.liferay.portal.SystemException,
243:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
244:                return getPersistence().findByG_P_First(groupId,
245:                        parentCategoryId, obc);
246:            }
247:
248:            public static com.liferay.portlet.messageboards.model.MBCategory findByG_P_Last(
249:                    long groupId, long parentCategoryId,
250:                    com.liferay.portal.kernel.util.OrderByComparator obc)
251:                    throws com.liferay.portal.SystemException,
252:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
253:                return getPersistence().findByG_P_Last(groupId,
254:                        parentCategoryId, obc);
255:            }
256:
257:            public static com.liferay.portlet.messageboards.model.MBCategory[] findByG_P_PrevAndNext(
258:                    long categoryId, long groupId, long parentCategoryId,
259:                    com.liferay.portal.kernel.util.OrderByComparator obc)
260:                    throws com.liferay.portal.SystemException,
261:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
262:                return getPersistence().findByG_P_PrevAndNext(categoryId,
263:                        groupId, parentCategoryId, obc);
264:            }
265:
266:            public static java.util.List findWithDynamicQuery(
267:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
268:                    throws com.liferay.portal.SystemException {
269:                return getPersistence().findWithDynamicQuery(queryInitializer);
270:            }
271:
272:            public static java.util.List findWithDynamicQuery(
273:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
274:                    int begin, int end)
275:                    throws com.liferay.portal.SystemException {
276:                return getPersistence().findWithDynamicQuery(queryInitializer,
277:                        begin, end);
278:            }
279:
280:            public static java.util.List findAll()
281:                    throws com.liferay.portal.SystemException {
282:                return getPersistence().findAll();
283:            }
284:
285:            public static java.util.List findAll(int begin, int end)
286:                    throws com.liferay.portal.SystemException {
287:                return getPersistence().findAll(begin, end);
288:            }
289:
290:            public static java.util.List findAll(int begin, int end,
291:                    com.liferay.portal.kernel.util.OrderByComparator obc)
292:                    throws com.liferay.portal.SystemException {
293:                return getPersistence().findAll(begin, end, obc);
294:            }
295:
296:            public static void removeByUuid(java.lang.String uuid)
297:                    throws com.liferay.portal.SystemException {
298:                getPersistence().removeByUuid(uuid);
299:            }
300:
301:            public static void removeByUUID_G(java.lang.String uuid,
302:                    long groupId) throws com.liferay.portal.SystemException,
303:                    com.liferay.portlet.messageboards.NoSuchCategoryException {
304:                getPersistence().removeByUUID_G(uuid, groupId);
305:            }
306:
307:            public static void removeByGroupId(long groupId)
308:                    throws com.liferay.portal.SystemException {
309:                getPersistence().removeByGroupId(groupId);
310:            }
311:
312:            public static void removeByCompanyId(long companyId)
313:                    throws com.liferay.portal.SystemException {
314:                getPersistence().removeByCompanyId(companyId);
315:            }
316:
317:            public static void removeByG_P(long groupId, long parentCategoryId)
318:                    throws com.liferay.portal.SystemException {
319:                getPersistence().removeByG_P(groupId, parentCategoryId);
320:            }
321:
322:            public static void removeAll()
323:                    throws com.liferay.portal.SystemException {
324:                getPersistence().removeAll();
325:            }
326:
327:            public static int countByUuid(java.lang.String uuid)
328:                    throws com.liferay.portal.SystemException {
329:                return getPersistence().countByUuid(uuid);
330:            }
331:
332:            public static int countByUUID_G(java.lang.String uuid, long groupId)
333:                    throws com.liferay.portal.SystemException {
334:                return getPersistence().countByUUID_G(uuid, groupId);
335:            }
336:
337:            public static int countByGroupId(long groupId)
338:                    throws com.liferay.portal.SystemException {
339:                return getPersistence().countByGroupId(groupId);
340:            }
341:
342:            public static int countByCompanyId(long companyId)
343:                    throws com.liferay.portal.SystemException {
344:                return getPersistence().countByCompanyId(companyId);
345:            }
346:
347:            public static int countByG_P(long groupId, long parentCategoryId)
348:                    throws com.liferay.portal.SystemException {
349:                return getPersistence().countByG_P(groupId, parentCategoryId);
350:            }
351:
352:            public static int countAll()
353:                    throws com.liferay.portal.SystemException {
354:                return getPersistence().countAll();
355:            }
356:
357:            public static MBCategoryPersistence getPersistence() {
358:                return _getUtil()._persistence;
359:            }
360:
361:            public void setPersistence(MBCategoryPersistence persistence) {
362:                _persistence = persistence;
363:            }
364:
365:            private static MBCategoryUtil _getUtil() {
366:                if (_util == null) {
367:                    _util = (MBCategoryUtil) com.liferay.portal.kernel.bean.BeanLocatorUtil
368:                            .locate(_UTIL);
369:                }
370:
371:                return _util;
372:            }
373:
374:            private static final String _UTIL = MBCategoryUtil.class.getName();
375:            private static MBCategoryUtil _util;
376:            private MBCategoryPersistence _persistence;
377:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.