1
14
15 package com.liferay.documentlibrary.util;
16
17 import com.liferay.portal.kernel.messaging.proxy.BaseProxyBean;
18 import com.liferay.portal.service.ServiceContext;
19
20 import java.io.File;
21 import java.io.InputStream;
22
23 import java.util.Date;
24
25
30 public class HookProxyBean extends BaseProxyBean implements Hook {
31
32 public void addDirectory(
33 long companyId, long repositoryId, String dirName) {
34
35 throw new UnsupportedOperationException();
36 }
37
38 public void addFile(
39 long companyId, String portletId, long groupId, long repositoryId,
40 String fileName, long fileEntryId, String properties, Date modifiedDate,
41 ServiceContext serviceContext, byte[] bytes) {
42
43 throw new UnsupportedOperationException();
44 }
45
46 public void addFile(
47 long companyId, String portletId, long groupId, long repositoryId,
48 String fileName, long fileEntryId, String properties,
49 Date modifiedDate, ServiceContext serviceContext, File file) {
50
51 throw new UnsupportedOperationException();
52 }
53
54 public void addFile(
55 long companyId, String portletId, long groupId, long repositoryId,
56 String fileName, long fileEntryId, String properties,
57 Date modifiedDate, ServiceContext serviceContext, InputStream is) {
58
59 throw new UnsupportedOperationException();
60 }
61
62 public void checkRoot(long companyId) {
63 throw new UnsupportedOperationException();
64 }
65
66 public void deleteDirectory(
67 long companyId, String portletId, long repositoryId, String dirName) {
68
69 throw new UnsupportedOperationException();
70 }
71
72 public void deleteFile(
73 long companyId, String portletId, long repositoryId, String fileName) {
74
75 throw new UnsupportedOperationException();
76 }
77
78 public void deleteFile(
79 long companyId, String portletId, long repositoryId, String fileName,
80 String versionNumber) {
81
82 throw new UnsupportedOperationException();
83 }
84
85 public byte[] getFile(long companyId, long repositoryId, String fileName) {
86 throw new UnsupportedOperationException();
87 }
88
89 public byte[] getFile(
90 long companyId, long repositoryId, String fileName,
91 String versionNumber) {
92
93 throw new UnsupportedOperationException();
94 }
95
96 public InputStream getFileAsStream(
97 long companyId, long repositoryId, String fileName) {
98
99 throw new UnsupportedOperationException();
100 }
101
102 public InputStream getFileAsStream(
103 long companyId, long repositoryId, String fileName,
104 String versionNumber) {
105
106 throw new UnsupportedOperationException();
107 }
108
109 public String[] getFileNames(
110 long companyId, long repositoryId, String dirName) {
111
112 throw new UnsupportedOperationException();
113 }
114
115 public long getFileSize(
116 long companyId, long repositoryId, String fileName) {
117
118 throw new UnsupportedOperationException();
119 }
120
121 public boolean hasFile(
122 long companyId, long repositoryId, String fileName,
123 String versionNumber) {
124
125 throw new UnsupportedOperationException();
126 }
127
128 public void move(String srcDir, String destDir) {
129 throw new UnsupportedOperationException();
130 }
131
132 public void reindex(String[] ids) {
133 throw new UnsupportedOperationException();
134 }
135
136 public void updateFile(
137 long companyId, String portletId, long groupId, long repositoryId,
138 long newRepositoryId, String fileName, long fileEntryId) {
139
140 throw new UnsupportedOperationException();
141 }
142
143 public void updateFile(
144 long companyId, String portletId, long groupId, long repositoryId,
145 String fileName, String newFileName, boolean reindex) {
146
147 throw new UnsupportedOperationException();
148 }
149
150 public void updateFile(
151 long companyId, String portletId, long groupId, long repositoryId,
152 String fileName, String versionNumber, String sourceFileName,
153 long fileEntryId, String properties, Date modifiedDate,
154 ServiceContext serviceContext, byte[] bytes) {
155
156 throw new UnsupportedOperationException();
157 }
158
159 public void updateFile(
160 long companyId, String portletId, long groupId, long repositoryId,
161 String fileName, String versionNumber, String sourceFileName,
162 long fileEntryId, String properties, Date modifiedDate,
163 ServiceContext serviceContext, File file) {
164
165 throw new UnsupportedOperationException();
166 }
167
168 public void updateFile(
169 long companyId, String portletId, long groupId, long repositoryId,
170 String fileName, String versionNumber, String sourceFileName,
171 long fileEntryId, String properties, Date modifiedDate,
172 ServiceContext serviceContext, InputStream is) {
173
174 throw new UnsupportedOperationException();
175 }
176
177 }