Source Code Cross Referenced for MBStatsUserLocalServiceUtil.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="MBStatsUserLocalServiceUtil.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.MBStatsUserLocalService</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.MBStatsUserLocalServiceFactory</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.MBStatsUserLocalService
047:         * @see com.liferay.portlet.messageboards.service.MBStatsUserLocalServiceFactory
048:         *
049:         */
050:        public class MBStatsUserLocalServiceUtil {
051:            public static com.liferay.portlet.messageboards.model.MBStatsUser addMBStatsUser(
052:                    com.liferay.portlet.messageboards.model.MBStatsUser model)
053:                    throws com.liferay.portal.SystemException {
054:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
055:                        .getService();
056:
057:                return mbStatsUserLocalService.addMBStatsUser(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:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
064:                        .getService();
065:
066:                return mbStatsUserLocalService.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:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
074:                        .getService();
075:
076:                return mbStatsUserLocalService.dynamicQuery(queryInitializer,
077:                        begin, end);
078:            }
079:
080:            public static com.liferay.portlet.messageboards.model.MBStatsUser updateMBStatsUser(
081:                    com.liferay.portlet.messageboards.model.MBStatsUser model)
082:                    throws com.liferay.portal.SystemException {
083:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
084:                        .getService();
085:
086:                return mbStatsUserLocalService.updateMBStatsUser(model);
087:            }
088:
089:            public static com.liferay.portlet.messageboards.service.persistence.MBBanPersistence getMBBanPersistence() {
090:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
091:                        .getService();
092:
093:                return mbStatsUserLocalService.getMBBanPersistence();
094:            }
095:
096:            public static void setMBBanPersistence(
097:                    com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence) {
098:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
099:                        .getService();
100:
101:                mbStatsUserLocalService.setMBBanPersistence(mbBanPersistence);
102:            }
103:
104:            public static com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence getMBCategoryPersistence() {
105:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
106:                        .getService();
107:
108:                return mbStatsUserLocalService.getMBCategoryPersistence();
109:            }
110:
111:            public static void setMBCategoryPersistence(
112:                    com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence) {
113:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
114:                        .getService();
115:
116:                mbStatsUserLocalService
117:                        .setMBCategoryPersistence(mbCategoryPersistence);
118:            }
119:
120:            public static com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder getMBCategoryFinder() {
121:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
122:                        .getService();
123:
124:                return mbStatsUserLocalService.getMBCategoryFinder();
125:            }
126:
127:            public static void setMBCategoryFinder(
128:                    com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder mbCategoryFinder) {
129:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
130:                        .getService();
131:
132:                mbStatsUserLocalService.setMBCategoryFinder(mbCategoryFinder);
133:            }
134:
135:            public static com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence getMBDiscussionPersistence() {
136:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
137:                        .getService();
138:
139:                return mbStatsUserLocalService.getMBDiscussionPersistence();
140:            }
141:
142:            public static void setMBDiscussionPersistence(
143:                    com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence) {
144:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
145:                        .getService();
146:
147:                mbStatsUserLocalService
148:                        .setMBDiscussionPersistence(mbDiscussionPersistence);
149:            }
150:
151:            public static com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence() {
152:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
153:                        .getService();
154:
155:                return mbStatsUserLocalService.getMBMessagePersistence();
156:            }
157:
158:            public static void setMBMessagePersistence(
159:                    com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence) {
160:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
161:                        .getService();
162:
163:                mbStatsUserLocalService
164:                        .setMBMessagePersistence(mbMessagePersistence);
165:            }
166:
167:            public static com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder() {
168:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
169:                        .getService();
170:
171:                return mbStatsUserLocalService.getMBMessageFinder();
172:            }
173:
174:            public static void setMBMessageFinder(
175:                    com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder) {
176:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
177:                        .getService();
178:
179:                mbStatsUserLocalService.setMBMessageFinder(mbMessageFinder);
180:            }
181:
182:            public static com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence getMBMessageFlagPersistence() {
183:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
184:                        .getService();
185:
186:                return mbStatsUserLocalService.getMBMessageFlagPersistence();
187:            }
188:
189:            public static void setMBMessageFlagPersistence(
190:                    com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence mbMessageFlagPersistence) {
191:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
192:                        .getService();
193:
194:                mbStatsUserLocalService
195:                        .setMBMessageFlagPersistence(mbMessageFlagPersistence);
196:            }
197:
198:            public static com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder getMBMessageFlagFinder() {
199:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
200:                        .getService();
201:
202:                return mbStatsUserLocalService.getMBMessageFlagFinder();
203:            }
204:
205:            public static void setMBMessageFlagFinder(
206:                    com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder mbMessageFlagFinder) {
207:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
208:                        .getService();
209:
210:                mbStatsUserLocalService
211:                        .setMBMessageFlagFinder(mbMessageFlagFinder);
212:            }
213:
214:            public static com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence getMBStatsUserPersistence() {
215:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
216:                        .getService();
217:
218:                return mbStatsUserLocalService.getMBStatsUserPersistence();
219:            }
220:
221:            public static void setMBStatsUserPersistence(
222:                    com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence) {
223:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
224:                        .getService();
225:
226:                mbStatsUserLocalService
227:                        .setMBStatsUserPersistence(mbStatsUserPersistence);
228:            }
229:
230:            public static com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence getMBThreadPersistence() {
231:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
232:                        .getService();
233:
234:                return mbStatsUserLocalService.getMBThreadPersistence();
235:            }
236:
237:            public static void setMBThreadPersistence(
238:                    com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence) {
239:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
240:                        .getService();
241:
242:                mbStatsUserLocalService
243:                        .setMBThreadPersistence(mbThreadPersistence);
244:            }
245:
246:            public static com.liferay.portlet.messageboards.service.persistence.MBThreadFinder getMBThreadFinder() {
247:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
248:                        .getService();
249:
250:                return mbStatsUserLocalService.getMBThreadFinder();
251:            }
252:
253:            public static void setMBThreadFinder(
254:                    com.liferay.portlet.messageboards.service.persistence.MBThreadFinder mbThreadFinder) {
255:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
256:                        .getService();
257:
258:                mbStatsUserLocalService.setMBThreadFinder(mbThreadFinder);
259:            }
260:
261:            public static void afterPropertiesSet() {
262:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
263:                        .getService();
264:
265:                mbStatsUserLocalService.afterPropertiesSet();
266:            }
267:
268:            public static void deleteStatsUserByGroupId(long groupId)
269:                    throws com.liferay.portal.SystemException {
270:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
271:                        .getService();
272:
273:                mbStatsUserLocalService.deleteStatsUserByGroupId(groupId);
274:            }
275:
276:            public static void deleteStatsUserByUserId(long userId)
277:                    throws com.liferay.portal.SystemException {
278:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
279:                        .getService();
280:
281:                mbStatsUserLocalService.deleteStatsUserByUserId(userId);
282:            }
283:
284:            public static com.liferay.portlet.messageboards.model.MBStatsUser getStatsUser(
285:                    long groupId, long userId)
286:                    throws com.liferay.portal.PortalException,
287:                    com.liferay.portal.SystemException {
288:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
289:                        .getService();
290:
291:                return mbStatsUserLocalService.getStatsUser(groupId, userId);
292:            }
293:
294:            public static java.util.List getStatsUsers(long groupId, int begin,
295:                    int end) throws com.liferay.portal.SystemException {
296:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
297:                        .getService();
298:
299:                return mbStatsUserLocalService.getStatsUsers(groupId, begin,
300:                        end);
301:            }
302:
303:            public static int getStatsUsersCount(long groupId)
304:                    throws com.liferay.portal.SystemException {
305:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
306:                        .getService();
307:
308:                return mbStatsUserLocalService.getStatsUsersCount(groupId);
309:            }
310:
311:            public static void updateStatsUser(long groupId, long userId)
312:                    throws com.liferay.portal.PortalException,
313:                    com.liferay.portal.SystemException {
314:                MBStatsUserLocalService mbStatsUserLocalService = MBStatsUserLocalServiceFactory
315:                        .getService();
316:
317:                mbStatsUserLocalService.updateStatsUser(groupId, userId);
318:            }
319:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.