Source Code Cross Referenced for IGFolderLocalServiceUtil.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » imagegallery » 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.imagegallery.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.imagegallery.service;
022:
023:        /**
024:         * <a href="IGFolderLocalServiceUtil.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.imagegallery.service.IGFolderLocalService</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.imagegallery.service.IGFolderLocalServiceFactory</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.imagegallery.service.IGFolderLocalService
047:         * @see com.liferay.portlet.imagegallery.service.IGFolderLocalServiceFactory
048:         *
049:         */
050:        public class IGFolderLocalServiceUtil {
051:            public static com.liferay.portlet.imagegallery.model.IGFolder addIGFolder(
052:                    com.liferay.portlet.imagegallery.model.IGFolder model)
053:                    throws com.liferay.portal.SystemException {
054:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
055:                        .getService();
056:
057:                return igFolderLocalService.addIGFolder(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:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
064:                        .getService();
065:
066:                return igFolderLocalService.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:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
074:                        .getService();
075:
076:                return igFolderLocalService.dynamicQuery(queryInitializer,
077:                        begin, end);
078:            }
079:
080:            public static com.liferay.portlet.imagegallery.model.IGFolder updateIGFolder(
081:                    com.liferay.portlet.imagegallery.model.IGFolder model)
082:                    throws com.liferay.portal.SystemException {
083:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
084:                        .getService();
085:
086:                return igFolderLocalService.updateIGFolder(model);
087:            }
088:
089:            public static com.liferay.portlet.imagegallery.service.persistence.IGFolderPersistence getIGFolderPersistence() {
090:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
091:                        .getService();
092:
093:                return igFolderLocalService.getIGFolderPersistence();
094:            }
095:
096:            public static void setIGFolderPersistence(
097:                    com.liferay.portlet.imagegallery.service.persistence.IGFolderPersistence igFolderPersistence) {
098:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
099:                        .getService();
100:
101:                igFolderLocalService
102:                        .setIGFolderPersistence(igFolderPersistence);
103:            }
104:
105:            public static com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence getIGImagePersistence() {
106:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
107:                        .getService();
108:
109:                return igFolderLocalService.getIGImagePersistence();
110:            }
111:
112:            public static void setIGImagePersistence(
113:                    com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence igImagePersistence) {
114:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
115:                        .getService();
116:
117:                igFolderLocalService.setIGImagePersistence(igImagePersistence);
118:            }
119:
120:            public static com.liferay.portlet.imagegallery.service.persistence.IGImageFinder getIGImageFinder() {
121:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
122:                        .getService();
123:
124:                return igFolderLocalService.getIGImageFinder();
125:            }
126:
127:            public static void setIGImageFinder(
128:                    com.liferay.portlet.imagegallery.service.persistence.IGImageFinder igImageFinder) {
129:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
130:                        .getService();
131:
132:                igFolderLocalService.setIGImageFinder(igImageFinder);
133:            }
134:
135:            public static com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence() {
136:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
137:                        .getService();
138:
139:                return igFolderLocalService.getResourcePersistence();
140:            }
141:
142:            public static void setResourcePersistence(
143:                    com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence) {
144:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
145:                        .getService();
146:
147:                igFolderLocalService
148:                        .setResourcePersistence(resourcePersistence);
149:            }
150:
151:            public static com.liferay.portal.service.persistence.ResourceFinder getResourceFinder() {
152:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
153:                        .getService();
154:
155:                return igFolderLocalService.getResourceFinder();
156:            }
157:
158:            public static void setResourceFinder(
159:                    com.liferay.portal.service.persistence.ResourceFinder resourceFinder) {
160:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
161:                        .getService();
162:
163:                igFolderLocalService.setResourceFinder(resourceFinder);
164:            }
165:
166:            public static com.liferay.portal.service.persistence.UserPersistence getUserPersistence() {
167:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
168:                        .getService();
169:
170:                return igFolderLocalService.getUserPersistence();
171:            }
172:
173:            public static void setUserPersistence(
174:                    com.liferay.portal.service.persistence.UserPersistence userPersistence) {
175:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
176:                        .getService();
177:
178:                igFolderLocalService.setUserPersistence(userPersistence);
179:            }
180:
181:            public static com.liferay.portal.service.persistence.UserFinder getUserFinder() {
182:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
183:                        .getService();
184:
185:                return igFolderLocalService.getUserFinder();
186:            }
187:
188:            public static void setUserFinder(
189:                    com.liferay.portal.service.persistence.UserFinder userFinder) {
190:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
191:                        .getService();
192:
193:                igFolderLocalService.setUserFinder(userFinder);
194:            }
195:
196:            public static com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence() {
197:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
198:                        .getService();
199:
200:                return igFolderLocalService.getTagsEntryPersistence();
201:            }
202:
203:            public static void setTagsEntryPersistence(
204:                    com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence) {
205:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
206:                        .getService();
207:
208:                igFolderLocalService
209:                        .setTagsEntryPersistence(tagsEntryPersistence);
210:            }
211:
212:            public static com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder() {
213:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
214:                        .getService();
215:
216:                return igFolderLocalService.getTagsEntryFinder();
217:            }
218:
219:            public static void setTagsEntryFinder(
220:                    com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder) {
221:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
222:                        .getService();
223:
224:                igFolderLocalService.setTagsEntryFinder(tagsEntryFinder);
225:            }
226:
227:            public static void afterPropertiesSet() {
228:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
229:                        .getService();
230:
231:                igFolderLocalService.afterPropertiesSet();
232:            }
233:
234:            public static com.liferay.portlet.imagegallery.model.IGFolder addFolder(
235:                    long userId, long plid, long parentFolderId,
236:                    java.lang.String name, java.lang.String description,
237:                    boolean addCommunityPermissions, boolean addGuestPermissions)
238:                    throws com.liferay.portal.PortalException,
239:                    com.liferay.portal.SystemException {
240:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
241:                        .getService();
242:
243:                return igFolderLocalService.addFolder(userId, plid,
244:                        parentFolderId, name, description,
245:                        addCommunityPermissions, addGuestPermissions);
246:            }
247:
248:            public static com.liferay.portlet.imagegallery.model.IGFolder addFolder(
249:                    java.lang.String uuid, long userId, long plid,
250:                    long parentFolderId, java.lang.String name,
251:                    java.lang.String description,
252:                    boolean addCommunityPermissions, boolean addGuestPermissions)
253:                    throws com.liferay.portal.PortalException,
254:                    com.liferay.portal.SystemException {
255:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
256:                        .getService();
257:
258:                return igFolderLocalService.addFolder(uuid, userId, plid,
259:                        parentFolderId, name, description,
260:                        addCommunityPermissions, addGuestPermissions);
261:            }
262:
263:            public static com.liferay.portlet.imagegallery.model.IGFolder addFolder(
264:                    long userId, long plid, long parentFolderId,
265:                    java.lang.String name, java.lang.String description,
266:                    java.lang.String[] communityPermissions,
267:                    java.lang.String[] guestPermissions)
268:                    throws com.liferay.portal.PortalException,
269:                    com.liferay.portal.SystemException {
270:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
271:                        .getService();
272:
273:                return igFolderLocalService.addFolder(userId, plid,
274:                        parentFolderId, name, description,
275:                        communityPermissions, guestPermissions);
276:            }
277:
278:            public static com.liferay.portlet.imagegallery.model.IGFolder addFolder(
279:                    java.lang.String uuid, long userId, long plid,
280:                    long parentFolderId, java.lang.String name,
281:                    java.lang.String description,
282:                    java.lang.Boolean addCommunityPermissions,
283:                    java.lang.Boolean addGuestPermissions,
284:                    java.lang.String[] communityPermissions,
285:                    java.lang.String[] guestPermissions)
286:                    throws com.liferay.portal.PortalException,
287:                    com.liferay.portal.SystemException {
288:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
289:                        .getService();
290:
291:                return igFolderLocalService.addFolder(uuid, userId, plid,
292:                        parentFolderId, name, description,
293:                        addCommunityPermissions, addGuestPermissions,
294:                        communityPermissions, guestPermissions);
295:            }
296:
297:            public static com.liferay.portlet.imagegallery.model.IGFolder addFolderToGroup(
298:                    java.lang.String uuid, long userId, long groupId,
299:                    long parentFolderId, java.lang.String name,
300:                    java.lang.String description,
301:                    java.lang.Boolean addCommunityPermissions,
302:                    java.lang.Boolean addGuestPermissions,
303:                    java.lang.String[] communityPermissions,
304:                    java.lang.String[] guestPermissions)
305:                    throws com.liferay.portal.PortalException,
306:                    com.liferay.portal.SystemException {
307:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
308:                        .getService();
309:
310:                return igFolderLocalService.addFolderToGroup(uuid, userId,
311:                        groupId, parentFolderId, name, description,
312:                        addCommunityPermissions, addGuestPermissions,
313:                        communityPermissions, guestPermissions);
314:            }
315:
316:            public static void addFolderResources(long folderId,
317:                    boolean addCommunityPermissions, boolean addGuestPermissions)
318:                    throws com.liferay.portal.PortalException,
319:                    com.liferay.portal.SystemException {
320:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
321:                        .getService();
322:
323:                igFolderLocalService.addFolderResources(folderId,
324:                        addCommunityPermissions, addGuestPermissions);
325:            }
326:
327:            public static void addFolderResources(
328:                    com.liferay.portlet.imagegallery.model.IGFolder folder,
329:                    boolean addCommunityPermissions, boolean addGuestPermissions)
330:                    throws com.liferay.portal.PortalException,
331:                    com.liferay.portal.SystemException {
332:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
333:                        .getService();
334:
335:                igFolderLocalService.addFolderResources(folder,
336:                        addCommunityPermissions, addGuestPermissions);
337:            }
338:
339:            public static void addFolderResources(long folderId,
340:                    java.lang.String[] communityPermissions,
341:                    java.lang.String[] guestPermissions)
342:                    throws com.liferay.portal.PortalException,
343:                    com.liferay.portal.SystemException {
344:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
345:                        .getService();
346:
347:                igFolderLocalService.addFolderResources(folderId,
348:                        communityPermissions, guestPermissions);
349:            }
350:
351:            public static void addFolderResources(
352:                    com.liferay.portlet.imagegallery.model.IGFolder folder,
353:                    java.lang.String[] communityPermissions,
354:                    java.lang.String[] guestPermissions)
355:                    throws com.liferay.portal.PortalException,
356:                    com.liferay.portal.SystemException {
357:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
358:                        .getService();
359:
360:                igFolderLocalService.addFolderResources(folder,
361:                        communityPermissions, guestPermissions);
362:            }
363:
364:            public static void deleteFolder(long folderId)
365:                    throws com.liferay.portal.PortalException,
366:                    com.liferay.portal.SystemException {
367:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
368:                        .getService();
369:
370:                igFolderLocalService.deleteFolder(folderId);
371:            }
372:
373:            public static void deleteFolder(
374:                    com.liferay.portlet.imagegallery.model.IGFolder folder)
375:                    throws com.liferay.portal.PortalException,
376:                    com.liferay.portal.SystemException {
377:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
378:                        .getService();
379:
380:                igFolderLocalService.deleteFolder(folder);
381:            }
382:
383:            public static void deleteFolders(long groupId)
384:                    throws com.liferay.portal.PortalException,
385:                    com.liferay.portal.SystemException {
386:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
387:                        .getService();
388:
389:                igFolderLocalService.deleteFolders(groupId);
390:            }
391:
392:            public static com.liferay.portlet.imagegallery.model.IGFolder getFolder(
393:                    long folderId) throws com.liferay.portal.PortalException,
394:                    com.liferay.portal.SystemException {
395:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
396:                        .getService();
397:
398:                return igFolderLocalService.getFolder(folderId);
399:            }
400:
401:            public static java.util.List getFolders(long groupId)
402:                    throws com.liferay.portal.SystemException {
403:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
404:                        .getService();
405:
406:                return igFolderLocalService.getFolders(groupId);
407:            }
408:
409:            public static java.util.List getFolders(long groupId,
410:                    long parentFolderId)
411:                    throws com.liferay.portal.SystemException {
412:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
413:                        .getService();
414:
415:                return igFolderLocalService.getFolders(groupId, parentFolderId);
416:            }
417:
418:            public static java.util.List getFolders(long groupId,
419:                    long parentFolderId, int begin, int end)
420:                    throws com.liferay.portal.SystemException {
421:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
422:                        .getService();
423:
424:                return igFolderLocalService.getFolders(groupId, parentFolderId,
425:                        begin, end);
426:            }
427:
428:            public static int getFoldersCount(long groupId, long parentFolderId)
429:                    throws com.liferay.portal.SystemException {
430:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
431:                        .getService();
432:
433:                return igFolderLocalService.getFoldersCount(groupId,
434:                        parentFolderId);
435:            }
436:
437:            public static void getSubfolderIds(java.util.List folderIds,
438:                    long groupId, long folderId)
439:                    throws com.liferay.portal.SystemException {
440:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
441:                        .getService();
442:
443:                igFolderLocalService.getSubfolderIds(folderIds, groupId,
444:                        folderId);
445:            }
446:
447:            public static void reIndex(java.lang.String[] ids)
448:                    throws com.liferay.portal.SystemException {
449:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
450:                        .getService();
451:
452:                igFolderLocalService.reIndex(ids);
453:            }
454:
455:            public static com.liferay.portal.kernel.search.Hits search(
456:                    long companyId, long groupId, long[] folderIds,
457:                    java.lang.String keywords)
458:                    throws com.liferay.portal.SystemException {
459:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
460:                        .getService();
461:
462:                return igFolderLocalService.search(companyId, groupId,
463:                        folderIds, keywords);
464:            }
465:
466:            public static com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
467:                    long folderId, long parentFolderId, java.lang.String name,
468:                    java.lang.String description, boolean mergeWithParentFolder)
469:                    throws com.liferay.portal.PortalException,
470:                    com.liferay.portal.SystemException {
471:                IGFolderLocalService igFolderLocalService = IGFolderLocalServiceFactory
472:                        .getService();
473:
474:                return igFolderLocalService.updateFolder(folderId,
475:                        parentFolderId, name, description,
476:                        mergeWithParentFolder);
477:            }
478:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.