public interface Assets
Modifier and Type | Method and Description |
---|---|
Asset |
add(AddAssetRequest addRequest) |
List<Asset> |
add(String domainId,
List<String> names,
String typeId) |
Asset |
change(ChangeAssetRequest changeAssetRequest) |
Asset |
get(String assetId) |
Asset |
getByExternalId(String externalId,
String externalSystemId) |
Asset |
getByName(String domainId,
String assetName) |
org.mule.streaming.ProviderAwarePagingDelegate<Asset,CollibraDGCConnector> |
list(String domainId,
org.mule.streaming.PagingConfiguration pagingConfiguration) |
List<Asset> |
listAssetsByAssetTypeAndLastModifiedDate(String type,
long lastModifiedDate) |
void |
remove(List<String> assetIds) |
void |
remove(String assetId) |
List<Map<String,Object>> |
upsertByExternalId(String assetTypeId,
List<Map<String,Object>> assets,
String defaultDomainId,
String externalSystemId,
UpsertOptions upsertOptions,
boolean returnDGCIdsOfAssets) |
List<Map<String,Object>> |
upsertByName(String assetTypeId,
List<Map<String,Object>> assets,
UpsertOptions upsertOptions,
boolean returnDGCIdsOfAssets) |
org.mule.streaming.ProviderAwarePagingDelegate<Asset,CollibraDGCConnector> list(String domainId, org.mule.streaming.PagingConfiguration pagingConfiguration)
List<Asset> listAssetsByAssetTypeAndLastModifiedDate(String type, long lastModifiedDate)
Asset add(AddAssetRequest addRequest)
Asset change(ChangeAssetRequest changeAssetRequest)
void remove(String assetId)
List<Map<String,Object>> upsertByExternalId(String assetTypeId, List<Map<String,Object>> assets, String defaultDomainId, String externalSystemId, UpsertOptions upsertOptions, boolean returnDGCIdsOfAssets) throws IOException
assetTypeId
- - the asset type idassets
- - List
of Asset representationdefaultDomainId
- - the default domain idexternalSystemId
- - the external system idupsertOptions
- - an instance of UpsertOptions
returnDGCIdsOfAssets
- - true
if user wants to return values with IDs,
false
otherwise.List
representing the Assets.IOException
- - exceptionList<Map<String,Object>> upsertByName(String assetTypeId, List<Map<String,Object>> assets, UpsertOptions upsertOptions, boolean returnDGCIdsOfAssets) throws IOException
assetTypeId-
- the asset type idassets-
- List
of Asset representationupsertOptions-
- an instance of UpsertOptions
returnDGCIdsOfAssets-
- true
if user wants to return values with IDs,
false
otherwise.List
representing the Assets.IOException
- - exceptionCopyright © 2010–2019. All rights reserved.