|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.icefaces.ace.component.fileentry.FileEntryResults.FileInfo
public static class FileEntryResults.FileInfo
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getContentType()
|
java.io.File |
getFile()
|
java.lang.String |
getFileName()
|
long |
getSize()
|
FileEntryStatus |
getStatus()
|
int |
hashCode()
|
boolean |
isSaved()
|
java.lang.String |
toString()
|
void |
updateStatus(FileEntryStatus newStatus,
boolean invalidate)
In the callback, applications may override the uploaded files' statuses, if the files fail the application's custom validation, by using this method. |
void |
updateStatus(FileEntryStatus newStatus,
boolean invalidate,
boolean deleteFile)
In the fileEntryListener, applications may override the uploaded files' statuses, if the files fail the application's custom validation, by using this method. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void updateStatus(FileEntryStatus newStatus, boolean invalidate, boolean deleteFile)
newStatus
- The new status for the uploaded fileinvalidate
- If should invalidate the component, and the form.
This will only have an effect if this method is called before
UpdateModel phase, such as when called from the fileEntryListener
when the fileEntry has immediate=true.deleteFile
- If should delete the file from the file-systempublic void updateStatus(FileEntryStatus newStatus, boolean invalidate)
newStatus
- The new status for the uploaded fileinvalidate
- If should invalidate the component, and the form.public java.lang.String getFileName()
public java.lang.String getContentType()
public java.io.File getFile()
public long getSize()
public FileEntryStatus getStatus()
public boolean isSaved()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |