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