@ProviderType @Transactional(rollbackFor={PortalException.class,SystemException.class}) public interface DLStore
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(DLStoreRequest dlStoreRequest,
byte[] bytes) |
void |
addFile(DLStoreRequest dlStoreRequest,
File file) |
void |
addFile(DLStoreRequest dlStoreRequest,
InputStream inputStream) |
void |
copyFileVersion(long companyId,
long repositoryId,
String fileName,
String fromVersionLabel,
String toVersionLabel) |
void |
deleteDirectory(long companyId,
long repositoryId,
String dirName) |
void |
deleteFile(long companyId,
long repositoryId,
String fileName) |
void |
deleteFile(long companyId,
long repositoryId,
String fileName,
String versionLabel) |
InputStream |
getFileAsStream(long companyId,
long repositoryId,
String fileName,
String versionLabel) |
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 versionLabel) |
void |
updateFile(DLStoreRequest dlStoreRequest,
File file) |
void |
updateFile(DLStoreRequest dlStoreRequest,
InputStream inputStream) |
void |
updateFile(long companyId,
long repositoryId,
long newRepositoryId,
String fileName) |
void |
updateFileVersion(long companyId,
long repositoryId,
String fileName,
String fromVersionLabel,
String toVersionLabel) |
void addFile(DLStoreRequest dlStoreRequest, byte[] bytes) throws PortalException
PortalExceptionvoid addFile(DLStoreRequest dlStoreRequest, File file) throws PortalException
PortalExceptionvoid addFile(DLStoreRequest dlStoreRequest, InputStream inputStream) throws PortalException
PortalExceptionvoid copyFileVersion(long companyId,
long repositoryId,
String fileName,
String fromVersionLabel,
String toVersionLabel)
throws PortalException
PortalExceptionvoid deleteDirectory(long companyId,
long repositoryId,
String dirName)
throws PortalException
PortalExceptionvoid deleteFile(long companyId,
long repositoryId,
String fileName)
throws PortalException
PortalExceptionvoid deleteFile(long companyId,
long repositoryId,
String fileName,
String versionLabel)
throws PortalException
PortalExceptionInputStream getFileAsStream(long companyId,
long repositoryId,
String fileName,
String versionLabel)
throws PortalException
PortalExceptionString[] getFileNames(long companyId,
long repositoryId,
String dirName)
throws PortalException
PortalExceptionlong getFileSize(long companyId,
long repositoryId,
String fileName)
throws PortalException
PortalExceptionboolean hasFile(long companyId,
long repositoryId,
String fileName,
String versionLabel)
throws PortalException
PortalExceptionvoid updateFile(DLStoreRequest dlStoreRequest, File file) throws PortalException
PortalExceptionvoid updateFile(DLStoreRequest dlStoreRequest, InputStream inputStream) throws PortalException
PortalExceptionvoid updateFile(long companyId,
long repositoryId,
long newRepositoryId,
String fileName)
throws PortalException
PortalExceptionvoid updateFileVersion(long companyId,
long repositoryId,
String fileName,
String fromVersionLabel,
String toVersionLabel)
throws PortalException
PortalException