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                    throw new UnsupportedOperationException();
094            }
095    
096            public byte[] getFileAsBytes(
097                    long companyId, long repositoryId, String fileName,
098                    String versionLabel) {
099    
100                    throw new UnsupportedOperationException();
101            }
102    
103            public InputStream getFileAsStream(
104                    long companyId, long repositoryId, String fileName) {
105    
106                    throw new UnsupportedOperationException();
107            }
108    
109            public InputStream getFileAsStream(
110                    long companyId, long repositoryId, String fileName,
111                    String versionLabel) {
112    
113                    throw new UnsupportedOperationException();
114            }
115    
116            public String[] getFileNames(long companyId, long repositoryId) {
117                    throw new UnsupportedOperationException();
118            }
119    
120            public String[] getFileNames(
121                    long companyId, long repositoryId, String dirName) {
122    
123                    throw new UnsupportedOperationException();
124            }
125    
126            public long getFileSize(
127                    long companyId, long repositoryId, String fileName) {
128    
129                    throw new UnsupportedOperationException();
130            }
131    
132            public boolean hasDirectory(
133                    long companyId, long repositoryId, String dirName) {
134    
135                    throw new UnsupportedOperationException();
136            }
137    
138            public boolean hasFile(long companyId, long repositoryId, String fileName) {
139                    throw new UnsupportedOperationException();
140            }
141    
142            public boolean hasFile(
143                    long companyId, long repositoryId, String fileName,
144                    String versionLabel) {
145    
146                    throw new UnsupportedOperationException();
147            }
148    
149            public void move(String srcDir, String destDir) {
150                    throw new UnsupportedOperationException();
151            }
152    
153            public void reindex(String[] ids) {
154                    throw new UnsupportedOperationException();
155            }
156    
157            public void updateFile(
158                    long companyId, long repositoryId, long newRepositoryId,
159                    String fileName) {
160    
161                    throw new UnsupportedOperationException();
162            }
163    
164            public void updateFile(
165                    long companyId, long repositoryId, String fileName,
166                    String newFileName) {
167    
168                    throw new UnsupportedOperationException();
169            }
170    
171            public void updateFile(
172                    long companyId, long repositoryId, String fileName, String versionLabel,
173                    byte[] bytes) {
174    
175                    throw new UnsupportedOperationException();
176            }
177    
178            public void updateFile(
179                    long companyId, long repositoryId, String fileName, String versionLabel,
180                    File file) {
181    
182                    throw new UnsupportedOperationException();
183            }
184    
185            public void updateFile(
186                    long companyId, long repositoryId, String fileName, String versionLabel,
187                    InputStream is) {
188    
189                    throw new UnsupportedOperationException();
190            }
191    
192            public void updateFileVersion(
193                    long companyId, long repositoryId, String fileName,
194                    String fromVersionLabel, String toVersionLabel) {
195    
196                    throw new UnsupportedOperationException();
197            }
198    
199    }