org.exoplatform.wiki.webui
Class UIWikiAdvanceSearchForm

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.wiki.webui.UIWikiAdvanceSearchForm

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


Nested Class Summary
static class UIWikiAdvanceSearchForm.SearchActionListener
           
static class UIWikiAdvanceSearchForm.SwitchSpaceActionListener
          Switches to another space, searches for wiki pages in that space
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String SWITCH_SPACE_ACTION
           
static String UI_WIKI_ADVANCE_SEARCH_FORM
           
 
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
UIWikiAdvanceSearchForm()
           
 
Method Summary
 org.exoplatform.webui.core.model.SelectOptionGroup getAllWikiOptions()
           
 org.exoplatform.webui.core.model.SelectOptionGroup getGroupWikiOptions()
           
 int getItemPerPage()
          Get number of items per page
 String getKeyword()
           
 long getNumberOfSearchResult()
           
 int getPageAvailable()
           
 org.exoplatform.webui.core.model.SelectOptionGroup getPortalWikiOptions()
           
 org.exoplatform.webui.core.model.SelectOptionGroup getUserWikiOptions()
           
 void gotoSearchPage(int pageIndex)
           
 void processSearchAction()
           
 void resetWikiSpaces()
           
 void setItemsPerPage(int value)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, 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

UI_WIKI_ADVANCE_SEARCH_FORM

public static final String UI_WIKI_ADVANCE_SEARCH_FORM
See Also:
Constant Field Values

SWITCH_SPACE_ACTION

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

UIWikiAdvanceSearchForm

public UIWikiAdvanceSearchForm()
                        throws Exception
Throws:
Exception
Method Detail

resetWikiSpaces

public void resetWikiSpaces()
                     throws Exception
Throws:
Exception

getAllWikiOptions

public org.exoplatform.webui.core.model.SelectOptionGroup getAllWikiOptions()
                                                                     throws Exception
Throws:
Exception

getPortalWikiOptions

public org.exoplatform.webui.core.model.SelectOptionGroup getPortalWikiOptions()
                                                                        throws Exception
Throws:
Exception

getGroupWikiOptions

public org.exoplatform.webui.core.model.SelectOptionGroup getGroupWikiOptions()
                                                                       throws Exception
Throws:
Exception

getUserWikiOptions

public org.exoplatform.webui.core.model.SelectOptionGroup getUserWikiOptions()
                                                                      throws Exception
Throws:
Exception

processSearchAction

public void processSearchAction()
                         throws Exception
Throws:
Exception

getNumberOfSearchResult

public long getNumberOfSearchResult()

setItemsPerPage

public void setItemsPerPage(int value)

getItemPerPage

public int getItemPerPage()
Get number of items per page

Returns:
the itemPerPage

gotoSearchPage

public void gotoSearchPage(int pageIndex)
                    throws Exception
Throws:
Exception

getKeyword

public String getKeyword()

getPageAvailable

public int getPageAvailable()


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.