001    /**
002     * Copyright (c) 2000-present 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.store;
016    
017    import com.liferay.document.library.kernel.store.Store;
018    import com.liferay.portal.kernel.messaging.proxy.BaseProxyBean;
019    
020    import java.io.File;
021    import java.io.InputStream;
022    
023    /**
024     * @author Brian Wing Shun Chan
025     * @author Edward Han
026     */
027    public class StoreProxyBean extends BaseProxyBean implements Store {
028    
029            @Override
030            public void addDirectory(
031                    long companyId, long repositoryId, String dirName) {
032    
033                    throw new UnsupportedOperationException();
034            }
035    
036            @Override
037            public void addFile(
038                    long companyId, long repositoryId, String fileName, byte[] bytes) {
039    
040                    throw new UnsupportedOperationException();
041            }
042    
043            @Override
044            public void addFile(
045                    long companyId, long repositoryId, String fileName, File file) {
046    
047                    throw new UnsupportedOperationException();
048            }
049    
050            @Override
051            public void addFile(
052                    long companyId, long repositoryId, String fileName, InputStream is) {
053    
054                    throw new UnsupportedOperationException();
055            }
056    
057            @Override
058            public void checkRoot(long companyId) {
059                    throw new UnsupportedOperationException();
060            }
061    
062            @Override
063            public void copyFileVersion(
064                    long companyId, long repositoryId, String fileName,
065                    String fromVersionLabel, String toVersionLabel) {
066    
067                    throw new UnsupportedOperationException();
068            }
069    
070            @Override
071            public void deleteDirectory(
072                    long companyId, long repositoryId, String dirName) {
073    
074                    throw new UnsupportedOperationException();
075            }
076    
077            @Override
078            public void deleteFile(long companyId, long repositoryId, String fileName) {
079                    throw new UnsupportedOperationException();
080            }
081    
082            @Override
083            public void deleteFile(
084                    long companyId, long repositoryId, String fileName,
085                    String versionLabel) {
086    
087                    throw new UnsupportedOperationException();
088            }
089    
090            @Override
091            public File getFile(long companyId, long repositoryId, String fileName) {
092                    throw new UnsupportedOperationException();
093            }
094    
095            @Override
096            public File getFile(
097                    long companyId, long repositoryId, String fileName,
098                    String versionLabel) {
099    
100                    throw new UnsupportedOperationException();
101            }
102    
103            @Override
104            public byte[] getFileAsBytes(
105                    long companyId, long repositoryId, String fileName) {
106    
107                    throw new UnsupportedOperationException();
108            }
109    
110            @Override
111            public byte[] getFileAsBytes(
112                    long companyId, long repositoryId, String fileName,
113                    String versionLabel) {
114    
115                    throw new UnsupportedOperationException();
116            }
117    
118            @Override
119            public InputStream getFileAsStream(
120                    long companyId, long repositoryId, String fileName) {
121    
122                    throw new UnsupportedOperationException();
123            }
124    
125            @Override
126            public InputStream getFileAsStream(
127                    long companyId, long repositoryId, String fileName,
128                    String versionLabel) {
129    
130                    throw new UnsupportedOperationException();
131            }
132    
133            @Override
134            public String[] getFileNames(long companyId, long repositoryId) {
135                    throw new UnsupportedOperationException();
136            }
137    
138            @Override
139            public String[] getFileNames(
140                    long companyId, long repositoryId, String dirName) {
141    
142                    throw new UnsupportedOperationException();
143            }
144    
145            @Override
146            public long getFileSize(
147                    long companyId, long repositoryId, String fileName) {
148    
149                    throw new UnsupportedOperationException();
150            }
151    
152            @Override
153            public boolean hasDirectory(
154                    long companyId, long repositoryId, String dirName) {
155    
156                    throw new UnsupportedOperationException();
157            }
158    
159            @Override
160            public boolean hasFile(long companyId, long repositoryId, String fileName) {
161                    throw new UnsupportedOperationException();
162            }
163    
164            @Override
165            public boolean hasFile(
166                    long companyId, long repositoryId, String fileName,
167                    String versionLabel) {
168    
169                    throw new UnsupportedOperationException();
170            }
171    
172            @Override
173            public void move(String srcDir, String destDir) {
174                    throw new UnsupportedOperationException();
175            }
176    
177            public void reindex(String[] ids) {
178                    throw new UnsupportedOperationException();
179            }
180    
181            @Override
182            public void updateFile(
183                    long companyId, long repositoryId, long newRepositoryId,
184                    String fileName) {
185    
186                    throw new UnsupportedOperationException();
187            }
188    
189            @Override
190            public void updateFile(
191                    long companyId, long repositoryId, String fileName,
192                    String newFileName) {
193    
194                    throw new UnsupportedOperationException();
195            }
196    
197            @Override
198            public void updateFile(
199                    long companyId, long repositoryId, String fileName, String versionLabel,
200                    byte[] bytes) {
201    
202                    throw new UnsupportedOperationException();
203            }
204    
205            @Override
206            public void updateFile(
207                    long companyId, long repositoryId, String fileName, String versionLabel,
208                    File file) {
209    
210                    throw new UnsupportedOperationException();
211            }
212    
213            @Override
214            public void updateFile(
215                    long companyId, long repositoryId, String fileName, String versionLabel,
216                    InputStream is) {
217    
218                    throw new UnsupportedOperationException();
219            }
220    
221            @Override
222            public void updateFileVersion(
223                    long companyId, long repositoryId, String fileName,
224                    String fromVersionLabel, String toVersionLabel) {
225    
226                    throw new UnsupportedOperationException();
227            }
228    
229    }