org.exoplatform.calendar.webui.popup
Class UIImportForm

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

public class UIImportForm
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 UIImportForm.AddActionListener
           
static class UIImportForm.CancelActionListener
           
static class UIImportForm.ImportActionListener
           
static class UIImportForm.OnChangeActionListener
           
static class UIImportForm.SaveActionListener
           
static class UIImportForm.SelectPermissionActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static int ADD_NEW
           
static String CATEGORY
           
static String DESCRIPTION
           
static String DISPLAY_NAME
           
static String FIELD_TO_CALENDAR
           
static String FIELD_UPLOAD
           
protected  int flag_
           
static String LOCALE
           
static String ONCHANGE
           
static String PERMISSION
           
static String PERMISSION_SUB
           
 Map<String,Map<String,String>> perms_
           
static String SELECT_COLOR
           
static String TIMEZONE
           
static String TYPE
           
static int UPDATE_EXIST
           
 
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
UIImportForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 String[] getActions()
           
protected  String getCalendarId()
           
protected  String getDescription()
           
 String getLabel(String id)
           
protected  String getLocale()
           
 List<org.exoplatform.webui.core.model.SelectItemOption<String>> getPrivateCalendars()
           
protected  String getSelectedColor()
           
protected  String getSelectedIdGroup()
           
protected  String getSelectedTypeGroup()
           
protected  String getTimeZone()
           
 org.exoplatform.webui.form.UIFormSelectBoxWithGroups getUIFormSelectBoxGroup(String id)
           
 void init(String calId, String calType)
           
 boolean isNew()
           
 void switchMode(int flag)
           
 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

DISPLAY_NAME

public static final String DISPLAY_NAME
See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values

CATEGORY

public static final String CATEGORY
See Also:
Constant Field Values

PERMISSION

public static final String PERMISSION
See Also:
Constant Field Values

SELECT_COLOR

public static final String SELECT_COLOR
See Also:
Constant Field Values

TIMEZONE

public static final String TIMEZONE
See Also:
Constant Field Values

LOCALE

public static final String LOCALE
See Also:
Constant Field Values

PERMISSION_SUB

public static final String PERMISSION_SUB

perms_

public Map<String,Map<String,String>> perms_

TYPE

public static final String TYPE

FIELD_UPLOAD

public static final String FIELD_UPLOAD

FIELD_TO_CALENDAR

public static final String FIELD_TO_CALENDAR

ONCHANGE

public static final String ONCHANGE

UPDATE_EXIST

public static final int UPDATE_EXIST
See Also:
Constant Field Values

ADD_NEW

public static final int ADD_NEW
See Also:
Constant Field Values

flag_

protected int flag_
Constructor Detail

UIImportForm

public UIImportForm()
             throws Exception
Throws:
Exception
Method Detail

init

public void init(String calId,
                 String calType)

getLabel

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

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

getPrivateCalendars

public List<org.exoplatform.webui.core.model.SelectItemOption<String>> getPrivateCalendars()

isNew

public boolean isNew()

getSelectedTypeGroup

protected String getSelectedTypeGroup()

getSelectedIdGroup

protected String getSelectedIdGroup()

getDescription

protected String getDescription()

getSelectedColor

protected String getSelectedColor()

getTimeZone

protected String getTimeZone()

getLocale

protected String getLocale()

switchMode

public void switchMode(int flag)

getUIFormSelectBoxGroup

public org.exoplatform.webui.form.UIFormSelectBoxWithGroups getUIFormSelectBoxGroup(String id)

getCalendarId

protected String getCalendarId()

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.