1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.documentlibrary.util;
16  
17  import com.liferay.portal.kernel.messaging.proxy.BaseProxyBean;
18  
19  import java.io.File;
20  import java.io.InputStream;
21  
22  import java.util.Date;
23  
24  /**
25   * <a href="HookProxyBean.java.html"><b><i>View Source</i></b></a>
26   *
27   * @author Brian Wing Shun Chan
28   */
29  public class HookProxyBean extends BaseProxyBean implements Hook {
30  
31      public void addDirectory(
32          long companyId, long repositoryId, String dirName) {
33  
34          throw new UnsupportedOperationException();
35      }
36  
37      public void addFile(
38          long companyId, String portletId, long groupId, long repositoryId,
39          String fileName, String properties, Date modifiedDate,
40          String[] tagsEntries, byte[] bytes) {
41  
42          throw new UnsupportedOperationException();
43      }
44  
45      public void addFile(
46          long companyId, String portletId, long groupId, long repositoryId,
47          String fileName, String properties, Date modifiedDate,
48          String[] tagsEntries, File file) {
49  
50          throw new UnsupportedOperationException();
51      }
52  
53      public void addFile(
54          long companyId, String portletId, long groupId, long repositoryId,
55          String fileName, String properties, Date modifiedDate,
56          String[] tagsEntries, InputStream is) {
57  
58          throw new UnsupportedOperationException();
59      }
60  
61      public void checkRoot(long companyId) {
62          throw new UnsupportedOperationException();
63      }
64  
65      public void deleteDirectory(
66          long companyId, String portletId, long repositoryId, String dirName) {
67  
68          throw new UnsupportedOperationException();
69      }
70  
71      public void deleteFile(
72          long companyId, String portletId, long repositoryId, String fileName) {
73  
74          throw new UnsupportedOperationException();
75      }
76  
77      public void deleteFile(
78          long companyId, String portletId, long repositoryId, String fileName,
79          double versionNumber) {
80  
81          throw new UnsupportedOperationException();
82      }
83  
84      public byte[] getFile(long companyId, long repositoryId, String fileName) {
85          throw new UnsupportedOperationException();
86      }
87  
88      public byte[] getFile(
89          long companyId, long repositoryId, String fileName,
90          double versionNumber) {
91  
92          throw new UnsupportedOperationException();
93      }
94  
95      public InputStream getFileAsStream(
96          long companyId, long repositoryId, String fileName) {
97  
98          throw new UnsupportedOperationException();
99      }
100 
101     public InputStream getFileAsStream(
102         long companyId, long repositoryId, String fileName,
103         double versionNumber) {
104 
105         throw new UnsupportedOperationException();
106     }
107 
108     public String[] getFileNames(
109         long companyId, long repositoryId, String dirName) {
110 
111         throw new UnsupportedOperationException();
112     }
113 
114     public long getFileSize(
115         long companyId, long repositoryId, String fileName) {
116 
117         throw new UnsupportedOperationException();
118     }
119 
120     public boolean hasFile(
121         long companyId, long repositoryId, String fileName,
122         double versionNumber) {
123 
124         throw new UnsupportedOperationException();
125     }
126 
127     public void move(String srcDir, String destDir) {
128         throw new UnsupportedOperationException();
129     }
130 
131     public void reIndex(String[] ids) {
132         throw new UnsupportedOperationException();
133     }
134 
135     public void updateFile(
136         long companyId, String portletId, long groupId, long repositoryId,
137         long newRepositoryId, String fileName) {
138 
139         throw new UnsupportedOperationException();
140     }
141 
142     public void updateFile(
143         long companyId, String portletId, long groupId, long repositoryId,
144         String fileName, double versionNumber, String sourceFileName,
145         String properties, Date modifiedDate, String[] tagsEntries,
146         byte[] bytes) {
147 
148         throw new UnsupportedOperationException();
149     }
150 
151     public void updateFile(
152         long companyId, String portletId, long groupId, long repositoryId,
153         String fileName, double versionNumber, String sourceFileName,
154         String properties, Date modifiedDate, String[] tagsEntries, File file) {
155 
156         throw new UnsupportedOperationException();
157     }
158 
159     public void updateFile(
160         long companyId, String portletId, long groupId, long repositoryId,
161         String fileName, double versionNumber, String sourceFileName,
162         String properties, Date modifiedDate, String[] tagsEntries,
163         InputStream is) {
164 
165         throw new UnsupportedOperationException();
166     }
167 
168 }