001    /**
002     * Copyright (c) 2000-2012 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            public void addDirectory(
029                    long companyId, long repositoryId, String dirName) {
030    
031                    throw new UnsupportedOperationException();
032            }
033    
034            public void addFile(
035                    long companyId, long repositoryId, String fileName, byte[] bytes) {
036    
037                    throw new UnsupportedOperationException();
038            }
039    
040            public void addFile(
041                    long companyId, long repositoryId, String fileName, File file) {
042    
043                    throw new UnsupportedOperationException();
044            }
045    
046            public void addFile(
047                    long companyId, long repositoryId, String fileName, InputStream is) {
048    
049                    throw new UnsupportedOperationException();
050            }
051    
052            public void checkRoot(long companyId) {
053                    throw new UnsupportedOperationException();
054            }
055    
056            public void copyFileVersion(
057                    long companyId, long repositoryId, String fileName,
058                    String fromVersionLabel, String toVersionLabel) {
059    
060                    throw new UnsupportedOperationException();
061            }
062    
063            public void deleteDirectory(
064                    long companyId, long repositoryId, String dirName) {
065    
066                    throw new UnsupportedOperationException();
067            }
068    
069            public void deleteFile(long companyId, long repositoryId, String fileName) {
070                    throw new UnsupportedOperationException();
071            }
072    
073            public void deleteFile(
074                    long companyId, long repositoryId, String fileName,
075                    String versionLabel) {
076    
077                    throw new UnsupportedOperationException();
078            }
079    
080            public File getFile(long companyId, long repositoryId, String fileName) {
081                    throw new UnsupportedOperationException();
082            }
083    
084            public File getFile(
085                    long companyId, long repositoryId, String fileName,
086                    String versionLabel) {
087    
088                    throw new UnsupportedOperationException();
089            }
090    
091            public byte[] getFileAsBytes(
092                    long companyId, long repositoryId, String fileName) {
093    
094                    throw new UnsupportedOperationException();
095            }
096    
097            public byte[] getFileAsBytes(
098                    long companyId, long repositoryId, String fileName,
099                    String versionLabel) {
100    
101                    throw new UnsupportedOperationException();
102            }
103    
104            public InputStream getFileAsStream(
105                    long companyId, long repositoryId, String fileName) {
106    
107                    throw new UnsupportedOperationException();
108            }
109    
110            public InputStream getFileAsStream(
111                    long companyId, long repositoryId, String fileName,
112                    String versionLabel) {
113    
114                    throw new UnsupportedOperationException();
115            }
116    
117            public String[] getFileNames(long companyId, long repositoryId) {
118                    throw new UnsupportedOperationException();
119            }
120    
121            public String[] getFileNames(
122                    long companyId, long repositoryId, String dirName) {
123    
124                    throw new UnsupportedOperationException();
125            }
126    
127            public long getFileSize(
128                    long companyId, long repositoryId, String fileName) {
129    
130                    throw new UnsupportedOperationException();
131            }
132    
133            public boolean hasDirectory(
134                    long companyId, long repositoryId, String dirName) {
135    
136                    throw new UnsupportedOperationException();
137            }
138    
139            public boolean hasFile(long companyId, long repositoryId, String fileName) {
140                    throw new UnsupportedOperationException();
141            }
142    
143            public boolean hasFile(
144                    long companyId, long repositoryId, String fileName,
145                    String versionLabel) {
146    
147                    throw new UnsupportedOperationException();
148            }
149    
150            public void move(String srcDir, String destDir) {
151                    throw new UnsupportedOperationException();
152            }
153    
154            public void reindex(String[] ids) {
155                    throw new UnsupportedOperationException();
156            }
157    
158            public void updateFile(
159                    long companyId, long repositoryId, long newRepositoryId,
160                    String fileName) {
161    
162                    throw new UnsupportedOperationException();
163            }
164    
165            public void updateFile(
166                    long companyId, long repositoryId, String fileName,
167                    String newFileName) {
168    
169                    throw new UnsupportedOperationException();
170            }
171    
172            public void updateFile(
173                    long companyId, long repositoryId, String fileName, String versionLabel,
174                    byte[] bytes) {
175    
176                    throw new UnsupportedOperationException();
177            }
178    
179            public void updateFile(
180                    long companyId, long repositoryId, String fileName, String versionLabel,
181                    File file) {
182    
183                    throw new UnsupportedOperationException();
184            }
185    
186            public void updateFile(
187                    long companyId, long repositoryId, String fileName, String versionLabel,
188                    InputStream is) {
189    
190                    throw new UnsupportedOperationException();
191            }
192    
193            public void updateFileVersion(
194                    long companyId, long repositoryId, String fileName,
195                    String fromVersionLabel, String toVersionLabel) {
196    
197                    throw new UnsupportedOperationException();
198            }
199    
200    }