Source Code Cross Referenced for BlogsStatsUserLocalServiceUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » blogs » 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.blogs.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.blogs.service;
022:
023:        /**
024:         * <a href="BlogsStatsUserLocalServiceUtil.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.blogs.service.BlogsStatsUserLocalService</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.blogs.service.BlogsStatsUserLocalServiceFactory</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.blogs.service.BlogsStatsUserLocalService
047:         * @see com.liferay.portlet.blogs.service.BlogsStatsUserLocalServiceFactory
048:         *
049:         */
050:        public class BlogsStatsUserLocalServiceUtil {
051:            public static com.liferay.portlet.blogs.model.BlogsStatsUser addBlogsStatsUser(
052:                    com.liferay.portlet.blogs.model.BlogsStatsUser model)
053:                    throws com.liferay.portal.SystemException {
054:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
055:                        .getService();
056:
057:                return blogsStatsUserLocalService.addBlogsStatsUser(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:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
064:                        .getService();
065:
066:                return blogsStatsUserLocalService
067:                        .dynamicQuery(queryInitializer);
068:            }
069:
070:            public static java.util.List dynamicQuery(
071:                    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
072:                    int begin, int end)
073:                    throws com.liferay.portal.SystemException {
074:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
075:                        .getService();
076:
077:                return blogsStatsUserLocalService.dynamicQuery(
078:                        queryInitializer, begin, end);
079:            }
080:
081:            public static com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
082:                    com.liferay.portlet.blogs.model.BlogsStatsUser model)
083:                    throws com.liferay.portal.SystemException {
084:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
085:                        .getService();
086:
087:                return blogsStatsUserLocalService.updateBlogsStatsUser(model);
088:            }
089:
090:            public static com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence getBlogsEntryPersistence() {
091:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
092:                        .getService();
093:
094:                return blogsStatsUserLocalService.getBlogsEntryPersistence();
095:            }
096:
097:            public static void setBlogsEntryPersistence(
098:                    com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence blogsEntryPersistence) {
099:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
100:                        .getService();
101:
102:                blogsStatsUserLocalService
103:                        .setBlogsEntryPersistence(blogsEntryPersistence);
104:            }
105:
106:            public static com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder getBlogsEntryFinder() {
107:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
108:                        .getService();
109:
110:                return blogsStatsUserLocalService.getBlogsEntryFinder();
111:            }
112:
113:            public static void setBlogsEntryFinder(
114:                    com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder blogsEntryFinder) {
115:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
116:                        .getService();
117:
118:                blogsStatsUserLocalService
119:                        .setBlogsEntryFinder(blogsEntryFinder);
120:            }
121:
122:            public static com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
123:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
124:                        .getService();
125:
126:                return blogsStatsUserLocalService
127:                        .getBlogsStatsUserPersistence();
128:            }
129:
130:            public static void setBlogsStatsUserPersistence(
131:                    com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence blogsStatsUserPersistence) {
132:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
133:                        .getService();
134:
135:                blogsStatsUserLocalService
136:                        .setBlogsStatsUserPersistence(blogsStatsUserPersistence);
137:            }
138:
139:            public static com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder getBlogsStatsUserFinder() {
140:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
141:                        .getService();
142:
143:                return blogsStatsUserLocalService.getBlogsStatsUserFinder();
144:            }
145:
146:            public static void setBlogsStatsUserFinder(
147:                    com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder blogsStatsUserFinder) {
148:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
149:                        .getService();
150:
151:                blogsStatsUserLocalService
152:                        .setBlogsStatsUserFinder(blogsStatsUserFinder);
153:            }
154:
155:            public static com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence() {
156:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
157:                        .getService();
158:
159:                return blogsStatsUserLocalService.getGroupPersistence();
160:            }
161:
162:            public static void setGroupPersistence(
163:                    com.liferay.portal.service.persistence.GroupPersistence groupPersistence) {
164:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
165:                        .getService();
166:
167:                blogsStatsUserLocalService
168:                        .setGroupPersistence(groupPersistence);
169:            }
170:
171:            public static com.liferay.portal.service.persistence.GroupFinder getGroupFinder() {
172:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
173:                        .getService();
174:
175:                return blogsStatsUserLocalService.getGroupFinder();
176:            }
177:
178:            public static void setGroupFinder(
179:                    com.liferay.portal.service.persistence.GroupFinder groupFinder) {
180:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
181:                        .getService();
182:
183:                blogsStatsUserLocalService.setGroupFinder(groupFinder);
184:            }
185:
186:            public static void afterPropertiesSet() {
187:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
188:                        .getService();
189:
190:                blogsStatsUserLocalService.afterPropertiesSet();
191:            }
192:
193:            public static void deleteStatsUserByGroupId(long groupId)
194:                    throws com.liferay.portal.SystemException {
195:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
196:                        .getService();
197:
198:                blogsStatsUserLocalService.deleteStatsUserByGroupId(groupId);
199:            }
200:
201:            public static void deleteStatsUserByUserId(long userId)
202:                    throws com.liferay.portal.SystemException {
203:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
204:                        .getService();
205:
206:                blogsStatsUserLocalService.deleteStatsUserByUserId(userId);
207:            }
208:
209:            public static java.util.List getCompanyStatsUsers(long companyId,
210:                    int begin, int end,
211:                    com.liferay.portal.kernel.util.OrderByComparator obc)
212:                    throws com.liferay.portal.SystemException {
213:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
214:                        .getService();
215:
216:                return blogsStatsUserLocalService.getCompanyStatsUsers(
217:                        companyId, begin, end, obc);
218:            }
219:
220:            public static int getCompanyStatsUsersCount(long companyId)
221:                    throws com.liferay.portal.SystemException {
222:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
223:                        .getService();
224:
225:                return blogsStatsUserLocalService
226:                        .getCompanyStatsUsersCount(companyId);
227:            }
228:
229:            public static java.util.List getGroupStatsUsers(long groupId,
230:                    int begin, int end,
231:                    com.liferay.portal.kernel.util.OrderByComparator obc)
232:                    throws com.liferay.portal.SystemException {
233:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
234:                        .getService();
235:
236:                return blogsStatsUserLocalService.getGroupStatsUsers(groupId,
237:                        begin, end, obc);
238:            }
239:
240:            public static int getGroupStatsUsersCount(long groupId)
241:                    throws com.liferay.portal.SystemException {
242:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
243:                        .getService();
244:
245:                return blogsStatsUserLocalService
246:                        .getGroupStatsUsersCount(groupId);
247:            }
248:
249:            public static java.util.List getOrganizationStatsUsers(
250:                    long organizationId, int begin, int end,
251:                    com.liferay.portal.kernel.util.OrderByComparator obc)
252:                    throws com.liferay.portal.SystemException {
253:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
254:                        .getService();
255:
256:                return blogsStatsUserLocalService.getOrganizationStatsUsers(
257:                        organizationId, begin, end, obc);
258:            }
259:
260:            public static int getOrganizationStatsUsersCount(long organizationId)
261:                    throws com.liferay.portal.SystemException {
262:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
263:                        .getService();
264:
265:                return blogsStatsUserLocalService
266:                        .getOrganizationStatsUsersCount(organizationId);
267:            }
268:
269:            public static com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
270:                    long groupId, long userId)
271:                    throws com.liferay.portal.PortalException,
272:                    com.liferay.portal.SystemException {
273:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
274:                        .getService();
275:
276:                return blogsStatsUserLocalService.getStatsUser(groupId, userId);
277:            }
278:
279:            public static void updateStatsUser(long groupId, long userId,
280:                    java.util.Date lastPostDate)
281:                    throws com.liferay.portal.PortalException,
282:                    com.liferay.portal.SystemException {
283:                BlogsStatsUserLocalService blogsStatsUserLocalService = BlogsStatsUserLocalServiceFactory
284:                        .getService();
285:
286:                blogsStatsUserLocalService.updateStatsUser(groupId, userId,
287:                        lastPostDate);
288:            }
289:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.