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.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
protected  boolean isAddNew_
           
static String SHARED_TAB
           
static String[] SPECIALCHARACTER
           
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UISharedForm()
           
 
Method Summary
 void activate()
           
protected  boolean canEdit()
           
 void deActivate()
           
 String[] getActions()
           
 String getLabel(String id)
           
protected  String getSharedGroup()
           
protected  String getSharedUser()
           
 void init(String username, org.exoplatform.calendar.service.Calendar cal, boolean isAddNew)
           
 void setCalendarName(String value)
           
protected  void setCanEdit(boolean canEdit)
           
 void setSelectedCalendarId(String id)
           
protected  void setSharedGroup(String value)
           
protected  void setSharedUser(String value)
           
 void updateSelect(String selectField, String value)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getLabel, getSubmitAction, getUICheckBoxInput, 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, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, 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 String[] SPECIALCHARACTER

SHARED_TAB

public static final String SHARED_TAB

isAddNew_

protected boolean isAddNew_
Constructor Detail

UISharedForm

public UISharedForm()
             throws Exception
Throws:
Exception
Method Detail

init

public void init(String username,
                 org.exoplatform.calendar.service.Calendar cal,
                 boolean isAddNew)

getLabel

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

setSelectedCalendarId

public void setSelectedCalendarId(String id)

setCalendarName

public void setCalendarName(String value)

setCanEdit

protected void setCanEdit(boolean canEdit)

canEdit

protected boolean canEdit()

setSharedUser

protected void setSharedUser(String value)

getSharedUser

protected String getSharedUser()

setSharedGroup

protected void setSharedGroup(String value)

getSharedGroup

protected String getSharedGroup()

getActions

public String[] getActions()
Overrides:
getActions in class org.exoplatform.webui.form.UIForm

activate

public void activate()
              throws Exception
Specified by:
activate in interface UIPopupComponent
Throws:
Exception

deActivate

public void deActivate()
                throws Exception
Specified by:
deActivate in interface UIPopupComponent
Throws:
Exception

updateSelect

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


Copyright © 2013 eXo Platform SAS. All Rights Reserved.