public class FXAssetManagementClient extends Object
Constructor and Description |
---|
FXAssetManagementClient(FXAssetManagementAPI api) |
Modifier and Type | Method and Description |
---|---|
static FXAssetManagementClientBuilder |
builder() |
CreateProjectResponse |
createProject(String name) |
FXServiceResult |
deleteAsset(String prjuid,
String name) |
FXServiceResult |
deleteProject(String prjuid) |
InputStream |
getAppData(String prjuid,
String name) |
InputStream |
getAsset(String prjuid,
String name) |
S3ImportStatus |
getS3ImportResult(S3ImportContext ctx)
Check the status of an ongoing or completed S3Import
|
InputStream |
listAppData(String prjuid) |
ListAssetResponse |
listAssets(ListAssetRequest request) |
ListAssetResponse |
listAssets(String projectID) |
ListProjectResponse |
listProjects(ListProjectRequest request) |
S3ImportContext |
prepareS3Import(String prjuid,
String filename)
Inititate a S3 to S3 Asset import.
|
UploadResponse |
putAppData(String prjuid,
String name,
byte[] data) |
String |
S3Import(S3ImportContext ctx)
Start a S3 Import.
|
UploadResponse |
uploadAsset(String prjuid,
String name,
byte[] input) |
public FXAssetManagementClient(FXAssetManagementAPI api)
public static FXAssetManagementClientBuilder builder()
public CreateProjectResponse createProject(String name) throws FXClientException
FXClientException
public ListProjectResponse listProjects(ListProjectRequest request)
public FXServiceResult deleteProject(String prjuid) throws FXClientException, FXServiceException
FXClientException
FXServiceException
public InputStream getAsset(String prjuid, String name) throws FXServiceException, FXClientException
FXServiceException
FXClientException
public UploadResponse uploadAsset(String prjuid, String name, byte[] input) throws FXClientException, FXServiceException
FXClientException
FXServiceException
public FXServiceResult deleteAsset(String prjuid, String name) throws FXServiceException
FXServiceException
public ListAssetResponse listAssets(String projectID) throws FXServiceException
FXServiceException
public ListAssetResponse listAssets(ListAssetRequest request) throws FXServiceException
FXServiceException
public InputStream listAppData(String prjuid)
public InputStream getAppData(String prjuid, String name)
public UploadResponse putAppData(String prjuid, String name, byte[] data)
public S3ImportContext prepareS3Import(String prjuid, String filename) throws FXServiceException
prjuid
- ID of project to transfer the asset to.filename
- name for the final asset.FXServiceException
public String S3Import(S3ImportContext ctx) throws FXServiceException
ctx
- FXServiceException
public S3ImportStatus getS3ImportResult(S3ImportContext ctx)
ctx
-