1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.imagegallery.service;
16  
17  /**
18   * <a href="IGFolderServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link IGFolderService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       IGFolderService
31   * @generated
32   */
33  public class IGFolderServiceWrapper implements IGFolderService {
34      public IGFolderServiceWrapper(IGFolderService igFolderService) {
35          _igFolderService = igFolderService;
36      }
37  
38      public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
39          long parentFolderId, java.lang.String name,
40          java.lang.String description,
41          com.liferay.portal.service.ServiceContext serviceContext)
42          throws com.liferay.portal.PortalException,
43              com.liferay.portal.SystemException {
44          return _igFolderService.addFolder(parentFolderId, name, description,
45              serviceContext);
46      }
47  
48      public com.liferay.portlet.imagegallery.model.IGFolder copyFolder(
49          long sourceFolderId, long parentFolderId, java.lang.String name,
50          java.lang.String description,
51          com.liferay.portal.service.ServiceContext serviceContext)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          return _igFolderService.copyFolder(sourceFolderId, parentFolderId,
55              name, description, serviceContext);
56      }
57  
58      public void deleteFolder(long folderId)
59          throws com.liferay.portal.PortalException,
60              com.liferay.portal.SystemException {
61          _igFolderService.deleteFolder(folderId);
62      }
63  
64      public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
65          long folderId)
66          throws com.liferay.portal.PortalException,
67              com.liferay.portal.SystemException {
68          return _igFolderService.getFolder(folderId);
69      }
70  
71      public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
72          long groupId, long parentFolderId, java.lang.String name)
73          throws com.liferay.portal.PortalException,
74              com.liferay.portal.SystemException {
75          return _igFolderService.getFolder(groupId, parentFolderId, name);
76      }
77  
78      public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
79          long groupId, long parentFolderId)
80          throws com.liferay.portal.PortalException,
81              com.liferay.portal.SystemException {
82          return _igFolderService.getFolders(groupId, parentFolderId);
83      }
84  
85      public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
86          long folderId, long parentFolderId, java.lang.String name,
87          java.lang.String description, boolean mergeWithParentFolder,
88          com.liferay.portal.service.ServiceContext serviceContext)
89          throws com.liferay.portal.PortalException,
90              com.liferay.portal.SystemException {
91          return _igFolderService.updateFolder(folderId, parentFolderId, name,
92              description, mergeWithParentFolder, serviceContext);
93      }
94  
95      public IGFolderService getWrappedIGFolderService() {
96          return _igFolderService;
97      }
98  
99      private IGFolderService _igFolderService;
100 }