Package com.kaltura.client.services
Class AttachmentAssetService
- java.lang.Object
-
- com.kaltura.client.services.AttachmentAssetService
-
public class AttachmentAssetService extends Object
Retrieve information and invoke actions on attachment Asset
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttachmentAssetService.AddAttachmentAssetBuilderstatic classAttachmentAssetService.DeleteAttachmentAssetBuilderstatic classAttachmentAssetService.GetAttachmentAssetBuilderstatic classAttachmentAssetService.GetRemotePathsAttachmentAssetBuilderstatic classAttachmentAssetService.GetUrlAttachmentAssetBuilderstatic classAttachmentAssetService.ListAttachmentAssetBuilderstatic classAttachmentAssetService.ServeAttachmentAssetBuilderstatic classAttachmentAssetService.SetContentAttachmentAssetBuilderstatic classAttachmentAssetService.UpdateAttachmentAssetBuilder
-
Constructor Summary
Constructors Constructor Description AttachmentAssetService()
-
Method Summary
-
-
-
Method Detail
-
add
public static AttachmentAssetService.AddAttachmentAssetBuilder add(String entryId, AttachmentAsset attachmentAsset)
Add attachment asset- Parameters:
entryId-attachmentAsset-
-
delete
public static AttachmentAssetService.DeleteAttachmentAssetBuilder delete(String attachmentAssetId)
-
get
public static AttachmentAssetService.GetAttachmentAssetBuilder get(String attachmentAssetId)
-
getRemotePaths
public static AttachmentAssetService.GetRemotePathsAttachmentAssetBuilder getRemotePaths(String id)
Get remote storage existing paths for the asset- Parameters:
id-
-
getUrl
public static AttachmentAssetService.GetUrlAttachmentAssetBuilder getUrl(String id)
-
getUrl
public static AttachmentAssetService.GetUrlAttachmentAssetBuilder getUrl(String id, int storageId)
Get download URL for the asset- Parameters:
id-storageId-
-
list
public static AttachmentAssetService.ListAttachmentAssetBuilder list()
-
list
public static AttachmentAssetService.ListAttachmentAssetBuilder list(AssetFilter filter)
-
list
public static AttachmentAssetService.ListAttachmentAssetBuilder list(AssetFilter filter, FilterPager pager)
List attachment Assets by filter and pager- Parameters:
filter-pager-
-
serve
public static AttachmentAssetService.ServeAttachmentAssetBuilder serve(String attachmentAssetId)
-
serve
public static AttachmentAssetService.ServeAttachmentAssetBuilder serve(String attachmentAssetId, AttachmentServeOptions serveOptions)
Serves attachment by its id- Parameters:
attachmentAssetId-serveOptions-
-
setContent
public static AttachmentAssetService.SetContentAttachmentAssetBuilder setContent(String id, ContentResource contentResource)
Update content of attachment asset- Parameters:
id-contentResource-
-
update
public static AttachmentAssetService.UpdateAttachmentAssetBuilder update(String id, AttachmentAsset attachmentAsset)
Update attachment asset- Parameters:
id-attachmentAsset-
-
-