1
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
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 }