org.exoplatform.mail.webui.popup
Class UIAddressBookForm

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

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

Created by The eXo Platform SARL Author : Phung Nam phunghainam@gmail.com Nov 01, 2007 8:48:18 AM


Nested Class Summary
static class UIAddressBookForm.AddContactActionListener
           
static class UIAddressBookForm.AddNewGroupActionListener
           
static class UIAddressBookForm.ChangeGroupActionListener
           
static class UIAddressBookForm.CheckContactActionListener
           
static class UIAddressBookForm.CloseActionListener
           
static class UIAddressBookForm.DeleteContactActionListener
           
static class UIAddressBookForm.EditContactActionListener
           
static class UIAddressBookForm.SelectContactActionListener
           
static class UIAddressBookForm.SendEmailActionListener
           
static class UIAddressBookForm.SendMultiEmailActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String ALL_GROUP
           
static java.lang.String SELECT_GROUP
           
 
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
UIAddressBookForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 void flipFlopCheckedContactMap(java.lang.String contactId)
           
 java.lang.String[] getActions()
           
 java.util.HashMap<java.lang.String,java.lang.String> getCheckedContactMap()
           
 java.util.List<Contact> getContacts()
           
 org.exoplatform.download.DownloadService getDownloadService()
           
 java.util.List<org.exoplatform.webui.core.model.SelectItem> getOptions()
           
 java.lang.String getPortalName()
           
 java.lang.String getRepository()
           
 Contact getSelectedContact()
           
 boolean havePermission(Contact contact)
           
 boolean havePermission(java.lang.String groupId)
           
 boolean isCheckedContact(java.lang.String contactId)
           
 void refrestContactList(java.lang.String groupId)
           
 void setSelectedContact(Contact contact)
           
 void updateGroup(java.lang.String selectedGroup)
           
 
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

ALL_GROUP

public static final java.lang.String ALL_GROUP

SELECT_GROUP

public static final java.lang.String SELECT_GROUP
Constructor Detail

UIAddressBookForm

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

havePermission

public boolean havePermission(java.lang.String groupId)
                       throws java.lang.Exception
Throws:
java.lang.Exception

havePermission

public boolean havePermission(Contact contact)
                       throws java.lang.Exception
Throws:
java.lang.Exception

getPortalName

public java.lang.String getPortalName()

getRepository

public java.lang.String getRepository()
                               throws java.lang.Exception
Throws:
java.lang.Exception

getOptions

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

getSelectedContact

public Contact getSelectedContact()

setSelectedContact

public void setSelectedContact(Contact contact)

getCheckedContactMap

public java.util.HashMap<java.lang.String,java.lang.String> getCheckedContactMap()

flipFlopCheckedContactMap

public void flipFlopCheckedContactMap(java.lang.String contactId)

isCheckedContact

public boolean isCheckedContact(java.lang.String contactId)

getDownloadService

public org.exoplatform.download.DownloadService getDownloadService()

getContacts

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

refrestContactList

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

updateGroup

public void updateGroup(java.lang.String selectedGroup)
                 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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.