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()
JSFBlobUploader
getChoice
in interface JSFBlobUploader
public void hookSubComponent(javax.faces.component.UIInput parent)
JSFBlobUploader
hookSubComponent
in interface JSFBlobUploader
public void encodeBeginUpload(javax.faces.component.UIInput parent, javax.faces.context.FacesContext context, String onClick) throws IOException
JSFBlobUploader
encodeBeginUpload
in interface JSFBlobUploader
IOException
public void validateUpload(javax.faces.component.UIInput parent, javax.faces.context.FacesContext context, InputFileInfo submitted)
JSFBlobUploader
validateUpload
in interface JSFBlobUploader
submitted
- the value into which the input is storedCopyright © 2015 Nuxeo SA. All rights reserved.