org.exoplatform.calendar.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.calendar.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 Nguyen hung.nguyen@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.SelectPermissionActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
protected  boolean isAddNew_
           
static java.lang.String SHARED_TAB
           
static java.lang.String[] SPECIALCHARACTER
           
 
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()
           
protected  boolean canEdit()
           
 java.lang.String cleanValue(java.lang.String values)
           
 void deActivate()
           
 java.lang.String[] getActions()
           
 java.lang.String getLabel(java.lang.String id)
           
protected  java.lang.String getSharedUser()
           
 void init(java.lang.String username, Calendar cal, boolean isAddNew)
           
 void setCalendarName(java.lang.String value)
           
protected  void setCanEdit(boolean canEdit)
           
 void setSelectedCalendarId(java.lang.String id)
           
protected  void setSharedUser(java.lang.String value)
           
 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

SPECIALCHARACTER

public static final java.lang.String[] SPECIALCHARACTER

SHARED_TAB

public static final java.lang.String SHARED_TAB

isAddNew_

protected boolean isAddNew_
Constructor Detail

UISharedForm

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

init

public void init(java.lang.String username,
                 Calendar cal,
                 boolean isAddNew)

getLabel

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

setSelectedCalendarId

public void setSelectedCalendarId(java.lang.String id)

setCalendarName

public void setCalendarName(java.lang.String value)

setCanEdit

protected void setCanEdit(boolean canEdit)

canEdit

protected boolean canEdit()

setSharedUser

protected void setSharedUser(java.lang.String value)

getSharedUser

protected java.lang.String getSharedUser()

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

cleanValue

public java.lang.String cleanValue(java.lang.String values)
                            throws java.lang.Exception
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 © 2011 eXo Platform SAS. All Rights Reserved.