1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
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, long fileEntryId, String properties, Date modifiedDate,
40          String[] tagsCategories, 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, long fileEntryId, String properties,
48          Date modifiedDate, String[] tagsCategories, String[] tagsEntries,
49          File file) {
50  
51          throw new UnsupportedOperationException();
52      }
53  
54      public void updateFile(
55          long companyId, String portletId, long groupId, long repositoryId,
56          String fileName, String newFileName, boolean reIndex) {
57  
58          throw new UnsupportedOperationException();
59      }
60  
61      public void addFile(
62          long companyId, String portletId, long groupId, long repositoryId,
63          String fileName, long fileEntryId, String properties,
64          Date modifiedDate, String[] tagsCategories, String[] tagsEntries,
65          InputStream is) {
66  
67          throw new UnsupportedOperationException();
68      }
69  
70      public void checkRoot(long companyId) {
71          throw new UnsupportedOperationException();
72      }
73  
74      public void deleteDirectory(
75          long companyId, String portletId, long repositoryId, String dirName) {
76  
77          throw new UnsupportedOperationException();
78      }
79  
80      public void deleteFile(
81          long companyId, String portletId, long repositoryId, String fileName) {
82  
83          throw new UnsupportedOperationException();
84      }
85  
86      public void deleteFile(
87          long companyId, String portletId, long repositoryId, String fileName,
88          double versionNumber) {
89  
90          throw new UnsupportedOperationException();
91      }
92  
93      public byte[] getFile(long companyId, long repositoryId, String fileName) {
94          throw new UnsupportedOperationException();
95      }
96  
97      public byte[] getFile(
98          long companyId, long repositoryId, String fileName,
99          double versionNumber) {
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         double versionNumber) {
113 
114         throw new UnsupportedOperationException();
115     }
116 
117     public String[] getFileNames(
118         long companyId, long repositoryId, String dirName) {
119 
120         throw new UnsupportedOperationException();
121     }
122 
123     public long getFileSize(
124         long companyId, long repositoryId, String fileName) {
125 
126         throw new UnsupportedOperationException();
127     }
128 
129     public boolean hasFile(
130         long companyId, long repositoryId, String fileName,
131         double versionNumber) {
132 
133         throw new UnsupportedOperationException();
134     }
135 
136     public void move(String srcDir, String destDir) {
137         throw new UnsupportedOperationException();
138     }
139 
140     public void reIndex(String[] ids) {
141         throw new UnsupportedOperationException();
142     }
143 
144     public void updateFile(
145         long companyId, String portletId, long groupId, long repositoryId,
146         long newRepositoryId, String fileName, long fileEntryId) {
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         long fileEntryId, String properties, Date modifiedDate,
155         String[] tagsCategories, String[] tagsEntries, byte[] bytes) {
156 
157         throw new UnsupportedOperationException();
158     }
159 
160     public void updateFile(
161         long companyId, String portletId, long groupId, long repositoryId,
162         String fileName, double versionNumber, String sourceFileName,
163         long fileEntryId, String properties, Date modifiedDate,
164         String[] tagsCategories, String[] tagsEntries, File file) {
165 
166         throw new UnsupportedOperationException();
167     }
168 
169     public void updateFile(
170         long companyId, String portletId, long groupId, long repositoryId,
171         String fileName, double versionNumber, String sourceFileName,
172         long fileEntryId, String properties, Date modifiedDate,
173         String[] tagsCategories, String[] tagsEntries, InputStream is) {
174 
175         throw new UnsupportedOperationException();
176     }
177 
178 }