Source Code Cross Referenced for MBBanLocalServiceUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » messageboards » service » 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 
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;
022:
023:        /**
024:         * <a href="MBBanLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
025:         *
026:         * <p>
027:         * ServiceBuilder generated this class. Modifications in this class will be
028:         * overwritten the next time is generated.
029:         * </p>
030:         *
031:         * <p>
032:         * This class provides static methods for the
033:         * <code>com.liferay.portlet.messageboards.service.MBBanLocalService</code>
034:         * bean. The static methods of this class calls the same methods of the bean
035:         * instance. It's convenient to be able to just write one line to call a method
036:         * on a bean instead of writing a lookup call and a method call.
037:         * </p>
038:         *
039:         * <p>
040:         * <code>com.liferay.portlet.messageboards.service.MBBanLocalServiceFactory</code>
041:         * is responsible for the lookup of the bean.
042:         * </p>
043:         *
044:         * @author Brian Wing Shun Chan
045:         *
046:         * @see com.liferay.portlet.messageboards.service.MBBanLocalService
047:         * @see com.liferay.portlet.messageboards.service.MBBanLocalServiceFactory
048:         *
049:         */
050:        public class MBBanLocalServiceUtil {
051:            public static com.liferay.portlet.messageboards.model.MBBan addMBBan(
052:                    com.liferay.portlet.messageboards.model.MBBan model)
053:                    throws com.liferay.portal.SystemException {
054:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
055:                        .getService();
056:
057:                return mbBanLocalService.addMBBan(model);
058:            }
059:
060:            public static java.util.List dynamicQuery(
061:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
062:                    throws com.liferay.portal.SystemException {
063:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
064:                        .getService();
065:
066:                return mbBanLocalService.dynamicQuery(queryInitializer);
067:            }
068:
069:            public static java.util.List dynamicQuery(
070:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
071:                    int begin, int end)
072:                    throws com.liferay.portal.SystemException {
073:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
074:                        .getService();
075:
076:                return mbBanLocalService.dynamicQuery(queryInitializer, begin,
077:                        end);
078:            }
079:
080:            public static com.liferay.portlet.messageboards.model.MBBan updateMBBan(
081:                    com.liferay.portlet.messageboards.model.MBBan model)
082:                    throws com.liferay.portal.SystemException {
083:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
084:                        .getService();
085:
086:                return mbBanLocalService.updateMBBan(model);
087:            }
088:
089:            public static com.liferay.portlet.messageboards.service.persistence.MBBanPersistence getMBBanPersistence() {
090:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
091:                        .getService();
092:
093:                return mbBanLocalService.getMBBanPersistence();
094:            }
095:
096:            public static void setMBBanPersistence(
097:                    com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence) {
098:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
099:                        .getService();
100:
101:                mbBanLocalService.setMBBanPersistence(mbBanPersistence);
102:            }
103:
104:            public static com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence getMBCategoryPersistence() {
105:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
106:                        .getService();
107:
108:                return mbBanLocalService.getMBCategoryPersistence();
109:            }
110:
111:            public static void setMBCategoryPersistence(
112:                    com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence) {
113:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
114:                        .getService();
115:
116:                mbBanLocalService
117:                        .setMBCategoryPersistence(mbCategoryPersistence);
118:            }
119:
120:            public static com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder getMBCategoryFinder() {
121:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
122:                        .getService();
123:
124:                return mbBanLocalService.getMBCategoryFinder();
125:            }
126:
127:            public static void setMBCategoryFinder(
128:                    com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder mbCategoryFinder) {
129:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
130:                        .getService();
131:
132:                mbBanLocalService.setMBCategoryFinder(mbCategoryFinder);
133:            }
134:
135:            public static com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence getMBDiscussionPersistence() {
136:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
137:                        .getService();
138:
139:                return mbBanLocalService.getMBDiscussionPersistence();
140:            }
141:
142:            public static void setMBDiscussionPersistence(
143:                    com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence) {
144:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
145:                        .getService();
146:
147:                mbBanLocalService
148:                        .setMBDiscussionPersistence(mbDiscussionPersistence);
149:            }
150:
151:            public static com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence() {
152:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
153:                        .getService();
154:
155:                return mbBanLocalService.getMBMessagePersistence();
156:            }
157:
158:            public static void setMBMessagePersistence(
159:                    com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence) {
160:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
161:                        .getService();
162:
163:                mbBanLocalService.setMBMessagePersistence(mbMessagePersistence);
164:            }
165:
166:            public static com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder() {
167:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
168:                        .getService();
169:
170:                return mbBanLocalService.getMBMessageFinder();
171:            }
172:
173:            public static void setMBMessageFinder(
174:                    com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder) {
175:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
176:                        .getService();
177:
178:                mbBanLocalService.setMBMessageFinder(mbMessageFinder);
179:            }
180:
181:            public static com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence getMBMessageFlagPersistence() {
182:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
183:                        .getService();
184:
185:                return mbBanLocalService.getMBMessageFlagPersistence();
186:            }
187:
188:            public static void setMBMessageFlagPersistence(
189:                    com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence mbMessageFlagPersistence) {
190:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
191:                        .getService();
192:
193:                mbBanLocalService
194:                        .setMBMessageFlagPersistence(mbMessageFlagPersistence);
195:            }
196:
197:            public static com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder getMBMessageFlagFinder() {
198:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
199:                        .getService();
200:
201:                return mbBanLocalService.getMBMessageFlagFinder();
202:            }
203:
204:            public static void setMBMessageFlagFinder(
205:                    com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder mbMessageFlagFinder) {
206:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
207:                        .getService();
208:
209:                mbBanLocalService.setMBMessageFlagFinder(mbMessageFlagFinder);
210:            }
211:
212:            public static com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence getMBStatsUserPersistence() {
213:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
214:                        .getService();
215:
216:                return mbBanLocalService.getMBStatsUserPersistence();
217:            }
218:
219:            public static void setMBStatsUserPersistence(
220:                    com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence) {
221:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
222:                        .getService();
223:
224:                mbBanLocalService
225:                        .setMBStatsUserPersistence(mbStatsUserPersistence);
226:            }
227:
228:            public static com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence getMBThreadPersistence() {
229:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
230:                        .getService();
231:
232:                return mbBanLocalService.getMBThreadPersistence();
233:            }
234:
235:            public static void setMBThreadPersistence(
236:                    com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence) {
237:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
238:                        .getService();
239:
240:                mbBanLocalService.setMBThreadPersistence(mbThreadPersistence);
241:            }
242:
243:            public static com.liferay.portlet.messageboards.service.persistence.MBThreadFinder getMBThreadFinder() {
244:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
245:                        .getService();
246:
247:                return mbBanLocalService.getMBThreadFinder();
248:            }
249:
250:            public static void setMBThreadFinder(
251:                    com.liferay.portlet.messageboards.service.persistence.MBThreadFinder mbThreadFinder) {
252:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
253:                        .getService();
254:
255:                mbBanLocalService.setMBThreadFinder(mbThreadFinder);
256:            }
257:
258:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
259:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
260:                        .getService();
261:
262:                return mbBanLocalService.getUserPersistence();
263:            }
264:
265:            public static void setUserPersistence(
266:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
267:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
268:                        .getService();
269:
270:                mbBanLocalService.setUserPersistence(userPersistence);
271:            }
272:
273:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
274:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
275:                        .getService();
276:
277:                return mbBanLocalService.getUserFinder();
278:            }
279:
280:            public static void setUserFinder(
281:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
282:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
283:                        .getService();
284:
285:                mbBanLocalService.setUserFinder(userFinder);
286:            }
287:
288:            public static void afterPropertiesSet() {
289:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
290:                        .getService();
291:
292:                mbBanLocalService.afterPropertiesSet();
293:            }
294:
295:            public static com.liferay.portlet.messageboards.model.MBBan addBan(
296:                    long userId, long plid, long banUserId)
297:                    throws com.liferay.portal.PortalException,
298:                    com.liferay.portal.SystemException {
299:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
300:                        .getService();
301:
302:                return mbBanLocalService.addBan(userId, plid, banUserId);
303:            }
304:
305:            public static void checkBan(long groupId, long banUserId)
306:                    throws com.liferay.portal.PortalException,
307:                    com.liferay.portal.SystemException {
308:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
309:                        .getService();
310:
311:                mbBanLocalService.checkBan(groupId, banUserId);
312:            }
313:
314:            public static void deleteBan(long plid, long banUserId)
315:                    throws com.liferay.portal.PortalException,
316:                    com.liferay.portal.SystemException {
317:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
318:                        .getService();
319:
320:                mbBanLocalService.deleteBan(plid, banUserId);
321:            }
322:
323:            public static void deleteBansByBanUserId(long banUserId)
324:                    throws com.liferay.portal.SystemException {
325:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
326:                        .getService();
327:
328:                mbBanLocalService.deleteBansByBanUserId(banUserId);
329:            }
330:
331:            public static void deleteBansByGroupId(long groupId)
332:                    throws com.liferay.portal.SystemException {
333:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
334:                        .getService();
335:
336:                mbBanLocalService.deleteBansByGroupId(groupId);
337:            }
338:
339:            public static void expireBans()
340:                    throws com.liferay.portal.SystemException {
341:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
342:                        .getService();
343:
344:                mbBanLocalService.expireBans();
345:            }
346:
347:            public static java.util.List getBans(long groupId, int start,
348:                    int end) throws com.liferay.portal.SystemException {
349:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
350:                        .getService();
351:
352:                return mbBanLocalService.getBans(groupId, start, end);
353:            }
354:
355:            public static int getBansCount(long groupId)
356:                    throws com.liferay.portal.SystemException {
357:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
358:                        .getService();
359:
360:                return mbBanLocalService.getBansCount(groupId);
361:            }
362:
363:            public static boolean hasBan(long groupId, long banUserId)
364:                    throws com.liferay.portal.SystemException {
365:                MBBanLocalService mbBanLocalService = MBBanLocalServiceFactory
366:                        .getService();
367:
368:                return mbBanLocalService.hasBan(groupId, banUserId);
369:            }
370:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.