org.exoplatform.contact.webui.popup
Class UIAddressForm

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.UIAddressForm
All Implemented Interfaces:
UIPopupComponent

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

Created by The eXo Platform SARL Author : Phung Nam Sep 25, 2007


Nested Class Summary
static class UIAddressForm.AddActionListener
           
static class UIAddressForm.CancelActionListener
           
static class UIAddressForm.ChangeGroupActionListener
           
static class UIAddressForm.ReplaceActionListener
           
static class UIAddressForm.SearchContactActionListener
           
static class UIAddressForm.ShowPageActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 java.util.Map<java.lang.String,Contact> checkedList_
           
static java.lang.String CONTACT_GROUP
           
static java.lang.String CONTACT_SEARCH
           
 java.util.Map<java.lang.String,Contact> newCheckedList_
           
 
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
UIAddressForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 java.lang.String[] getActions()
           
 long getAvailablePage()
           
 java.util.List<Contact> getCheckedContact()
           
 java.util.List<Contact> getContacts()
           
 long getCurrentPage()
           
 java.util.List<org.exoplatform.webui.core.model.SelectItem> getOptions()
           
 java.lang.String getRecipientType()
           
 org.exoplatform.webui.core.UIPageIterator getUIPageIterator()
           
 void setAlreadyCheckedContact(java.util.List<Contact> alreadyCheckedContact)
           
 void setContactList(java.util.List<Contact> contactList)
           
 void setContactList(java.lang.String groupId)
           
 void setRecipientsType(java.lang.String type)
           
protected  void updateCurrentPage(int page)
           
 
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

CONTACT_SEARCH

public static final java.lang.String CONTACT_SEARCH

CONTACT_GROUP

public static final java.lang.String CONTACT_GROUP

checkedList_

public java.util.Map<java.lang.String,Contact> checkedList_

newCheckedList_

public java.util.Map<java.lang.String,Contact> newCheckedList_
Constructor Detail

UIAddressForm

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

setRecipientsType

public void setRecipientsType(java.lang.String type)

getRecipientType

public java.lang.String getRecipientType()

getOptions

public java.util.List<org.exoplatform.webui.core.model.SelectItem> getOptions()
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

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

getContacts

public java.util.List<Contact> getContacts()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getUIPageIterator

public org.exoplatform.webui.core.UIPageIterator getUIPageIterator()

getAvailablePage

public long getAvailablePage()

getCurrentPage

public long getCurrentPage()

updateCurrentPage

protected void updateCurrentPage(int page)
                          throws java.lang.Exception
Throws:
java.lang.Exception

setContactList

public void setContactList(java.lang.String groupId)
                    throws java.lang.Exception
Throws:
java.lang.Exception

setContactList

public void setContactList(java.util.List<Contact> contactList)
                    throws java.lang.Exception
Throws:
java.lang.Exception

setAlreadyCheckedContact

public void setAlreadyCheckedContact(java.util.List<Contact> alreadyCheckedContact)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getCheckedContact

public java.util.List<Contact> getCheckedContact()
                                          throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012 eXo Platform SAS. All Rights Reserved.