|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.search.actions.SearchSiteAction
public class SearchSiteAction
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
SearchSiteAction()
|
Method Summary | |
---|---|
java.lang.String |
execute()
|
java.util.List |
getAggregateOptions()
|
java.util.List |
getAvailableGlobalSpaces()
Find all global spaces that user has permission to view, but that aren't favourites |
java.util.List |
getAvailableSpaces()
Find all spaces that user has permission to view, but that aren't favourites |
java.util.List |
getContentEntityTypes()
|
java.util.List |
getContentLabels(ContentEntityObject content,
int amount)
|
int |
getExcludedGlobalResult()
|
int |
getExcludedMailCount()
|
java.util.List |
getFavouriteSpaces()
|
java.lang.String |
getLabelNames(Labelable obj)
Retrieve a comma separated string of label names. |
java.util.List |
getMatchingLabels()
Returns the labels matching the current search query. |
org.apache.lucene.search.Query |
getQuery()
|
java.util.List |
getRelatedLabels()
Deprecated. Use #getRelatedLabels(List) if possible to avoid multiple calls to getMatchingLabels |
java.util.List |
getRelatedLabels(java.util.List srcLabels)
Returns a list of related labels to the passed list of labels. |
java.lang.String |
getReset()
|
java.util.List |
getResults()
returns paginated results |
java.util.List |
getResultsForSpace(java.lang.String spaceKey)
|
java.util.List |
getResultsForType(java.lang.String type)
|
SearchBean |
getSearchBean()
|
com.atlassian.bonnie.Searcher |
getSearcher()
|
SearchQueryBean |
getSearchQuery()
|
Space |
getSpace(java.lang.String spaceKey)
|
Timer |
getTimer()
|
java.lang.String |
getTypeName(java.lang.String type)
|
boolean |
isExplain()
|
boolean |
isQuickSearch()
|
boolean |
isSpaceSearch()
|
protected void |
resetSearchQueryBean()
|
void |
setExplain(boolean explain)
|
void |
setQuickSearch(boolean quickSearch)
|
void |
setReset(java.lang.String reset)
|
void |
setSearchBean(SearchBean searchBean)
|
void |
setSearcher(com.atlassian.bonnie.Searcher searcher)
|
void |
setSpaceManager(SpaceManager spaceManager)
|
void |
setStartIndex(int startIndex)
|
void |
validate()
|
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchSiteAction()
Method Detail |
---|
public void setSearcher(com.atlassian.bonnie.Searcher searcher)
public void validate()
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public java.lang.String execute() throws java.lang.Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
java.lang.Exception
public java.util.List getResults()
public int getExcludedMailCount()
public int getExcludedGlobalResult()
public java.util.List getResultsForSpace(java.lang.String spaceKey)
public java.util.List getResultsForType(java.lang.String type)
public SearchQueryBean getSearchQuery()
protected void resetSearchQueryBean()
public java.util.List getAvailableSpaces()
public java.util.List getAvailableGlobalSpaces()
public java.util.List getAggregateOptions()
public java.util.List getFavouriteSpaces()
public void setSpaceManager(SpaceManager spaceManager)
public java.util.List getContentEntityTypes()
public java.util.List getMatchingLabels()
public java.util.List getRelatedLabels()
public java.util.List getRelatedLabels(java.util.List srcLabels)
srcLabels
- list of labels to find related labels for
public java.lang.String getLabelNames(Labelable obj)
public java.util.List getContentLabels(ContentEntityObject content, int amount)
public java.lang.String getReset()
public void setReset(java.lang.String reset)
public Space getSpace(java.lang.String spaceKey)
public SearchBean getSearchBean()
public void setSearchBean(SearchBean searchBean)
public java.lang.String getTypeName(java.lang.String type)
public void setStartIndex(int startIndex)
public boolean isQuickSearch()
public void setQuickSearch(boolean quickSearch)
public boolean isSpaceSearch()
public org.apache.lucene.search.Query getQuery()
public com.atlassian.bonnie.Searcher getSearcher()
public boolean isExplain()
public void setExplain(boolean explain)
public Timer getTimer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |