Class PageDestinationSearchAction

  • All Implemented Interfaces:
    Beanable, WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

    public class PageDestinationSearchAction
    extends ConfluenceActionSupport
    implements Beanable
    An action that will perform a search in Confluence returning results suitable as targets for moving a page to a new parent. This differs from the SearchSiteAction in that the results are restricted only to pages and spaces (spaces are the target for a move to the root of a space).
    See Also:
    Serialized Form
    • Constructor Detail

      • PageDestinationSearchAction

        public PageDestinationSearchAction()
    • Method Detail

      • validate

        public void validate()
        Ensure a valid query has been supplied.
        Specified by:
        validate in interface MessageHolderAware
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • getQuery

        public String getQuery()
      • setQuery

        public void setQuery​(String queryString)
      • getWhere

        public String getWhere()
      • setWhere

        public void setWhere​(String where)
      • setStartIndex

        public void setStartIndex​(int startIndex)
      • setPredefinedSearchBuilder

        public void setPredefinedSearchBuilder​(PredefinedSearchBuilder predefinedSearchBuilder)
      • setSearchManager

        public void setSearchManager​(SearchManager searchManager)