com.liferay.documentlibrary.util
Class HookProxyImpl
java.lang.Object
com.liferay.documentlibrary.util.HookProxyImpl
- All Implemented Interfaces:
- com.liferay.documentlibrary.util.Hook
public class HookProxyImpl
- extends java.lang.Object
- implements com.liferay.documentlibrary.util.Hook
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from interface com.liferay.documentlibrary.util.Hook |
DEFAULT_VERSION |
Method Summary |
void |
addDirectory(long companyId,
long repositoryId,
java.lang.String dirName)
|
void |
addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
byte[] bytes)
|
void |
addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
java.io.File file)
|
void |
addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
java.io.InputStream is)
|
void |
checkRoot(long companyId)
|
void |
deleteDirectory(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String dirName)
|
void |
deleteFile(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String fileName)
|
void |
deleteFile(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String fileName,
double versionNumber)
|
byte[] |
getFile(long companyId,
long repositoryId,
java.lang.String fileName)
|
byte[] |
getFile(long companyId,
long repositoryId,
java.lang.String fileName,
double versionNumber)
|
java.io.InputStream |
getFileAsStream(long companyId,
long repositoryId,
java.lang.String fileName)
|
java.io.InputStream |
getFileAsStream(long companyId,
long repositoryId,
java.lang.String fileName,
double versionNumber)
|
java.lang.String[] |
getFileNames(long companyId,
long repositoryId,
java.lang.String dirName)
|
long |
getFileSize(long companyId,
long repositoryId,
java.lang.String fileName)
|
boolean |
hasFile(long companyId,
long repositoryId,
java.lang.String fileName,
double versionNumber)
|
void |
move(java.lang.String srcDir,
java.lang.String destDir)
|
void |
reIndex(java.lang.String[] ids)
|
void |
updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
long newRepositoryId,
java.lang.String fileName,
long fileEntryId)
|
void |
updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
double versionNumber,
java.lang.String sourceFileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
byte[] bytes)
|
void |
updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
double versionNumber,
java.lang.String sourceFileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
java.io.File file)
|
void |
updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
double versionNumber,
java.lang.String sourceFileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
java.io.InputStream is)
|
void |
updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
java.lang.String newFileName,
boolean reIndex)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HookProxyImpl
public HookProxyImpl()
addDirectory
public void addDirectory(long companyId,
long repositoryId,
java.lang.String dirName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addDirectory
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFile
public void addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
byte[] bytes)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFile
public void addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
java.io.File file)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFile
public void addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
java.io.InputStream is)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkRoot
public void checkRoot(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
checkRoot
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.SystemException
deleteDirectory
public void deleteDirectory(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String dirName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteDirectory
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFile
public void deleteFile(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String fileName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFile
public void deleteFile(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String fileName,
double versionNumber)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFile
public byte[] getFile(long companyId,
long repositoryId,
java.lang.String fileName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFile
public byte[] getFile(long companyId,
long repositoryId,
java.lang.String fileName,
double versionNumber)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileAsStream
public java.io.InputStream getFileAsStream(long companyId,
long repositoryId,
java.lang.String fileName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getFileAsStream
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileAsStream
public java.io.InputStream getFileAsStream(long companyId,
long repositoryId,
java.lang.String fileName,
double versionNumber)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getFileAsStream
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileNames
public java.lang.String[] getFileNames(long companyId,
long repositoryId,
java.lang.String dirName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getFileNames
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFileSize
public long getFileSize(long companyId,
long repositoryId,
java.lang.String fileName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getFileSize
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasFile
public boolean hasFile(long companyId,
long repositoryId,
java.lang.String fileName,
double versionNumber)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
hasFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
move
public void move(java.lang.String srcDir,
java.lang.String destDir)
throws com.liferay.portal.SystemException
- Specified by:
move
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.SystemException
reIndex
public void reIndex(java.lang.String[] ids)
throws com.liferay.portal.kernel.search.SearchException
- Specified by:
reIndex
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.kernel.search.SearchException
updateFile
public void updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
long newRepositoryId,
java.lang.String fileName,
long fileEntryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateFile
public void updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
double versionNumber,
java.lang.String sourceFileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
byte[] bytes)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateFile
public void updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
double versionNumber,
java.lang.String sourceFileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
java.io.File file)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateFile
public void updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
double versionNumber,
java.lang.String sourceFileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
java.io.InputStream is)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateFile
public void updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
java.lang.String newFileName,
boolean reIndex)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateFile
in interface com.liferay.documentlibrary.util.Hook
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException