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 versionNumber, String sourceFileName,
146 long fileEntryId, String properties, Date modifiedDate,
147 ServiceContext serviceContext, byte[] bytes) {
148
149 throw new UnsupportedOperationException();
150 }
151
152 public void updateFile(
153 long companyId, String portletId, long groupId, long repositoryId,
154 String fileName, String versionNumber, String sourceFileName,
155 long fileEntryId, String properties, Date modifiedDate,
156 ServiceContext serviceContext, File file) {
157
158 throw new UnsupportedOperationException();
159 }
160
161 public void updateFile(
162 long companyId, String portletId, long groupId, long repositoryId,
163 String fileName, String versionNumber, String sourceFileName,
164 long fileEntryId, String properties, Date modifiedDate,
165 ServiceContext serviceContext, InputStream is) {
166
167 throw new UnsupportedOperationException();
168 }
169
170 public void updateFile(
171 long companyId, String portletId, long groupId, long repositoryId,
172 String fileName, String newFileName, boolean reindex) {
173
174 throw new UnsupportedOperationException();
175 }
176
177 }