org.exoplatform.contact.webui.popup
Class UIComposeForm

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.contact.webui.popup.UIComposeForm
All Implemented Interfaces:
UIPopupComponent

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

Created by The eXo Platform SARL Author : Hung Nguyen hung.hoang Aus 01, 2007 2:48:18 PM


Nested Class Summary
static class UIComposeForm.AttachmentActionListener
           
static class UIComposeForm.DiscardChangeActionListener
           
static class UIComposeForm.DownloadActionListener
           
static class UIComposeForm.RemoveAttachmentActionListener
           
static class UIComposeForm.SendActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String ACT_REMOVE
           
static java.lang.String ACT_TO
           
static java.lang.String FIELD_ATTACHMENTS
           
static java.lang.String FIELD_FROM
           
static java.lang.String FIELD_FROM_INPUT
           
static java.lang.String FIELD_MESSAGECONTENT
           
static java.lang.String FIELD_SUBJECT
           
static java.lang.String FIELD_TO
           
static int MESSAGE_NEW
           
 java.util.List<Contact> toContacts
           
 
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
UIComposeForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 int getComposeType()
           
 java.lang.String getFieldAttachmentsValue()
           
 java.lang.String getFieldContentValue()
           
 java.lang.String getFieldFromValue()
           
 java.lang.String getFieldSubjectValue()
           
 java.lang.String getFieldToValue()
           
 java.util.List<Contact> getToContacts()
           
 java.util.List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getUploadFileList()
           
 void init(java.util.List<Account> accs, java.lang.String toEmails)
           
 boolean isVisualEditor()
           
 void refreshUploadFileList()
           
 void resetFields()
           
 void setComposeType(int t)
           
 void setFieldSubjectValue(java.lang.String value)
           
 void setFieldToValue(java.lang.String value)
           
 void setToContacts(java.util.List<Contact> contactList)
           
 void setVisualEditor(boolean b)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, 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_FROM_INPUT

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

FIELD_FROM

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

FIELD_SUBJECT

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

FIELD_TO

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

FIELD_ATTACHMENTS

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

FIELD_MESSAGECONTENT

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

ACT_TO

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

ACT_REMOVE

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

MESSAGE_NEW

public static final int MESSAGE_NEW
See Also:
Constant Field Values

toContacts

public java.util.List<Contact> toContacts
Constructor Detail

UIComposeForm

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

isVisualEditor

public boolean isVisualEditor()

setVisualEditor

public void setVisualEditor(boolean b)

getToContacts

public java.util.List<Contact> getToContacts()

setToContacts

public void setToContacts(java.util.List<Contact> contactList)

getComposeType

public int getComposeType()

setComposeType

public void setComposeType(int t)

getUploadFileList

public java.util.List<org.exoplatform.webui.form.UIFormInputWithActions.ActionData> getUploadFileList()

refreshUploadFileList

public void refreshUploadFileList()
                           throws java.lang.Exception
Throws:
java.lang.Exception

init

public void init(java.util.List<Account> accs,
                 java.lang.String toEmails)
          throws java.lang.Exception
Throws:
java.lang.Exception

getFieldFromValue

public java.lang.String getFieldFromValue()

getFieldSubjectValue

public java.lang.String getFieldSubjectValue()

setFieldSubjectValue

public void setFieldSubjectValue(java.lang.String value)

getFieldToValue

public java.lang.String getFieldToValue()

setFieldToValue

public void setFieldToValue(java.lang.String value)

getFieldAttachmentsValue

public java.lang.String getFieldAttachmentsValue()

getFieldContentValue

public java.lang.String getFieldContentValue()

resetFields

public void resetFields()

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.