|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.FormSection
com.arsdigita.cms.ui.ItemSearchSection
Contains a form for specifying search parameters, as well as a
ResultsPane
which will perform
the search and display the results
Field Summary | |
static String |
SINGLE_TYPE_PARAM
|
static String |
versionId
|
Fields inherited from class com.arsdigita.bebop.FormSection |
m_formModel, m_panel |
Fields inherited from class com.arsdigita.bebop.SimpleComponent |
m_attr |
Fields inherited from interface com.arsdigita.bebop.Component |
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE |
Constructor Summary | |
ItemSearchSection(String context)
Construct a new ItemSearchSection component |
|
ItemSearchSection(String name,
String context)
Construct a new ItemSearchSection component |
Method Summary | |
protected void |
addFormListener()
|
protected void |
addQueryGenerator(com.arsdigita.bebop.Container container)
|
protected void |
addResultsPane(com.arsdigita.bebop.Container container)
|
protected ItemQueryComponent |
createQueryGenerator(String context)
|
protected com.arsdigita.bebop.Component |
createResultsPane(com.arsdigita.search.ui.QueryGenerator generator)
|
com.arsdigita.search.QuerySpecification |
getQuerySpecification(com.arsdigita.bebop.PageState state)
|
boolean |
hasQuery(com.arsdigita.bebop.PageState state)
|
protected void |
processQuery(com.arsdigita.bebop.PageState state)
|
void |
register(com.arsdigita.bebop.Page p)
|
void |
reset(com.arsdigita.bebop.PageState state)
|
Methods inherited from class com.arsdigita.bebop.FormSection |
add, add, addCancelListener, addInitListener, addProcessListener, addSubmissionListener, addValidationListener, children, contains, createInitListener, createProcessListener, createSubmissionListener, createValidationListener, fireCancel, fireInit, fireProcess, fireSubmitted, fireValidate, forwardInit, forwardProcess, forwardSubmission, forwardValidation, generateXML, get, getModel, getPanel, indexOf, isEmpty, lock, process, register, removeCancelListener, removeInitListener, removeProcessListener, removeSubmissionListener, removeValidationListener, respond, size |
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
Methods inherited from class com.arsdigita.bebop.Completable |
addCompletionListener, fireCompletionEvent |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.arsdigita.bebop.Component |
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible |
Methods inherited from interface com.arsdigita.util.Lockable |
isLocked |
Field Detail |
public static final String versionId
public static final String SINGLE_TYPE_PARAM
Constructor Detail |
public ItemSearchSection(String context)
ItemSearchSection
component
context
- the context for the retrieved items. Should be
ContentItem.DRAFT
or ContentItem.LIVE
public ItemSearchSection(String name, String context)
ItemSearchSection
component
context
- the context for the retrieved items. Should be
ContentItem.DRAFT
or ContentItem.LIVE
name
- The name of the search parameter for the particular FormSectionMethod Detail |
public boolean hasQuery(com.arsdigita.bebop.PageState state)
hasQuery
in interface com.arsdigita.search.ui.QueryGenerator
public com.arsdigita.search.QuerySpecification getQuerySpecification(com.arsdigita.bebop.PageState state)
getQuerySpecification
in interface com.arsdigita.search.ui.QueryGenerator
public void reset(com.arsdigita.bebop.PageState state)
reset
in interface com.arsdigita.bebop.Resettable
protected ItemQueryComponent createQueryGenerator(String context)
protected com.arsdigita.bebop.Component createResultsPane(com.arsdigita.search.ui.QueryGenerator generator)
protected void addResultsPane(com.arsdigita.bebop.Container container)
protected void addQueryGenerator(com.arsdigita.bebop.Container container)
protected void processQuery(com.arsdigita.bebop.PageState state)
protected void addFormListener()
public void register(com.arsdigita.bebop.Page p)
register
in interface com.arsdigita.bebop.Component
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |