|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.ActionForm
com.actuate.activeportal.forms.BaseActionForm
com.actuate.activeportal.forms.FileUploadActionForm
public class FileUploadActionForm
This form is used to upload images and stores an object representation of the uploaded file that needs to be saved. It is used in skin customization page for uploading images. It uses struts org.apache.struts.upload.FormFile to handle the file upload. The file will be saved in a temporary location on the server.
Constructor Summary | |
---|---|
FileUploadActionForm()
|
Method Summary | |
---|---|
java.lang.String |
getFilePath()
Returns the location of the uploaded file in the server. |
org.apache.struts.upload.FormFile |
getTheFile()
Retrieve a representation of the file the user has uploaded |
boolean |
isUploaded()
Returns the flag if the file is uploaded |
void |
setFilePath(java.lang.String string)
Sets the location of the uploaded file in the server. |
void |
setTheFile(org.apache.struts.upload.FormFile theFile)
Set a representation of the file the user has uploaded |
void |
setUploaded(boolean b)
Sets the flag if the file is uploaded |
Methods inherited from class com.actuate.activeportal.forms.BaseActionForm |
---|
fixUTF8, isPostback, setPostback |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileUploadActionForm()
Method Detail |
---|
public org.apache.struts.upload.FormFile getTheFile()
public void setTheFile(org.apache.struts.upload.FormFile theFile)
public java.lang.String getFilePath()
public void setFilePath(java.lang.String string)
public boolean isUploaded()
public void setUploaded(boolean b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |