Skip to content

Commit b0b16b9

Browse files
committed
Lançando nova versão.
1 parent ab200d0 commit b0b16b9

File tree

7 files changed

+530
-2
lines changed

7 files changed

+530
-2
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package br.com.archbase.ddd.domain.aspect.annotations;
2+
3+
import java.lang.annotation.ElementType;
4+
import java.lang.annotation.Retention;
5+
import java.lang.annotation.RetentionPolicy;
6+
import java.lang.annotation.Target;
7+
8+
@Target(ElementType.FIELD)
9+
@Retention(RetentionPolicy.RUNTIME)
10+
public @interface StorageField {
11+
12+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package br.com.archbase.ddd.domain.contracts;
2+
3+
import java.io.InputStream;
4+
5+
public interface ArchbaseStoragePort {
6+
7+
String uploadFile(String objectName, InputStream data, String contentType);
8+
9+
InputStream downloadFile(String objectName);
10+
11+
void deleteFile(String objectName);
12+
13+
String getStorageUrl();
14+
15+
String getStoragePath();
16+
}

0 commit comments

Comments
 (0)