Source Code Cross Referenced for RatingsEntryLocalServiceUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » ratings » 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.ratings.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.ratings.service;
022:
023:        /**
024:         * <a href="RatingsEntryLocalServiceUtil.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.ratings.service.RatingsEntryLocalService</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.ratings.service.RatingsEntryLocalServiceFactory</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.ratings.service.RatingsEntryLocalService
047:         * @see com.liferay.portlet.ratings.service.RatingsEntryLocalServiceFactory
048:         *
049:         */
050:        public class RatingsEntryLocalServiceUtil {
051:            public static com.liferay.portlet.ratings.model.RatingsEntry addRatingsEntry(
052:                    com.liferay.portlet.ratings.model.RatingsEntry model)
053:                    throws com.liferay.portal.SystemException {
054:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
055:                        .getService();
056:
057:                return ratingsEntryLocalService.addRatingsEntry(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:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
064:                        .getService();
065:
066:                return ratingsEntryLocalService.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:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
074:                        .getService();
075:
076:                return ratingsEntryLocalService.dynamicQuery(queryInitializer,
077:                        begin, end);
078:            }
079:
080:            public static com.liferay.portlet.ratings.model.RatingsEntry updateRatingsEntry(
081:                    com.liferay.portlet.ratings.model.RatingsEntry model)
082:                    throws com.liferay.portal.SystemException {
083:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
084:                        .getService();
085:
086:                return ratingsEntryLocalService.updateRatingsEntry(model);
087:            }
088:
089:            public static com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence getRatingsEntryPersistence() {
090:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
091:                        .getService();
092:
093:                return ratingsEntryLocalService.getRatingsEntryPersistence();
094:            }
095:
096:            public static void setRatingsEntryPersistence(
097:                    com.liferay.portlet.ratings.service.persistence.RatingsEntryPersistence ratingsEntryPersistence) {
098:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
099:                        .getService();
100:
101:                ratingsEntryLocalService
102:                        .setRatingsEntryPersistence(ratingsEntryPersistence);
103:            }
104:
105:            public static com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence getRatingsStatsPersistence() {
106:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
107:                        .getService();
108:
109:                return ratingsEntryLocalService.getRatingsStatsPersistence();
110:            }
111:
112:            public static void setRatingsStatsPersistence(
113:                    com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence ratingsStatsPersistence) {
114:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
115:                        .getService();
116:
117:                ratingsEntryLocalService
118:                        .setRatingsStatsPersistence(ratingsStatsPersistence);
119:            }
120:
121:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
122:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
123:                        .getService();
124:
125:                return ratingsEntryLocalService.getUserPersistence();
126:            }
127:
128:            public static void setUserPersistence(
129:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
130:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
131:                        .getService();
132:
133:                ratingsEntryLocalService.setUserPersistence(userPersistence);
134:            }
135:
136:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
137:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
138:                        .getService();
139:
140:                return ratingsEntryLocalService.getUserFinder();
141:            }
142:
143:            public static void setUserFinder(
144:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
145:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
146:                        .getService();
147:
148:                ratingsEntryLocalService.setUserFinder(userFinder);
149:            }
150:
151:            public static com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence getBlogsEntryPersistence() {
152:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
153:                        .getService();
154:
155:                return ratingsEntryLocalService.getBlogsEntryPersistence();
156:            }
157:
158:            public static void setBlogsEntryPersistence(
159:                    com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence blogsEntryPersistence) {
160:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
161:                        .getService();
162:
163:                ratingsEntryLocalService
164:                        .setBlogsEntryPersistence(blogsEntryPersistence);
165:            }
166:
167:            public static com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder getBlogsEntryFinder() {
168:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
169:                        .getService();
170:
171:                return ratingsEntryLocalService.getBlogsEntryFinder();
172:            }
173:
174:            public static void setBlogsEntryFinder(
175:                    com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder blogsEntryFinder) {
176:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
177:                        .getService();
178:
179:                ratingsEntryLocalService.setBlogsEntryFinder(blogsEntryFinder);
180:            }
181:
182:            public static com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
183:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
184:                        .getService();
185:
186:                return ratingsEntryLocalService.getBlogsStatsUserPersistence();
187:            }
188:
189:            public static void setBlogsStatsUserPersistence(
190:                    com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence blogsStatsUserPersistence) {
191:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
192:                        .getService();
193:
194:                ratingsEntryLocalService
195:                        .setBlogsStatsUserPersistence(blogsStatsUserPersistence);
196:            }
197:
198:            public static com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder getBlogsStatsUserFinder() {
199:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
200:                        .getService();
201:
202:                return ratingsEntryLocalService.getBlogsStatsUserFinder();
203:            }
204:
205:            public static void setBlogsStatsUserFinder(
206:                    com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder blogsStatsUserFinder) {
207:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
208:                        .getService();
209:
210:                ratingsEntryLocalService
211:                        .setBlogsStatsUserFinder(blogsStatsUserFinder);
212:            }
213:
214:            public static void afterPropertiesSet() {
215:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
216:                        .getService();
217:
218:                ratingsEntryLocalService.afterPropertiesSet();
219:            }
220:
221:            public static com.liferay.portlet.ratings.model.RatingsEntry getEntry(
222:                    long userId, java.lang.String className, long classPK)
223:                    throws com.liferay.portal.PortalException,
224:                    com.liferay.portal.SystemException {
225:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
226:                        .getService();
227:
228:                return ratingsEntryLocalService.getEntry(userId, className,
229:                        classPK);
230:            }
231:
232:            public static java.util.List getEntries(java.lang.String className,
233:                    long classPK) throws com.liferay.portal.PortalException,
234:                    com.liferay.portal.SystemException {
235:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
236:                        .getService();
237:
238:                return ratingsEntryLocalService.getEntries(className, classPK);
239:            }
240:
241:            public static com.liferay.portlet.ratings.model.RatingsEntry updateEntry(
242:                    long userId, java.lang.String className, long classPK,
243:                    double score) throws com.liferay.portal.PortalException,
244:                    com.liferay.portal.SystemException {
245:                RatingsEntryLocalService ratingsEntryLocalService = RatingsEntryLocalServiceFactory
246:                        .getService();
247:
248:                return ratingsEntryLocalService.updateEntry(userId, className,
249:                        classPK, score);
250:            }
251:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.