| com.liferay.documentlibrary.util.Hook
All known Subclasses: com.liferay.documentlibrary.util.BaseHook,
Method Summary | |
public void | addDirectory(long companyId, long repositoryId, String dirName) | public void | addFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, String properties, String[] tagsEntries, File file) | public void | addFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, String properties, String[] tagsEntries, byte[] byteArray) | public void | addFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, String properties, String[] tagsEntries, InputStream is) | public void | checkRoot(long companyId) | public void | deleteDirectory(long companyId, String portletId, long repositoryId, String dirName) | public void | deleteFile(long companyId, String portletId, long repositoryId, String fileName) | public void | deleteFile(long companyId, String portletId, long repositoryId, String fileName, double versionNumber) | public byte[] | getFile(long companyId, long repositoryId, String fileName) | public byte[] | getFile(long companyId, long repositoryId, String fileName, double versionNumber) | public InputStream | getFileAsStream(long companyId, long repositoryId, String fileName) | public InputStream | getFileAsStream(long companyId, long repositoryId, String fileName, double versionNumber) | public String[] | getFileNames(long companyId, long repositoryId, String dirName) | public long | getFileSize(long companyId, long repositoryId, String fileName) | public boolean | hasFile(long companyId, long repositoryId, String fileName, double versionNumber) | public void | move(String srcDir, String destDir) | public void | reIndex(String[] ids) | public void | updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, File file) | public void | updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, byte[] byteArray) | public void | updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, InputStream is) | public void | updateFile(long companyId, String portletId, long groupId, long repositoryId, long newRepositoryId, String fileName) |
DEFAULT_VERSION | final public static double DEFAULT_VERSION(Code) | | |
updateFile | public void updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, File file) throws PortalException, SystemException(Code) | | |
updateFile | public void updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, byte[] byteArray) throws PortalException, SystemException(Code) | | |
updateFile | public void updateFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, double versionNumber, String sourceFileName, String properties, String[] tagsEntries, InputStream is) throws PortalException, SystemException(Code) | | |
|
|