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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link DLFileShortcutService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see DLFileShortcutService
026     * @generated
027     */
028    @ProviderType
029    public class DLFileShortcutServiceWrapper implements DLFileShortcutService,
030            ServiceWrapper<DLFileShortcutService> {
031            public DLFileShortcutServiceWrapper(
032                    DLFileShortcutService dlFileShortcutService) {
033                    _dlFileShortcutService = dlFileShortcutService;
034            }
035    
036            /**
037            * Returns the Spring bean ID for this bean.
038            *
039            * @return the Spring bean ID for this bean
040            */
041            @Override
042            public java.lang.String getBeanIdentifier() {
043                    return _dlFileShortcutService.getBeanIdentifier();
044            }
045    
046            /**
047            * Sets the Spring bean ID for this bean.
048            *
049            * @param beanIdentifier the Spring bean ID for this bean
050            */
051            @Override
052            public void setBeanIdentifier(java.lang.String beanIdentifier) {
053                    _dlFileShortcutService.setBeanIdentifier(beanIdentifier);
054            }
055    
056            @Override
057            public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
058                    long groupId, long folderId, long toFileEntryId,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _dlFileShortcutService.addFileShortcut(groupId, folderId,
063                            toFileEntryId, serviceContext);
064            }
065    
066            @Override
067            public void deleteFileShortcut(long fileShortcutId)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
071            }
072    
073            @Override
074            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
075                    long fileShortcutId)
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException {
078                    return _dlFileShortcutService.getFileShortcut(fileShortcutId);
079            }
080    
081            @Override
082            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
083                    long fileShortcutId, long folderId, long toFileEntryId,
084                    com.liferay.portal.service.ServiceContext serviceContext)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
088                            folderId, toFileEntryId, serviceContext);
089            }
090    
091            /**
092             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
093             */
094            public DLFileShortcutService getWrappedDLFileShortcutService() {
095                    return _dlFileShortcutService;
096            }
097    
098            /**
099             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
100             */
101            public void setWrappedDLFileShortcutService(
102                    DLFileShortcutService dlFileShortcutService) {
103                    _dlFileShortcutService = dlFileShortcutService;
104            }
105    
106            @Override
107            public DLFileShortcutService getWrappedService() {
108                    return _dlFileShortcutService;
109            }
110    
111            @Override
112            public void setWrappedService(DLFileShortcutService dlFileShortcutService) {
113                    _dlFileShortcutService = dlFileShortcutService;
114            }
115    
116            private DLFileShortcutService _dlFileShortcutService;
117    }