org.exoplatform.mail.webui.popup
Class UIAttachFileForm

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.mail.webui.popup.UIAttachFileForm
All Implemented Interfaces:
UIPopupComponent

public class UIAttachFileForm
extends org.exoplatform.webui.form.UIForm
implements UIPopupComponent

Created by The eXo Platform SARL Author : Pham Tuan tuan.pham@exoplatform.com Aug 24, 2007


Nested Class Summary
static class UIAttachFileForm.AddMoreActionListener
           
static class UIAttachFileForm.CancelActionListener
           
static class UIAttachFileForm.SaveActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String FIELD_UPLOAD
           
static int MAX_SIZE
           
 int numberFile
           
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIAttachFileForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 java.lang.String[] getActions()
           
 long getAttSize()
           
 int getNumberFile()
           
static void removeUploadTemp(org.exoplatform.upload.UploadService uservice, java.lang.String uploadId)
           
 void setAttSize(long value)
           
 void setNumberFile(int nb)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_UPLOAD

public static final java.lang.String FIELD_UPLOAD
See Also:
Constant Field Values

numberFile

public int numberFile

MAX_SIZE

public static final int MAX_SIZE
See Also:
Constant Field Values
Constructor Detail

UIAttachFileForm

public UIAttachFileForm()
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

setNumberFile

public void setNumberFile(int nb)

getNumberFile

public int getNumberFile()

getActions

public java.lang.String[] getActions()
Overrides:
getActions in class org.exoplatform.webui.form.UIForm

activate

public void activate()
              throws java.lang.Exception
Specified by:
activate in interface UIPopupComponent
Throws:
java.lang.Exception

deActivate

public void deActivate()
                throws java.lang.Exception
Specified by:
deActivate in interface UIPopupComponent
Throws:
java.lang.Exception

getAttSize

public long getAttSize()

setAttSize

public void setAttSize(long value)

removeUploadTemp

public static void removeUploadTemp(org.exoplatform.upload.UploadService uservice,
                                    java.lang.String uploadId)


Copyright © 2012 eXo Platform SAS. All Rights Reserved.