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 java.lang.String CATEGORY
           
static java.lang.String DESCRIPTION
           
static java.lang.String DISPLAY_NAME
           
static java.lang.String FIELD_TO_CALENDAR
           
static java.lang.String FIELD_UPLOAD
           
protected  int flag_
           
static java.lang.String LOCALE
           
static java.lang.String ONCHANGE
           
static java.lang.String PERMISSION
           
static java.lang.String PERMISSION_SUB
           
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> perms_
           
static java.lang.String SELECT_COLOR
           
static java.lang.String TIMEZONE
           
static java.lang.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
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIImportForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 java.lang.String[] getActions()
           
protected  java.lang.String getCalendarId()
           
protected  java.lang.String getDescription()
           
 java.lang.String getLabel(java.lang.String id)
           
protected  java.lang.String getLocale()
           
 java.util.List<org.exoplatform.webui.core.model.SelectItemOption<java.lang.String>> getPrivateCalendars()
           
protected  java.lang.String getSelectedColor()
           
protected  java.lang.String getSelectedIdGroup()
           
protected  java.lang.String getSelectedTypeGroup()
           
protected  java.lang.String getTimeZone()
           
 org.exoplatform.webui.form.UIFormSelectBoxWithGroups getUIFormSelectBoxGroup(java.lang.String id)
           
 void init(java.lang.String calId, java.lang.String calType)
           
 boolean isNew()
           
 void switchMode(int flag)
           
 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

DISPLAY_NAME

public static final java.lang.String DISPLAY_NAME
See Also:
Constant Field Values

DESCRIPTION

public static final java.lang.String DESCRIPTION
See Also:
Constant Field Values

CATEGORY

public static final java.lang.String CATEGORY
See Also:
Constant Field Values

PERMISSION

public static final java.lang.String PERMISSION
See Also:
Constant Field Values

SELECT_COLOR

public static final java.lang.String SELECT_COLOR
See Also:
Constant Field Values

TIMEZONE

public static final java.lang.String TIMEZONE
See Also:
Constant Field Values

LOCALE

public static final java.lang.String LOCALE
See Also:
Constant Field Values

PERMISSION_SUB

public static final java.lang.String PERMISSION_SUB

perms_

public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> perms_

TYPE

public static final java.lang.String TYPE

FIELD_UPLOAD

public static final java.lang.String FIELD_UPLOAD

FIELD_TO_CALENDAR

public static final java.lang.String FIELD_TO_CALENDAR

ONCHANGE

public static final java.lang.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 java.lang.Exception
Throws:
java.lang.Exception
Method Detail

init

public void init(java.lang.String calId,
                 java.lang.String calType)

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

getPrivateCalendars

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

isNew

public boolean isNew()

getSelectedTypeGroup

protected java.lang.String getSelectedTypeGroup()

getSelectedIdGroup

protected java.lang.String getSelectedIdGroup()

getDescription

protected java.lang.String getDescription()

getSelectedColor

protected java.lang.String getSelectedColor()

getTimeZone

protected java.lang.String getTimeZone()

getLocale

protected java.lang.String getLocale()

switchMode

public void switchMode(int flag)

getUIFormSelectBoxGroup

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

getCalendarId

protected java.lang.String getCalendarId()

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.