public class GoogleDriveBlobUploader extends Object implements JSFBlobUploader
| Modifier and Type | Field and Description |
|---|---|
static String |
GOOGLE_DOMAIN_PROP |
static String |
UPLOAD_GOOGLE_DRIVE_FACET_NAME |
| Constructor and Description |
|---|
GoogleDriveBlobUploader() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBeginUpload(javax.faces.component.UIInput parent,
javax.faces.context.FacesContext context,
String onClick)
Generates the HTML for an upload choice.
|
String |
getChoice()
Gets the choice key associated to this uploader.
|
void |
hookSubComponent(javax.faces.component.UIInput parent)
Constructs the needed subcomponent.
|
void |
validateUpload(javax.faces.component.UIInput parent,
javax.faces.context.FacesContext context,
InputFileInfo submitted)
Transforms input into a blob.
|
public static final String UPLOAD_GOOGLE_DRIVE_FACET_NAME
public static final String GOOGLE_DOMAIN_PROP
public String getChoice()
JSFBlobUploadergetChoice in interface JSFBlobUploaderpublic void hookSubComponent(javax.faces.component.UIInput parent)
JSFBlobUploaderhookSubComponent in interface JSFBlobUploaderpublic void encodeBeginUpload(javax.faces.component.UIInput parent,
javax.faces.context.FacesContext context,
String onClick)
throws IOException
JSFBlobUploaderencodeBeginUpload in interface JSFBlobUploaderIOExceptionpublic void validateUpload(javax.faces.component.UIInput parent,
javax.faces.context.FacesContext context,
InputFileInfo submitted)
JSFBlobUploadervalidateUpload in interface JSFBlobUploadersubmitted - the value into which the input is storedCopyright © 2015 Nuxeo SA. All rights reserved.