org.exoplatform.ecm.webui.component.browsecontent
Class UICBSearchForm

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.ecm.webui.component.browsecontent.UICBSearchForm

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

Created by The eXo Platform SARL Author : Pham Tuan phamtuanchip@yahoo.de Dec 22, 2006 2:48:18 PM


Nested Class Summary
static class UICBSearchForm.ChangeTypeActionListener
           
static class UICBSearchForm.SearchActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String CATEGORY_QUERY
           
static java.lang.String CATEGORY_SEARCH
           
static java.lang.String DOCUMENT_QUERY
           
static java.lang.String DOCUMENT_ROOT_QUERY
           
static java.lang.String DOCUMENT_SEARCH
           
protected  long duration_
           
static java.lang.String FIELD_CB_CHILD
           
static java.lang.String FIELD_CB_REF
           
static java.lang.String FIELD_OPTION
           
static java.lang.String FIELD_SEARCHVALUE
           
 boolean isDocumentType
           
 
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
UICBSearchForm()
           
 
Method Summary
 javax.jcr.Node getNode()
           
 java.util.List<org.exoplatform.webui.core.model.SelectItemOption<java.lang.String>> getOptions()
           
 void reset()
           
 java.util.List<UICBSearchResults.ResultData> searchByCategory(java.lang.String keyword, javax.jcr.Node currentNode)
           
 java.util.List<UICBSearchResults.ResultData> searchDocument(java.lang.String keyword, boolean reference, boolean relation, javax.jcr.Node currentNode)
           
 long searchTime()
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, 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

FIELD_SEARCHVALUE

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

FIELD_OPTION

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

FIELD_CB_REF

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

FIELD_CB_CHILD

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

CATEGORY_SEARCH

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

DOCUMENT_SEARCH

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

CATEGORY_QUERY

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

DOCUMENT_QUERY

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

DOCUMENT_ROOT_QUERY

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

isDocumentType

public boolean isDocumentType

duration_

protected long duration_
Constructor Detail

UICBSearchForm

public UICBSearchForm()
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getOptions

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

getNode

public javax.jcr.Node getNode()
                       throws java.lang.Exception
Throws:
java.lang.Exception

searchTime

public long searchTime()

searchByCategory

public java.util.List<UICBSearchResults.ResultData> searchByCategory(java.lang.String keyword,
                                                                     javax.jcr.Node currentNode)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

searchDocument

public java.util.List<UICBSearchResults.ResultData> searchDocument(java.lang.String keyword,
                                                                   boolean reference,
                                                                   boolean relation,
                                                                   javax.jcr.Node currentNode)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

reset

public void reset()
Overrides:
reset in class org.exoplatform.webui.form.UIForm


Copyright © 2011 eXo Platform SAS. All Rights Reserved.