1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.documentlibrary.util;
24  
25  import com.liferay.portal.kernel.messaging.proxy.BaseProxyBean;
26  
27  import java.io.File;
28  import java.io.InputStream;
29  
30  import java.util.Date;
31  
32  /**
33   * <a href="HookProxyBean.java.html"><b><i>View Source</i></b></a>
34   *
35   * @author Brian Wing Shun Chan
36   */
37  public class HookProxyBean extends BaseProxyBean implements Hook {
38  
39      public void addDirectory(
40          long companyId, long repositoryId, String dirName) {
41  
42          throw new UnsupportedOperationException();
43      }
44  
45      public void addFile(
46          long companyId, String portletId, long groupId, long repositoryId,
47          String fileName, long fileEntryId, String properties, Date modifiedDate,
48          String[] tagsCategories, String[] tagsEntries, byte[] bytes) {
49  
50          throw new UnsupportedOperationException();
51      }
52  
53      public void addFile(
54          long companyId, String portletId, long groupId, long repositoryId,
55          String fileName, long fileEntryId, String properties,
56          Date modifiedDate, String[] tagsCategories, String[] tagsEntries,
57          File file) {
58  
59          throw new UnsupportedOperationException();
60      }
61  
62      public void addFile(
63          long companyId, String portletId, long groupId, long repositoryId,
64          String fileName, long fileEntryId, String properties,
65          Date modifiedDate, String[] tagsCategories, String[] tagsEntries,
66          InputStream is) {
67  
68          throw new UnsupportedOperationException();
69      }
70  
71      public void checkRoot(long companyId) {
72          throw new UnsupportedOperationException();
73      }
74  
75      public void deleteDirectory(
76          long companyId, String portletId, long repositoryId, String dirName) {
77  
78          throw new UnsupportedOperationException();
79      }
80  
81      public void deleteFile(
82          long companyId, String portletId, long repositoryId, String fileName) {
83  
84          throw new UnsupportedOperationException();
85      }
86  
87      public void deleteFile(
88          long companyId, String portletId, long repositoryId, String fileName,
89          double versionNumber) {
90  
91          throw new UnsupportedOperationException();
92      }
93  
94      public byte[] getFile(long companyId, long repositoryId, String fileName) {
95          throw new UnsupportedOperationException();
96      }
97  
98      public byte[] getFile(
99          long companyId, long repositoryId, String fileName,
100         double versionNumber) {
101 
102         throw new UnsupportedOperationException();
103     }
104 
105     public InputStream getFileAsStream(
106         long companyId, long repositoryId, String fileName) {
107 
108         throw new UnsupportedOperationException();
109     }
110 
111     public InputStream getFileAsStream(
112         long companyId, long repositoryId, String fileName,
113         double versionNumber) {
114 
115         throw new UnsupportedOperationException();
116     }
117 
118     public String[] getFileNames(
119         long companyId, long repositoryId, String dirName) {
120 
121         throw new UnsupportedOperationException();
122     }
123 
124     public long getFileSize(
125         long companyId, long repositoryId, String fileName) {
126 
127         throw new UnsupportedOperationException();
128     }
129 
130     public boolean hasFile(
131         long companyId, long repositoryId, String fileName,
132         double versionNumber) {
133 
134         throw new UnsupportedOperationException();
135     }
136 
137     public void move(String srcDir, String destDir) {
138         throw new UnsupportedOperationException();
139     }
140 
141     public void reIndex(String[] ids) {
142         throw new UnsupportedOperationException();
143     }
144 
145     public void updateFile(
146         long companyId, String portletId, long groupId, long repositoryId,
147         long newRepositoryId, String fileName, long fileEntryId) {
148 
149         throw new UnsupportedOperationException();
150     }
151 
152     public void updateFile(
153         long companyId, String portletId, long groupId, long repositoryId,
154         String fileName, double versionNumber, String sourceFileName,
155         long fileEntryId, String properties, Date modifiedDate,
156         String[] tagsCategories, String[] tagsEntries, byte[] bytes) {
157 
158         throw new UnsupportedOperationException();
159     }
160 
161     public void updateFile(
162         long companyId, String portletId, long groupId, long repositoryId,
163         String fileName, double versionNumber, String sourceFileName,
164         long fileEntryId, String properties, Date modifiedDate,
165         String[] tagsCategories, String[] tagsEntries, File file) {
166 
167         throw new UnsupportedOperationException();
168     }
169 
170     public void updateFile(
171         long companyId, String portletId, long groupId, long repositoryId,
172         String fileName, double versionNumber, String sourceFileName,
173         long fileEntryId, String properties, Date modifiedDate,
174         String[] tagsCategories, String[] tagsEntries, InputStream is) {
175 
176         throw new UnsupportedOperationException();
177     }
178 
179 }