org.exoplatform.cs.event
Class UICreateEvent

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.cs.event.UICreateEvent

public class UICreateEvent
extends org.exoplatform.webui.form.UIForm

Created with IntelliJ IDEA. User: Racha Date: 01/11/12 Time: 11:08 To change this template use File | Settings | File Templates.


Nested Class Summary
static class UICreateEvent.CancelActionListener
           
static class UICreateEvent.NextActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String ANY
           
static String ANY_OF
           
static String CLOSE_PARENTHESIS
           
static String COLON
           
static String COMMA
           
static String DOT
           
static String OPEN_PARENTHESIS
           
static String PRIVATE_CALENDARS
           
static String PRIVATE_TYPE
           
static String PUBLIC_CALENDARS
           
static String PUBLIC_TYPE
           
static String SHARED_CALENDARS
           
static String SHARED_TYPE
           
static String SLASH_COLON
           
 
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
UICreateEvent()
           
 
Method Summary
static boolean canEdit(org.exoplatform.services.organization.OrganizationService oService, String[] savePerms, String username)
           
static String enCodeTitle(String s)
           
 String[] getActions()
           
static List<org.exoplatform.webui.core.model.SelectItem> getCalendarOption()
           
static org.exoplatform.calendar.service.CalendarService getCalendarService()
           
static String getCheckPermissionString()
           
static String getCurrentUser()
           
static String getGroupCalendarName(String groupName, String calendarName)
           
static String getResourceBundle(String key, String defaultValue)
           
 org.exoplatform.webui.form.UIFormSelectBoxWithGroups getUIFormSelectBoxGroup(String id)
           
static String[] getUserGroups(String username)
           
static boolean hasEditPermission(String[] savePerms, String[] checkPerms)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getLabel, 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

PRIVATE_CALENDARS

public static final String PRIVATE_CALENDARS
See Also:
Constant Field Values

SHARED_CALENDARS

public static final String SHARED_CALENDARS
See Also:
Constant Field Values

PUBLIC_CALENDARS

public static final String PUBLIC_CALENDARS
See Also:
Constant Field Values

PRIVATE_TYPE

public static final String PRIVATE_TYPE
See Also:
Constant Field Values

SHARED_TYPE

public static final String SHARED_TYPE
See Also:
Constant Field Values

PUBLIC_TYPE

public static final String PUBLIC_TYPE
See Also:
Constant Field Values

COLON

public static final String COLON
See Also:
Constant Field Values

COMMA

public static final String COMMA
See Also:
Constant Field Values

ANY

public static final String ANY
See Also:
Constant Field Values

ANY_OF

public static final String ANY_OF
See Also:
Constant Field Values

DOT

public static final String DOT
See Also:
Constant Field Values

SLASH_COLON

public static final String SLASH_COLON
See Also:
Constant Field Values

OPEN_PARENTHESIS

public static final String OPEN_PARENTHESIS
See Also:
Constant Field Values

CLOSE_PARENTHESIS

public static final String CLOSE_PARENTHESIS
See Also:
Constant Field Values
Constructor Detail

UICreateEvent

public UICreateEvent()
              throws Exception
Throws:
Exception
Method Detail

getActions

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

getCalendarOption

public static List<org.exoplatform.webui.core.model.SelectItem> getCalendarOption()
                                                                           throws Exception
Throws:
Exception

getCalendarService

public static org.exoplatform.calendar.service.CalendarService getCalendarService()
                                                                           throws Exception
Throws:
Exception

getCheckPermissionString

public static String getCheckPermissionString()
                                       throws Exception
Throws:
Exception

hasEditPermission

public static boolean hasEditPermission(String[] savePerms,
                                        String[] checkPerms)

getResourceBundle

public static String getResourceBundle(String key,
                                       String defaultValue)

getCurrentUser

public static String getCurrentUser()
                             throws Exception
Throws:
Exception

canEdit

public static boolean canEdit(org.exoplatform.services.organization.OrganizationService oService,
                              String[] savePerms,
                              String username)
                       throws Exception
Throws:
Exception

getUserGroups

public static final String[] getUserGroups(String username)
                                    throws Exception
Throws:
Exception

getGroupCalendarName

public static String getGroupCalendarName(String groupName,
                                          String calendarName)

enCodeTitle

public static String enCodeTitle(String s)

getUIFormSelectBoxGroup

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


Copyright © 2013 eXo Platform SAS. All Rights Reserved.