1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.imagegallery.service;
16  
17  
18  /**
19   * <a href="IGFolderServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link IGFolderService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       IGFolderService
32   * @generated
33   */
34  public class IGFolderServiceWrapper implements IGFolderService {
35      public IGFolderServiceWrapper(IGFolderService igFolderService) {
36          _igFolderService = igFolderService;
37      }
38  
39      public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
40          long plid, long parentFolderId, java.lang.String name,
41          java.lang.String description, boolean addCommunityPermissions,
42          boolean addGuestPermissions)
43          throws com.liferay.portal.PortalException,
44              com.liferay.portal.SystemException, java.rmi.RemoteException {
45          return _igFolderService.addFolder(plid, parentFolderId, name,
46              description, addCommunityPermissions, addGuestPermissions);
47      }
48  
49      public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
50          long plid, long parentFolderId, java.lang.String name,
51          java.lang.String description, java.lang.String[] communityPermissions,
52          java.lang.String[] guestPermissions)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException, java.rmi.RemoteException {
55          return _igFolderService.addFolder(plid, parentFolderId, name,
56              description, communityPermissions, guestPermissions);
57      }
58  
59      public com.liferay.portlet.imagegallery.model.IGFolder copyFolder(
60          long plid, long sourceFolderId, long parentFolderId,
61          java.lang.String name, java.lang.String description,
62          boolean addCommunityPermissions, boolean addGuestPermissions)
63          throws com.liferay.portal.PortalException,
64              com.liferay.portal.SystemException, java.rmi.RemoteException {
65          return _igFolderService.copyFolder(plid, sourceFolderId,
66              parentFolderId, name, description, addCommunityPermissions,
67              addGuestPermissions);
68      }
69  
70      public void deleteFolder(long folderId)
71          throws com.liferay.portal.PortalException,
72              com.liferay.portal.SystemException, java.rmi.RemoteException {
73          _igFolderService.deleteFolder(folderId);
74      }
75  
76      public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
77          long folderId)
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException, java.rmi.RemoteException {
80          return _igFolderService.getFolder(folderId);
81      }
82  
83      public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
84          long groupId, long parentFolderId, java.lang.String name)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException, java.rmi.RemoteException {
87          return _igFolderService.getFolder(groupId, parentFolderId, name);
88      }
89  
90      public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
91          long groupId, long parentFolderId)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException, java.rmi.RemoteException {
94          return _igFolderService.getFolders(groupId, parentFolderId);
95      }
96  
97      public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
98          long folderId, long parentFolderId, java.lang.String name,
99          java.lang.String description, boolean mergeWithParentFolder)
100         throws com.liferay.portal.PortalException,
101             com.liferay.portal.SystemException, java.rmi.RemoteException {
102         return _igFolderService.updateFolder(folderId, parentFolderId, name,
103             description, mergeWithParentFolder);
104     }
105 
106     public IGFolderService getWrappedIGFolderService() {
107         return _igFolderService;
108     }
109 
110     private IGFolderService _igFolderService;
111 }