| java.lang.Object com.liferay.documentlibrary.util.BaseHook com.liferay.documentlibrary.util.S3Hook
Constructor Summary | |
public | S3Hook() |
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, 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) | protected AWSCredentials | getAWSCredentials() | public InputStream | getFileAsStream(long companyId, long repositoryId, String fileName, double versionNumber) | protected Object | getFileName(String key) | public String[] | getFileNames(long companyId, long repositoryId, String dirName) | public long | getFileSize(long companyId, long repositoryId, String fileName) | protected double | getHeadVersionNumber(long companyId, long repositoryId, String fileName) | protected String | getKey(long companyId, long repositoryId) | protected String | getKey(long companyId, long repositoryId, String fileName) | protected String | getKey(long companyId, long repositoryId, String fileName, double versionNumber) | protected S3Bucket | getS3Bucket() | protected S3Service | getS3Service() | 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, InputStream is) | public void | updateFile(long companyId, String portletId, long groupId, long repositoryId, long newRepositoryId, String fileName) |
getAWSCredentials | protected AWSCredentials getAWSCredentials() throws S3ServiceException(Code) | | |
getHeadVersionNumber | protected double getHeadVersionNumber(long companyId, long repositoryId, String fileName) throws PortalException, S3ServiceException(Code) | | |
getKey | protected String getKey(long companyId, long repositoryId)(Code) | | |
getKey | protected String getKey(long companyId, long repositoryId, String fileName, double versionNumber)(Code) | | |
getS3Bucket | protected S3Bucket getS3Bucket() throws S3ServiceException(Code) | | |
getS3Service | protected S3Service getS3Service() throws S3ServiceException(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) | | |
Methods inherited from com.liferay.documentlibrary.util.BaseHook | abstract public void addDirectory(long companyId, long repositoryId, String dirName) throws PortalException, SystemException(Code)(Java Doc) public void addFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, String properties, String[] tagsEntries, File file) throws PortalException, SystemException(Code)(Java Doc) public void addFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, String properties, String[] tagsEntries, byte[] byteArray) throws PortalException, SystemException(Code)(Java Doc) abstract public void addFile(long companyId, String portletId, long groupId, long repositoryId, String fileName, String properties, String[] tagsEntries, InputStream is) throws PortalException, SystemException(Code)(Java Doc) abstract public void checkRoot(long companyId) throws SystemException(Code)(Java Doc) abstract public void deleteDirectory(long companyId, String portletId, long repositoryId, String dirName) throws PortalException, SystemException(Code)(Java Doc) abstract public void deleteFile(long companyId, String portletId, long repositoryId, String fileName) throws PortalException, SystemException(Code)(Java Doc) abstract public void deleteFile(long companyId, String portletId, long repositoryId, String fileName, double versionNumber) throws PortalException, SystemException(Code)(Java Doc) public byte[] getFile(long companyId, long repositoryId, String fileName) throws PortalException, SystemException(Code)(Java Doc) public byte[] getFile(long companyId, long repositoryId, String fileName, double versionNumber) throws PortalException, SystemException(Code)(Java Doc) public InputStream getFileAsStream(long companyId, long repositoryId, String fileName) throws PortalException, SystemException(Code)(Java Doc) abstract public InputStream getFileAsStream(long companyId, long repositoryId, String fileName, double versionNumber) throws PortalException, SystemException(Code)(Java Doc) abstract public String[] getFileNames(long companyId, long repositoryId, String dirName) throws PortalException, SystemException(Code)(Java Doc) abstract public long getFileSize(long companyId, long repositoryId, String fileName) throws PortalException, SystemException(Code)(Java Doc) abstract public boolean hasFile(long companyId, long repositoryId, String fileName, double versionNumber) throws PortalException, SystemException(Code)(Java Doc) abstract public void move(String srcDir, String destDir) throws SystemException(Code)(Java Doc) abstract public void reIndex(String[] ids) throws SearchException(Code)(Java Doc) 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)(Java Doc) 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)(Java Doc) abstract 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)(Java Doc) abstract public void updateFile(long companyId, String portletId, long groupId, long repositoryId, long newRepositoryId, String fileName) throws PortalException, SystemException(Code)(Java Doc)
|
|
|