001
014
015 package com.liferay.documentlibrary.util;
016
017 import com.liferay.portal.kernel.messaging.proxy.BaseProxyBean;
018 import com.liferay.portal.service.ServiceContext;
019
020 import java.io.File;
021 import java.io.InputStream;
022
023 import java.util.Date;
024
025
028 public class HookProxyBean extends BaseProxyBean implements Hook {
029
030 public void addDirectory(
031 long companyId, long repositoryId, String dirName) {
032
033 throw new UnsupportedOperationException();
034 }
035
036 public void addFile(
037 long companyId, String portletId, long groupId, long repositoryId,
038 String fileName, long fileEntryId, String properties, Date modifiedDate,
039 ServiceContext serviceContext, byte[] bytes) {
040
041 throw new UnsupportedOperationException();
042 }
043
044 public void addFile(
045 long companyId, String portletId, long groupId, long repositoryId,
046 String fileName, long fileEntryId, String properties,
047 Date modifiedDate, ServiceContext serviceContext, File file) {
048
049 throw new UnsupportedOperationException();
050 }
051
052 public void addFile(
053 long companyId, String portletId, long groupId, long repositoryId,
054 String fileName, long fileEntryId, String properties,
055 Date modifiedDate, ServiceContext serviceContext, InputStream is) {
056
057 throw new UnsupportedOperationException();
058 }
059
060 public void checkRoot(long companyId) {
061 throw new UnsupportedOperationException();
062 }
063
064 public void deleteDirectory(
065 long companyId, String portletId, long repositoryId, String dirName) {
066
067 throw new UnsupportedOperationException();
068 }
069
070 public void deleteFile(
071 long companyId, String portletId, long repositoryId, String fileName) {
072
073 throw new UnsupportedOperationException();
074 }
075
076 public void deleteFile(
077 long companyId, String portletId, long repositoryId, String fileName,
078 String versionNumber) {
079
080 throw new UnsupportedOperationException();
081 }
082
083 public byte[] getFile(long companyId, long repositoryId, String fileName) {
084 throw new UnsupportedOperationException();
085 }
086
087 public byte[] getFile(
088 long companyId, long repositoryId, String fileName,
089 String versionNumber) {
090
091 throw new UnsupportedOperationException();
092 }
093
094 public InputStream getFileAsStream(
095 long companyId, long repositoryId, String fileName) {
096
097 throw new UnsupportedOperationException();
098 }
099
100 public InputStream getFileAsStream(
101 long companyId, long repositoryId, String fileName,
102 String versionNumber) {
103
104 throw new UnsupportedOperationException();
105 }
106
107 public String[] getFileNames(
108 long companyId, long repositoryId, String dirName) {
109
110 throw new UnsupportedOperationException();
111 }
112
113 public long getFileSize(
114 long companyId, long repositoryId, String fileName) {
115
116 throw new UnsupportedOperationException();
117 }
118
119 public boolean hasFile(
120 long companyId, long repositoryId, String fileName,
121 String versionNumber) {
122
123 throw new UnsupportedOperationException();
124 }
125
126 public void move(String srcDir, String destDir) {
127 throw new UnsupportedOperationException();
128 }
129
130 public void reindex(String[] ids) {
131 throw new UnsupportedOperationException();
132 }
133
134 public void updateFile(
135 long companyId, String portletId, long groupId, long repositoryId,
136 long newRepositoryId, String fileName, long fileEntryId) {
137
138 throw new UnsupportedOperationException();
139 }
140
141 public void updateFile(
142 long companyId, String portletId, long groupId, long repositoryId,
143 String fileName, String newFileName, boolean reindex) {
144
145 throw new UnsupportedOperationException();
146 }
147
148 public void updateFile(
149 long companyId, String portletId, long groupId, long repositoryId,
150 String fileName, String versionNumber, String sourceFileName,
151 long fileEntryId, String properties, Date modifiedDate,
152 ServiceContext serviceContext, byte[] bytes) {
153
154 throw new UnsupportedOperationException();
155 }
156
157 public void updateFile(
158 long companyId, String portletId, long groupId, long repositoryId,
159 String fileName, String versionNumber, String sourceFileName,
160 long fileEntryId, String properties, Date modifiedDate,
161 ServiceContext serviceContext, File file) {
162
163 throw new UnsupportedOperationException();
164 }
165
166 public void updateFile(
167 long companyId, String portletId, long groupId, long repositoryId,
168 String fileName, String versionNumber, String sourceFileName,
169 long fileEntryId, String properties, Date modifiedDate,
170 ServiceContext serviceContext, InputStream is) {
171
172 throw new UnsupportedOperationException();
173 }
174
175 }