org.exoplatform.contact.webui.popup
Class UISharedForm

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.UISharedForm
All Implemented Interfaces:
UIPopupComponent, UISelector

public class UISharedForm
extends org.exoplatform.webui.form.UIForm
implements UIPopupComponent, UISelector

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


Nested Class Summary
static class UISharedForm.AddActionListener
           
static class UISharedForm.CancelActionListener
           
static class UISharedForm.CloseActionListener
           
static class UISharedForm.SaveActionListener
           
static class UISharedForm.SelectGroupActionListener
           
static class UISharedForm.SelectPermissionActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String FIELD_ADDRESS
           
static java.lang.String FIELD_CONTACT
           
static java.lang.String FIELD_EDIT_PERMISSION
           
static java.lang.String FIELD_GROUP
           
static java.lang.String FIELD_USER
           
 
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
UISharedForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 java.lang.String[] getActions()
           
 java.lang.String getLabel(java.lang.String id)
           
 void init()
           
 boolean isNew()
           
 void setContact(Contact contact)
           
 void setGroup(AddressBook group)
           
 void setNew(boolean isNew)
           
 void updateSelect(java.lang.String selectField, java.lang.String value)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, 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_ADDRESS

public static final java.lang.String FIELD_ADDRESS

FIELD_CONTACT

public static final java.lang.String FIELD_CONTACT

FIELD_USER

public static final java.lang.String FIELD_USER

FIELD_GROUP

public static final java.lang.String FIELD_GROUP

FIELD_EDIT_PERMISSION

public static final java.lang.String FIELD_EDIT_PERMISSION
Constructor Detail

UISharedForm

public UISharedForm()
Method Detail

setContact

public void setContact(Contact contact)

setGroup

public void setGroup(AddressBook group)

setNew

public void setNew(boolean isNew)

isNew

public boolean isNew()

init

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

getLabel

public java.lang.String getLabel(java.lang.String id)
Overrides:
getLabel in class org.exoplatform.webui.form.UIForm

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

updateSelect

public void updateSelect(java.lang.String selectField,
                         java.lang.String value)
                  throws java.lang.Exception
Specified by:
updateSelect in interface UISelector
Throws:
java.lang.Exception


Copyright © 2012 eXo Platform SAS. All Rights Reserved.