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 parentFolderId, java.lang.String name,
41          java.lang.String description,
42          com.liferay.portal.service.ServiceContext serviceContext)
43          throws com.liferay.portal.kernel.exception.PortalException,
44              com.liferay.portal.kernel.exception.SystemException {
45          return _igFolderService.addFolder(parentFolderId, name, description,
46              serviceContext);
47      }
48  
49      public com.liferay.portlet.imagegallery.model.IGFolder copyFolder(
50          long sourceFolderId, long parentFolderId, java.lang.String name,
51          java.lang.String description,
52          com.liferay.portal.service.ServiceContext serviceContext)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          return _igFolderService.copyFolder(sourceFolderId, parentFolderId,
56              name, description, serviceContext);
57      }
58  
59      public void deleteFolder(long folderId)
60          throws com.liferay.portal.kernel.exception.PortalException,
61              com.liferay.portal.kernel.exception.SystemException {
62          _igFolderService.deleteFolder(folderId);
63      }
64  
65      public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
66          long folderId)
67          throws com.liferay.portal.kernel.exception.PortalException,
68              com.liferay.portal.kernel.exception.SystemException {
69          return _igFolderService.getFolder(folderId);
70      }
71  
72      public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
73          long groupId, long parentFolderId, java.lang.String name)
74          throws com.liferay.portal.kernel.exception.PortalException,
75              com.liferay.portal.kernel.exception.SystemException {
76          return _igFolderService.getFolder(groupId, parentFolderId, name);
77      }
78  
79      public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
80          long groupId, long parentFolderId)
81          throws com.liferay.portal.kernel.exception.PortalException,
82              com.liferay.portal.kernel.exception.SystemException {
83          return _igFolderService.getFolders(groupId, parentFolderId);
84      }
85  
86      public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
87          long folderId, long parentFolderId, java.lang.String name,
88          java.lang.String description, boolean mergeWithParentFolder,
89          com.liferay.portal.service.ServiceContext serviceContext)
90          throws com.liferay.portal.kernel.exception.PortalException,
91              com.liferay.portal.kernel.exception.SystemException {
92          return _igFolderService.updateFolder(folderId, parentFolderId, name,
93              description, mergeWithParentFolder, serviceContext);
94      }
95  
96      public IGFolderService getWrappedIGFolderService() {
97          return _igFolderService;
98      }
99  
100     private IGFolderService _igFolderService;
101 }