com.liferay.documentlibrary.util
Class HookProxyBean
java.lang.Object
com.liferay.portal.kernel.messaging.proxy.BaseProxyBean
com.liferay.documentlibrary.util.HookProxyBean
- All Implemented Interfaces:
- Hook
public class HookProxyBean
- extends BaseProxyBean
- implements Hook
Method Summary |
void |
addDirectory(long companyId,
long repositoryId,
String dirName)
|
void |
addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
|
void |
addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
File file)
|
void |
addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
InputStream is)
|
void |
checkRoot(long companyId)
|
void |
deleteDirectory(long companyId,
String portletId,
long repositoryId,
String dirName)
|
void |
deleteFile(long companyId,
String portletId,
long repositoryId,
String fileName)
|
void |
deleteFile(long companyId,
String portletId,
long repositoryId,
String fileName,
String versionNumber)
|
byte[] |
getFile(long companyId,
long repositoryId,
String fileName)
|
byte[] |
getFile(long companyId,
long repositoryId,
String fileName,
String versionNumber)
|
InputStream |
getFileAsStream(long companyId,
long repositoryId,
String fileName)
|
InputStream |
getFileAsStream(long companyId,
long repositoryId,
String fileName,
String versionNumber)
|
String[] |
getFileNames(long companyId,
long repositoryId,
String dirName)
|
long |
getFileSize(long companyId,
long repositoryId,
String fileName)
|
boolean |
hasFile(long companyId,
long repositoryId,
String fileName,
String versionNumber)
|
void |
move(String srcDir,
String destDir)
|
void |
reindex(String[] ids)
|
void |
updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
long newRepositoryId,
String fileName,
long fileEntryId)
|
void |
updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String newFileName,
boolean reindex)
|
void |
updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
|
void |
updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
File file)
|
void |
updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
InputStream is)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HookProxyBean
public HookProxyBean()
addDirectory
public void addDirectory(long companyId,
long repositoryId,
String dirName)
- Specified by:
addDirectory
in interface Hook
addFile
public void addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
- Specified by:
addFile
in interface Hook
addFile
public void addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
File file)
- Specified by:
addFile
in interface Hook
addFile
public void addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
InputStream is)
- Specified by:
addFile
in interface Hook
checkRoot
public void checkRoot(long companyId)
- Specified by:
checkRoot
in interface Hook
deleteDirectory
public void deleteDirectory(long companyId,
String portletId,
long repositoryId,
String dirName)
- Specified by:
deleteDirectory
in interface Hook
deleteFile
public void deleteFile(long companyId,
String portletId,
long repositoryId,
String fileName)
- Specified by:
deleteFile
in interface Hook
deleteFile
public void deleteFile(long companyId,
String portletId,
long repositoryId,
String fileName,
String versionNumber)
- Specified by:
deleteFile
in interface Hook
getFile
public byte[] getFile(long companyId,
long repositoryId,
String fileName)
- Specified by:
getFile
in interface Hook
getFile
public byte[] getFile(long companyId,
long repositoryId,
String fileName,
String versionNumber)
- Specified by:
getFile
in interface Hook
getFileAsStream
public InputStream getFileAsStream(long companyId,
long repositoryId,
String fileName)
- Specified by:
getFileAsStream
in interface Hook
getFileAsStream
public InputStream getFileAsStream(long companyId,
long repositoryId,
String fileName,
String versionNumber)
- Specified by:
getFileAsStream
in interface Hook
getFileNames
public String[] getFileNames(long companyId,
long repositoryId,
String dirName)
- Specified by:
getFileNames
in interface Hook
getFileSize
public long getFileSize(long companyId,
long repositoryId,
String fileName)
- Specified by:
getFileSize
in interface Hook
hasFile
public boolean hasFile(long companyId,
long repositoryId,
String fileName,
String versionNumber)
- Specified by:
hasFile
in interface Hook
move
public void move(String srcDir,
String destDir)
- Specified by:
move
in interface Hook
reindex
public void reindex(String[] ids)
- Specified by:
reindex
in interface Hook
updateFile
public void updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
long newRepositoryId,
String fileName,
long fileEntryId)
- Specified by:
updateFile
in interface Hook
updateFile
public void updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String newFileName,
boolean reindex)
- Specified by:
updateFile
in interface Hook
updateFile
public void updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
- Specified by:
updateFile
in interface Hook
updateFile
public void updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
File file)
- Specified by:
updateFile
in interface Hook
updateFile
public void updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
InputStream is)
- Specified by:
updateFile
in interface Hook