@ProviderType @Transactional(rollbackFor={PortalException.class,SystemException.class}) public interface DLStore
| Modifier and Type | Method and Description |
|---|---|
default void |
addFile(DLStoreRequest dlStoreRequest,
byte[] bytes) |
default void |
addFile(DLStoreRequest dlStoreRequest,
File file) |
default void |
addFile(DLStoreRequest dlStoreRequest,
InputStream inputStream) |
void |
addFile(long companyId,
long repositoryId,
String fileName,
boolean validateFileExtension,
byte[] bytes) |
void |
addFile(long companyId,
long repositoryId,
String fileName,
boolean validateFileExtension,
File file) |
void |
addFile(long companyId,
long repositoryId,
String fileName,
boolean validateFileExtension,
InputStream inputStream) |
void |
addFile(long companyId,
long repositoryId,
String fileName,
byte[] bytes) |
void |
addFile(long companyId,
long repositoryId,
String fileName,
File file) |
void |
addFile(long companyId,
long repositoryId,
String fileName,
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) |
byte[] |
getFileAsBytes(long companyId,
long repositoryId,
String fileName) |
byte[] |
getFileAsBytes(long companyId,
long repositoryId,
String fileName,
String versionLabel) |
InputStream |
getFileAsStream(long companyId,
long repositoryId,
String fileName) |
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) |
boolean |
hasFile(long companyId,
long repositoryId,
String fileName,
String versionLabel) |
default void |
updateFile(DLStoreRequest dlStoreRequest,
File file) |
default void |
updateFile(DLStoreRequest dlStoreRequest,
InputStream inputStream) |
void |
updateFile(long companyId,
long repositoryId,
long newRepositoryId,
String fileName) |
void |
updateFile(long companyId,
long repositoryId,
String fileName,
String fileExtension,
boolean validateFileExtension,
String versionLabel,
String sourceFileName,
File file) |
void |
updateFile(long companyId,
long repositoryId,
String fileName,
String fileExtension,
boolean validateFileExtension,
String versionLabel,
String sourceFileName,
InputStream inputStream) |
void |
updateFileVersion(long companyId,
long repositoryId,
String fileName,
String fromVersionLabel,
String toVersionLabel) |
void |
validate(String fileName,
boolean validateFileExtension) |
void |
validate(String fileName,
boolean validateFileExtension,
byte[] bytes) |
void |
validate(String fileName,
boolean validateFileExtension,
File file) |
void |
validate(String fileName,
boolean validateFileExtension,
InputStream inputStream) |
void |
validate(String fileName,
String fileExtension,
String sourceFileName,
boolean validateFileExtension) |
void |
validate(String fileName,
String fileExtension,
String sourceFileName,
boolean validateFileExtension,
File file) |
void |
validate(String fileName,
String fileExtension,
String sourceFileName,
boolean validateFileExtension,
InputStream inputStream) |
default void addFile(DLStoreRequest dlStoreRequest, byte[] bytes) throws PortalException
PortalExceptiondefault void addFile(DLStoreRequest dlStoreRequest, File file) throws PortalException
PortalExceptiondefault void addFile(DLStoreRequest dlStoreRequest, InputStream inputStream) throws PortalException
PortalExceptionvoid addFile(long companyId,
long repositoryId,
String fileName,
boolean validateFileExtension,
byte[] bytes)
throws PortalException
PortalExceptionvoid addFile(long companyId,
long repositoryId,
String fileName,
boolean validateFileExtension,
File file)
throws PortalException
PortalExceptionvoid addFile(long companyId,
long repositoryId,
String fileName,
boolean validateFileExtension,
InputStream inputStream)
throws PortalException
PortalExceptionvoid addFile(long companyId,
long repositoryId,
String fileName,
byte[] bytes)
throws PortalException
PortalExceptionvoid addFile(long companyId,
long repositoryId,
String fileName,
File file)
throws PortalException
PortalExceptionvoid addFile(long companyId,
long repositoryId,
String fileName,
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)
void deleteFile(long companyId,
long repositoryId,
String fileName)
throws PortalException
PortalExceptionvoid deleteFile(long companyId,
long repositoryId,
String fileName,
String versionLabel)
throws PortalException
PortalExceptionbyte[] getFileAsBytes(long companyId,
long repositoryId,
String fileName)
throws PortalException
PortalExceptionbyte[] getFileAsBytes(long companyId,
long repositoryId,
String fileName,
String versionLabel)
throws PortalException
PortalExceptionInputStream getFileAsStream(long companyId,
long repositoryId,
String fileName)
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)
throws PortalException
PortalExceptionboolean hasFile(long companyId,
long repositoryId,
String fileName,
String versionLabel)
throws PortalException
PortalExceptiondefault void updateFile(DLStoreRequest dlStoreRequest, File file) throws PortalException
PortalExceptiondefault void updateFile(DLStoreRequest dlStoreRequest, InputStream inputStream) throws PortalException
PortalExceptionvoid updateFile(long companyId,
long repositoryId,
long newRepositoryId,
String fileName)
throws PortalException
PortalExceptionvoid updateFile(long companyId,
long repositoryId,
String fileName,
String fileExtension,
boolean validateFileExtension,
String versionLabel,
String sourceFileName,
File file)
throws PortalException
PortalExceptionvoid updateFile(long companyId,
long repositoryId,
String fileName,
String fileExtension,
boolean validateFileExtension,
String versionLabel,
String sourceFileName,
InputStream inputStream)
throws PortalException
PortalExceptionvoid updateFileVersion(long companyId,
long repositoryId,
String fileName,
String fromVersionLabel,
String toVersionLabel)
throws PortalException
PortalExceptionvoid validate(String fileName,
boolean validateFileExtension)
throws PortalException
PortalExceptionvoid validate(String fileName,
boolean validateFileExtension,
byte[] bytes)
throws PortalException
PortalExceptionvoid validate(String fileName,
boolean validateFileExtension,
File file)
throws PortalException
PortalExceptionvoid validate(String fileName,
boolean validateFileExtension,
InputStream inputStream)
throws PortalException
PortalExceptionvoid validate(String fileName,
String fileExtension,
String sourceFileName,
boolean validateFileExtension)
throws PortalException
PortalExceptionvoid validate(String fileName,
String fileExtension,
String sourceFileName,
boolean validateFileExtension,
File file)
throws PortalException
PortalExceptionvoid validate(String fileName,
String fileExtension,
String sourceFileName,
boolean validateFileExtension,
InputStream inputStream)
throws PortalException
PortalException