public class FileUploadUiServiceImpl extends java.lang.Object implements FileUploadUiService
Modifier and Type | Class and Description |
---|---|
static interface |
FileUploadUiServiceImpl.CombinedFiedlTemplate |
FileUploadUiService.UploadHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CSS_BACKUP_STYLE |
static java.lang.String |
CSS_FILENAME_STYLE |
Constructor and Description |
---|
FileUploadUiServiceImpl(FileUploadServiceDao dao) |
Modifier and Type | Method and Description |
---|---|
FileUploadField |
addBaseUploadField(UploadProperties uploadProperties,
Container container) |
Component |
addCombinedUploadField(UploadProperties properties) |
void |
attachHtmlUploadTo(Component component,
UploadProperties properties) |
java.lang.String |
getFormAction() |
long |
getSize(FileUploadField field) |
java.lang.String |
getValueOf(Component component) |
void |
handleUploadReturn(FormPanel form) |
void |
handleUploadReturn(FormPanel form,
FileUploadUiService.UploadHandler handler) |
void |
prepareForUpload(FormPanel form) |
void |
prepareForUpload(SimpleForm form) |
Request |
uploadInterimFile(FileToUpload uploadedFile,
<any> callback) |
@CssClassConstant public static final java.lang.String CSS_FILENAME_STYLE
@CssClassConstant public static final java.lang.String CSS_BACKUP_STYLE
public FileUploadUiServiceImpl(FileUploadServiceDao dao)
public FileUploadField addBaseUploadField(UploadProperties uploadProperties, Container container)
addBaseUploadField
in interface FileUploadUiService
public void attachHtmlUploadTo(Component component, UploadProperties properties)
attachHtmlUploadTo
in interface FileUploadUiService
public Component addCombinedUploadField(UploadProperties properties)
addCombinedUploadField
in interface FileUploadUiService
public java.lang.String getValueOf(Component component)
getValueOf
in interface FileUploadUiService
public java.lang.String getFormAction()
getFormAction
in interface FileUploadUiService
public void handleUploadReturn(FormPanel form)
handleUploadReturn
in interface FileUploadUiService
public void handleUploadReturn(FormPanel form, FileUploadUiService.UploadHandler handler)
handleUploadReturn
in interface FileUploadUiService
public void prepareForUpload(SimpleForm form)
prepareForUpload
in interface FileUploadUiService
public void prepareForUpload(FormPanel form)
prepareForUpload
in interface FileUploadUiService
public Request uploadInterimFile(FileToUpload uploadedFile, <any> callback)
uploadInterimFile
in interface FileUploadUiService
public long getSize(FileUploadField field)
getSize
in interface FileUploadUiService