|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.gui.common.upload.FileUploadUIBean
public class FileUploadUIBean
Session bean used to maintain information about an uploaded file. For use with RichFaces fileUpload component.
| Constructor Summary | |
|---|---|
FileUploadUIBean()
|
|
| Method Summary | |
|---|---|
void |
clear()
Deletes any temporary file containing a previously uploaded file (if one exists). |
void |
fileUploadListener(org.richfaces.event.UploadEvent event)
|
org.richfaces.model.UploadItem |
getFileItem()
|
boolean |
isFileUploaded()
|
protected void |
onFailure(Throwable t)
Adds a generic error message to the faces context and logs the error. |
protected void |
onSuccess()
Adds a generic info message to the faces context. |
void |
setFileItem(org.richfaces.model.UploadItem fileItem)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileUploadUIBean()
| Method Detail |
|---|
public org.richfaces.model.UploadItem getFileItem()
public void setFileItem(org.richfaces.model.UploadItem fileItem)
public boolean isFileUploaded()
public void clear()
sets the file to null so it appears no file
has been uploaded.
public void fileUploadListener(org.richfaces.event.UploadEvent event)
public String toString()
toString in class Objectprotected void onSuccess()
protected void onFailure(Throwable t)
t - the error that occurred
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||