Package org.gcube.portal.databook.shared
Class ClientAttachment
java.lang.Object
org.gcube.portal.databook.shared.ClientAttachment
@JsType(isNative=true,
namespace="<global>",
name="Object")
public class ClientAttachment
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
-
uri
-
name
-
description
-
thumbnailURL
-
mimeType
-
-
Constructor Details
-
ClientAttachment
public ClientAttachment()
-
-
Method Details
-
create
@JsOverlay public static ClientAttachment create(String id, String uri, String name, String description, String thumbnailURL, String mimeType) - Parameters:
id- the id in the cassandra CFuri- where you can download the file fromname- the name of the attached filedescription- the description of the attached filethumbnailURL- the URL of the image representing the attached filemimeType- the type of file
-