001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link DLFileShortcutService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DLFileShortcutService
026     * @generated
027     */
028    public class DLFileShortcutServiceWrapper implements DLFileShortcutService,
029            ServiceWrapper<DLFileShortcutService> {
030            public DLFileShortcutServiceWrapper(
031                    DLFileShortcutService dlFileShortcutService) {
032                    _dlFileShortcutService = dlFileShortcutService;
033            }
034    
035            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            public java.lang.String getBeanIdentifier() {
041                    return _dlFileShortcutService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _dlFileShortcutService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
054                    long groupId, long folderId, long toFileEntryId,
055                    com.liferay.portal.service.ServiceContext serviceContext)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    return _dlFileShortcutService.addFileShortcut(groupId, folderId,
059                            toFileEntryId, serviceContext);
060            }
061    
062            public void deleteFileShortcut(long fileShortcutId)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
066            }
067    
068            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
069                    long fileShortcutId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _dlFileShortcutService.getFileShortcut(fileShortcutId);
073            }
074    
075            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
076                    long fileShortcutId, long folderId, long toFileEntryId,
077                    com.liferay.portal.service.ServiceContext serviceContext)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException {
080                    return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
081                            folderId, toFileEntryId, serviceContext);
082            }
083    
084            /**
085             * @deprecated Renamed to {@link #getWrappedService}
086             */
087            public DLFileShortcutService getWrappedDLFileShortcutService() {
088                    return _dlFileShortcutService;
089            }
090    
091            /**
092             * @deprecated Renamed to {@link #setWrappedService}
093             */
094            public void setWrappedDLFileShortcutService(
095                    DLFileShortcutService dlFileShortcutService) {
096                    _dlFileShortcutService = dlFileShortcutService;
097            }
098    
099            public DLFileShortcutService getWrappedService() {
100                    return _dlFileShortcutService;
101            }
102    
103            public void setWrappedService(DLFileShortcutService dlFileShortcutService) {
104                    _dlFileShortcutService = dlFileShortcutService;
105            }
106    
107            private DLFileShortcutService _dlFileShortcutService;
108    }